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
Hi,
how can I get all attributes, entities etc. of a zha device once I caught a zha_event. To illustrate, I use the following event_trigger in pyscript:
But I would like to also get e.g. the name of the device that triggered the event, all the attributes, and also the entities of e.g. the sensors that belong to that device.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
how can I get all attributes, entities etc. of a zha device once I caught a zha_event. To illustrate, I use the following event_trigger in pyscript:
The kwargs I get back are for example:
But I would like to also get e.g. the name of the device that triggered the event, all the attributes, and also the entities of e.g. the sensors that belong to that device.
Any suggestions? Thanks!!
Beta Was this translation helpful? Give feedback.
All reactions