Good evening,
I’ve been running HA version 0.90.1 since it came out, and I’m trying to setup a very basic automation to turn my outside lights off/on based on sunrise/sunset, but even when the automation triggers, my z-wave switches are not turning off/on. My ZigBee devices in the same group specified in group.yaml work fine, but it can’t turn off z-wave switches only via an automation.
I checked my logs, and I’m getting this error during the automation:
2019-03-29 21:36:00 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/src/app/homeassistant/core.py”, line 1115, in async_call
raise ServiceNotFound(domain, service) from None
homeassistant.exceptions.ServiceNotFound: (ServiceNotFound(…), ‘Service zwave.turn_off not found’)
I can toggle the z-wave switches off/on via the default Lovelace UI view, and I can even call the switch.turn_off/turn_on commands in the developer mode, in addition to homeassistant.turn_off. When I add either switch.turn_on/off or homeassitant.turn_off/on, I get that pesky python error. So, it’s not a communication with my z-wave network, and it’s not a logical issue with my automation, but it has to be something with Python maybe? I haven’t modified my Docker install of HA at all.
To simplify matters, I created a very basic automation to simply just turn off a switch at a specified time, this is what it looks like:
- alias: "Lights Out"
trigger:
- platform: time
at: '21:36:00'
action:
- service: homeassistant.turn_off
data:
entity_id:
- zwave.inovelli_nzw30_smart_switch_6
If anyone has any ideas I’d appreciate it as this one is definitely driving me up a wall. I finally have my Z-Wave network solid by adding more Z-Wave devices including 3 repeaters, but now I want to get the automation to work and no matter what I do I’m getting that strange Python error. Thanks!