New player 2

This commit is contained in:
2022-05-07 10:09:43 +03:00
parent a031af58f5
commit 863d50de3d
6 changed files with 25 additions and 9 deletions
@@ -17,10 +17,6 @@ automation:
entity_id: device_tracker.iphone_de_yovcheva
from: "not_home"
to: "home"
- platform: state
entity_id: input_boolean.player_2_home
from: "off"
to: "on"
action:
- service: automation.turn_off
entity_id:
@@ -44,10 +40,6 @@ automation:
entity_id: device_tracker.iphone_de_yovcheva
from: "home"
to: "not_home"
- platform: state
entity_id: input_boolean.player_2_home
from: "on"
to: "off"
action:
- service: automation.turn_on
entity_id:
+1 -1
View File
@@ -13,7 +13,7 @@ person:
- name: Player 2
id: !secret player_2_user_id
device_trackers:
- device_tracker.iphone_de_yovcheva
- device_tracker.maya_phone_1
# https://www.home-assistant.io/integrations/device_tracker
device_tracker: