Closed darrendavid closed 6 months ago
Hi,
something must have happened on your side, e.g. renaming the humidifier entity id after executing the automation, or executing the automation somehow without having an appliance switch entity defined. Please re-add the switch entity in the automation and execute it once. Then immediately watch the debug logs of the script. It should log, which information (switch entity, ....) it received. Please post the logs once you did this.
Another idea would be that the issue is with the implementation of the Kasa integration. You could check by testing with another switch entity, which is not from the Kasa integration.
I have my automation configured to turn on and off a dehumidifer using a Kasa smart plug. Here's the YAML for my automation:
When the script runs, I get this error in the log:
However, when I check the entity with developer tools, it shows the value as "off":
Unsure if these are related or not, but it's crashing the script as the
split
is not in a try/catch clause.