We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8a8e3b commit b140cdaCopy full SHA for b140cda
app/apis/home_assistant_api.rb
@@ -24,7 +24,7 @@ def now_playing
24
entity = data.find { _1[:entity_id] == @config["home_assistant"]["media_player_entity_id"] }
25
26
return {} unless entity.present?
27
- return {} if entity[:state] == "paused"
+ return {} if entity[:state] == "paused" || entity[:state] == "idle"
28
29
if entity.dig(:attributes, :media_artist)&.include?("CPR News")
30
{
0 commit comments