Skip to content

Commit

Permalink
Merge pull request #4 from tech165/patch-1
Browse files Browse the repository at this point in the history
Update vacuum.yaml
  • Loading branch information
jeremywillans authored May 17, 2020
2 parents bc5b912 + 6ae97dc commit 585eb59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vacuum.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ sensor:
303 : 'Empty',
350 : 'Bag Missing',
351 : 'Clogged',
352 : 'Sealing Problem',
353 : 'Bag Full' } %}
{% set state = state_attr('sensor.rest980', 'dock')['state'] %}
{{ mapper[state] if state in mapper else state }}
Expand Down Expand Up @@ -507,4 +508,4 @@ camera:
shell_command:
vacuum_clear_log: cp /dev/null {{ states('input_text.vacuum_log') }}
vacuum_clear_image: curl -X GET -s -O /dev/null '{{ states("input_text.vacuum_map") }}?clear=true'
vacuum_generate_image: curl -X GET -s -O /dev/null '{{ states("input_text.vacuum_map") }}?last=true'
vacuum_generate_image: curl -X GET -s -O /dev/null '{{ states("input_text.vacuum_map") }}?last=true'

0 comments on commit 585eb59

Please sign in to comment.