summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
Diffstat (limited to 'custom')
-rw-r--r--custom/group.yaml10
-rw-r--r--custom/input_number.yaml5
-rw-r--r--custom/scripts/sleep-and-wake.yaml8
-rw-r--r--custom/scripts/turn-on-office-lights.yaml11
4 files changed, 25 insertions, 9 deletions
diff --git a/custom/group.yaml b/custom/group.yaml
index 7815cce..cdd954b 100644
--- a/custom/group.yaml
+++ b/custom/group.yaml
@@ -1,10 +1,14 @@
master_phones:
name: "master_phones"
entities:
- - device_tracker.legion8
- - device_tracker.lm_g810
+ - device_tracker.samsa
+ - device_tracker.sm_s926b
+ - device_tracker.xiaomi12
+# - device_tracker.legion8
+# - device_tracker.lm_g810
master_laptops:
name: "master_laptops"
entities:
- - device_tracker.nyx
+ - device_tracker.tir
+# - device_tracker.nyx
diff --git a/custom/input_number.yaml b/custom/input_number.yaml
index 2d7ec1c..9054fe0 100644
--- a/custom/input_number.yaml
+++ b/custom/input_number.yaml
@@ -40,3 +40,8 @@
max: 10.0
step: 1.0
initial: 0.0
+ living_lighting:
+ min: 1.0
+ max: 5.0
+ step: 1.0
+ initial: 1.0
diff --git a/custom/scripts/sleep-and-wake.yaml b/custom/scripts/sleep-and-wake.yaml
index a430515..a5782c1 100644
--- a/custom/scripts/sleep-and-wake.yaml
+++ b/custom/scripts/sleep-and-wake.yaml
@@ -41,7 +41,7 @@ sleep_and_wake:
entity_id: scene.lg_aircon_power_off
- service: switch.turn_off
target:
- entity_id: switch.smart_power_strip_pro_socket_2
+ entity_id: switch.office_power_strip_socket_2
- service: switch.turn_off
target:
entity_id: switch.living_lights_right
@@ -66,7 +66,7 @@ sleep_and_wake:
entity_id: scene.lg_aircon_power_off
- service: switch.turn_off
target:
- entity_id: switch.smart_power_strip_pro_socket_2
+ entity_id: switch.office_power_strip_socket_2
- service: switch.turn_off
target:
entity_id: switch.living_lights_right
@@ -86,7 +86,7 @@ sleep_and_wake:
target:
entity_id:
- switch.plugs_office
- - switch.smart_power_strip_pro_socket_2
+ - switch.office_power_strip_socket_2
- service: wake_on_lan.send_magic_packet
data:
mac: "e8:6a:64:7b:5d:0a"
@@ -128,7 +128,7 @@ sleep_and_wake:
entity_id: media_player.smartpi
- service: switch.turn_off
target:
- entity_id: switch.smart_power_strip_pro_socket_2
+ entity_id: switch.office_power_strip_socket_2
- service: switch.turn_off
target:
entity_id: switch.lights_all
diff --git a/custom/scripts/turn-on-office-lights.yaml b/custom/scripts/turn-on-office-lights.yaml
index f9615a0..9520db0 100644
--- a/custom/scripts/turn-on-office-lights.yaml
+++ b/custom/scripts/turn-on-office-lights.yaml
@@ -23,8 +23,15 @@ turn_on_office_lights:
brightness_pct: 100
kelvin: "{{ temp }}"
target:
- entity_id: light.yeelight_color_0x7caaf86
+ entity_id:
+ - light.office_bulb_office_bulb
+ - light.office_led_office_led
- service: homeassistant.turn_off
data: {}
target:
- entity_id: switch.lights_living_lustre
+ entity_id:
+ - switch.lights_living_lustre
+ - light.office_chair_led_office_chair_led
+ - switch.living_tablelampsocket
+
+