ludeeus / ad-watchdog

Watchdog App for AppDaemon.
MIT License
3 stars 0 forks source link

Getting the error: No state specified #2

Open sj3fk3 opened 4 years ago

sj3fk3 commented 4 years ago

Looks like it's trying to do a set_state somewhere without setting the state? Can't find out where this is.. also the documentation is not completely up-to-date.

WARNING HASS: Code: 400, error: {"message": "No state specified."} INFO watchdog: Configuring switches watchdog for switch.0460087550029147857f_7 WARNING HASS: Error setting Home Assistant state default.switch.0460087550029147857f_7, {'attributes': {'friendly_name': 'switch kast usb', 'watchdogs': ['switches']}}

MikeTheCleric commented 4 years ago

Hi, I've got the same problem. This is the log:


2020-04-16 17:52:34.739537 WARNING HASS: Code: 400, error: {"message": "No state specified."}
2020-04-16 17:52:34.735627 WARNING HASS: Error setting Home Assistant state default.binary_sensor.everyone_home, {'attributes': {'device_class': 'presence', 'friendly_name': 'Everyone Home', 'watchdogs': ['office']}}
2020-04-16 17:52:34.704765 INFO watchdog: Configuring office watchdog for binary_sensor.everyone_home
2020-04-16 17:52:34.699576 INFO watchdog: Configuring office watchdog
2020-04-16 17:52:34.694627 INFO watchdog: Starting watchdogs.
kloodhu commented 3 years ago

same here. maybe teh dev should modify the script for the new appdeamon version...

ludeeus commented 3 years ago

modifying it breaks compatibility with AD3

mycanaletto commented 2 years ago

Or tell us what modification to make?