Iāve added it just now to the HA configuration and setup an API key in Emby but I cannot see anything related to the Emby server media player when I set up the condition.
Can you show me specifically like a screenshot or something? I have all sorts of different media player entities but the only ones relating to Emby are ācastā entities and thatās not what I want.
There is no media player entity specific to my Emby server.
Have you restarted after installing the emby integration ? You should have a media player entity with emby in the name. Search for emby in Dev tools/states. If not, check your logs to see if it set up ok
I have an entity in the Dev tools/states called ā[media_player.emby_sony_cast_tv]ā which has the correct states and this works in the automation.
I think I was a bit confused with what the entity name should have been. This makes more sense because I donāt want to the lights going off if Emby is started on another device.
Glad itās sorted. I started with webhooks too but found the integration and use that only now. Youāre right that an emby media player will be generated on each device you open emby on so you can set up automations for each device if necessary.
The state of the media player entity is not stable.
If you change profile on Emby, or turn off, and turn back on later, HomeAssistant keeps the āIdleā state and no longer detects the switch to Play, Stop, etcā¦
The only way to get the correct state is to restart the HA Core.
Unfortunately, there is no documentation on the structure of webhook data received on HA.
I have a similar problem I would like to check the device name in a condition and if it is present that the automation is executed further unfortunately the condition does not work.
Indeed, searching for a string within a string works, but itās not elegant.
Donāt tell me there isnāt a way to use the received structure efficiently, despite this ā{ādataā: bytearray(bā{ā¦ā which encapsulates the JSON structure.
Searching for a solution does not return anything.
To believe that those who know or who find the solution do not want to share it.
this is for me an really anoying bug.
even if i turn of the 'automatically close connection" in the profile menu it keeps disconecting and have to restart ha.
Still havenāt found a solution for this, did you found anything to fix this?