updating configuration
This commit is contained in:
@@ -3,5 +3,5 @@ mqtt:
|
||||
- name: door_lock_mqtt_action
|
||||
unique_id: door_lock_mqtt_action
|
||||
state_topic: "z2m-tcp/lock_door"
|
||||
value_template: "{{ value_json.action }}"
|
||||
value_template: "{{ value_json.get('action', '') }}"
|
||||
json_attributes_topic: "z2m-tcp/lock_door"
|
||||
|
||||
Reference in New Issue
Block a user