I am having a heck of a time getting my kwikset 910 smart lock (zwave) to show the correct lock/unlock status. The wink app says the door is locked and it physically is, but HA says it isn’t. My template config is listed below. What am I missing. Also the entity id is lock.front_door it doesn’t say binary or sensor like most do. does this look correct? Is there a way to configure this through UI Customizations.
- platform: template
sensors:
lock_invert:
value_template: >-
{{ is_state('lock.front_door', 'unlocked') }}
friendly_name: front door
device_class: lock
Can you take a screenshot of lock.front_door in the states page?
Can you take a screenshot of binary_sensor.lock_invert in the states page?
Can you post the entirety of your configuration.yaml? If not can you at least post what you have for the following config?
binary_sensor:
- platform: template
sensors:
lock_invert:
value_template: >-
{{ is_state('lock.front_door', 'unlocked') }}
friendly_name: front door
device_class: lock