Add device class of garage to example YAML (#13326)

This commit is contained in:
Mario Limonciello 2020-05-07 01:19:27 -05:00 committed by GitHub
parent c317905c12
commit b327e95669
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,7 @@ cover:
- platform: template
covers:
garage_door:
device_class: garage
friendly_name: "Garage Door"
value_template: "{{ states('sensor.garage_door')|float > 0 }}"
open_cover:
@ -149,6 +150,7 @@ cover:
- platform: template
covers:
garage_door:
device_class: garage
friendly_name: "Garage Door"
position_template: "{{ states('sensor.garage_door') }}"
open_cover: