fooxy / homeassistant-aqara

Home-Assistant custom component
111 stars 18 forks source link

Trigger problem with friendly_name #9

Open ispirto opened 7 years ago

ispirto commented 7 years ago

Hello,

Even though the trigger is successful for the non-friendly_named sensor as shown below in the log screenshot, the system is not able to associate it with the binary_sensor block definition.

I'm actually able to see that the auto named sensor (magnet 158d000110c38d) changing its icon on the UI but the Frontdoor icon is staying the same.

What is wrong here? :)

http://i.imgur.com/vmkRvIc.png

`binary_sensor:

automation:

monster1025 commented 7 years ago

Friendly name it is only viewed in UI name. It is not affect automation scenarios.

You must use full sensor name (binary_sensor.magnet_158d000110c38d).