Use binary_sensor for presence

This commit is contained in:
2020-04-21 00:40:41 +03:00
parent 7f9b2e3eb3
commit b0136ecb85
+6 -1
View File
@@ -135,7 +135,12 @@ views:
cards:
- type: custom:button-card
template: small
entity: input_boolean.georgi_home
entity: binary_sensor.georgi_home
tap_action:
action: call-service
service: input_boolean.toggle
service_data:
entity_id: input_boolean.georgi_home
- type: custom:button-card
template: small
entity: device_tracker.mikrotik_carbon