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
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
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