Hi. I just received my Aeotec ZW120 door sensor. It seems well included in my HA 0.90.0 install and I see the access_control value switching from 22 and 23 when my door opens and closes.
Fine. Now I want nice icon on my dashboard. So I have added the following binary sensor:
binary_sensor:
- platform: template
sensors:
kitchen_window:
value_template: "{{ is_state('sensor.window_sensor_kitchen_access_control', '22') }}"
friendly_name: 'Kitchen Window'
device_class: doorstrong text
But it does not refreshed when the door opens
In the following image:
the right part (sensor.window_sensor_kitchen_access_control
) is automatically refreshed but not binary_sensor.kitchen_window
.
Any idea?