Skip to content

Commit

Permalink
fix: Locks hass discovery #294
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Mar 25, 2020
1 parent f405067 commit 0ede845
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hass/configurations.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ module.exports = {
object_id: 'lock',
discovery_payload: {
command_topic: true,
state_locked: true,
state_unlocked: false,
state_locked: 'true',
state_unlocked: 'false',
value_template: '{% if value_json.value == false %} false {% elif value_json.value == true %} true {% else %} unknown {% endif %}'
}
},
Expand Down

0 comments on commit 0ede845

Please sign in to comment.