Open sasukebinbin opened 1 year ago
In template or Automation gui unable to get the attribute Light.mode. {{state_attr('light.yeelight', 'mode')}} or {{state_attr('light.yeelight', 'Light.mode')}} Both shows none.
I need to use it as a condition. Thanks
{{ state_attr('light.yeelight', 'light.mode') }}
See attributes in developer-tool.
In template or Automation gui unable to get the attribute Light.mode. {{state_attr('light.yeelight', 'mode')}} or {{state_attr('light.yeelight', 'Light.mode')}} Both shows none.
I need to use it as a condition. Thanks