hass-ttlock icon indicating copy to clipboard operation
hass-ttlock copied to clipboard

Passage Mode Sensor

Open Jinsin456 opened this issue 11 months ago • 1 comments

I'm not sure if I've just set this up incorrectly but I have this template setup to give me a passage Mode switch

  • platform: template switches: front_door_passage_mode: friendly_name: "Front Door Passage Mode" value_template: "{{ is_state('binary_sensor.front_door_passage_mode', 'on') }}" turn_on: service: ttlock.configure_passage_mode target: entity_id: lock.front_door data: enabled: true auto_unlock: true turn_off: service: ttlock.configure_passage_mode target: entity_id: lock.front_door data: enabled: false auto_unlock: false

But the passage Mode sensor doesn't seem to update until I reload the integration. I can create an automation that reloads when this switch is moved but just wondering if there's a better way

Thank you

Jinsin456 avatar Mar 11 '24 10:03 Jinsin456