Closed nelsonamen closed 3 years ago
Could you provide a not working example YAML script that doesn't work? Any errors logged? What should I do to reproduce your issue?
ok
Logger: homeassistant.components.automation Source: components/automation/init.py:636 Integration: Automação (documentation, issues) First occurred: 5 de março de 2021 22:08:25 (4 occurrences) Last logged: 0:59:02
Error evaluating condition in 'Plex Control': In 'condition': In 'not' (item 1 of 2): In 'state': In 'state' condition: attribute 'media_content_type' (of entity media_player.plex_plex_for_samsung_tv_2018) does not exist In 'not' (item 2 of 2): In 'not': In 'state': In 'state' condition: attribute 'media_content_type' (of entity media_player.plex_plex_for_samsung_tv_2018) does not exist
You figured it out @nelsonamen ?
Yes, in the first the code is incorrect trigger:
Must be to: home.....
In the 2 i do in different way
alias: Plex Control description: 'Controlar Luzes ' trigger:
And now works!! 😁😁
Logger: homeassistant.components.automation Source: components/automation/init.py:636 Integration: Automação (documentation, issues) First occurred: 5 de março de 2021 22:08:25 (4 occurrences) Last logged: 0:59:02
Error evaluating condition in 'Plex Control': In 'condition': In 'not' (item 1 of 2): In 'state': In 'state' condition: attribute 'media_content_type' (of entity media_player.plex_plex_for_samsung_tv_2018) does not exist In 'not' (item 2 of 2): In 'not': In 'state': In 'state' condition: attribute 'media_content_type' (of entity media_player.plex_plex_for_samsung_tv_2018) does not exist
But the in the plex the attribute: media_content_type only works if plex is playing
The problem
Automation with 2 not don't work
What is version of Home Assistant Core has the issue?
2021.3.1
What was the last working version of Home Assistant Core?
2021.3.1
What type of installation are you running?
Home Assistant OS
Integration causing the issue
No response
Link to integration documentation on our website
No response
Example YAML snippet
1
Anything in the logs that might be useful for us?
Automation with 2 not dont work i use With plex condition not tvshow and not video and dont work