Closed lluisd closed 1 month ago
Someone had this in the beta as well and discovered that it was a very very old way of doing calls. Can you maybe try adding it again and check the comparison?
@joostlek I tried adding a new script with same block and it still happens the same error. It was working fine before 2024.4.0, if this cannot be possible now then I don't get why the user interface shows the possiblity of adding it.
seems that from this:
alias: Apagar PC
sequence:
- type: is_power
condition: device
device_id: 9c2bda81bc7997c981f811c32cafdb22
entity_id: sensor.socket_pc_power_local
domain: sensor
below: 15
- type: turn_off
device_id: 9c2bda81bc7997c981f811c32cafdb22
entity_id: switch.socket_pc_switch_local
domain: switch
mode: single
icon: mdi:desktop-classic
to this works:
alias: Apagar PC
sequence:
- if:
- type: is_power
condition: device
device_id: 9c2bda81bc7997c981f811c32cafdb22
entity_id: 2ee287ec70dd0c6db187b539bee429b7
domain: sensor
below: 15
then:
- type: turn_off
device_id: 9c2bda81bc7997c981f811c32cafdb22
entity_id: switch.socket_pc_switch_local
domain: switch
mode: single
icon: mdi:desktop-classic
But this is something new, because this block says that it will stops the sequence if the condition is not true, which is not the case for this 2024.4.0.
Same error for me. I had to rollback and everything works fine… waiting for HomeAssistant 2024.4.1 to work that…
it s strange because I have 3 automations in the same way but I have received error only for one….
seeing the same issue in my instance. Thanks for letting me know I'm not crazy.
The problem
I have some scripts that uses that A/B block to check if the Socket device has an actual power less than 15w
type: is_power condition: device device_id: 9c2bda81bc7997c981f811c32cafdb22 entity_id: 2ee287ec70dd0c6db187b539bee429b7 domain: sensor below: 15
but I get this error: Message malformed: Integration 'sensor' does not support device automation actions
What version of Home Assistant Core has the issue?
core-2024.4.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Core
Integration causing the issue
No response
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response