You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is issue #165. Since python is parsing the code, it doesn't allow literals that start with digits. Starting in 1.3.0 the watch keyword was added, so you can use state.get inside a trigger expression, and watch to tell it what variables to monitor:
Hi,
By default zigbee2mqtt names the entities according to their address, but when using these names for example as state_trigger it is an invalid syntax:
leads to
when I rename the entiy for example to binary_sensor.living_room_occupancy it works as expected.
pyscript: 1.3.1
home assistant: 2021.2.3
Cheers,
Stefan
P.S.: thanks for your efforts!
The text was updated successfully, but these errors were encountered: