Skip to content

Commit

Permalink
refine auto
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonsm committed Aug 5, 2023
1 parent a6456a2 commit 9dac07a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions automations/sleeping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
- service: climate.set_temperature
data:
entity_id: climate.er_tong_fang_kong_diao
temperature: 24
temperature: 23
hvac_mode: cool
- service: climate.set_fan_mode
data:
Expand Down Expand Up @@ -48,7 +48,7 @@
- alias: 睡眠深入
trigger:
- platform: time
at: '00:00:01'
at: '23:00:00'
action:
- service: shell_command.magic_off
- service: climate.set_fan_mode
Expand All @@ -66,7 +66,7 @@
- service: climate.set_temperature
data:
entity_id: climate.er_tong_fang_kong_diao
temperature: 27
temperature: 26

- alias: 睡眠早起
trigger:
Expand Down
8 changes: 4 additions & 4 deletions configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ panel_iframe:

shell_command:
#station_off: 'ssh [email protected] shutdown -h now'
magic_on: "adb connect magic && adb -s magic shell 'input keyevent 82; am start -n com.thanksmister.iot.wallpanel/.ui.activities.WelcomeActivity'"
magic_off: "adb connect magic && adb -s magic shell 'input keyevent 82; input keyevent 26'"
x9300d_off: 'adb connect x9300d && adb -s x9300d shell reboot -p'
x9400d_off: 'adb connect x9400e && adb -s x9400e shell reboot -p'
magic_on: "adb connect GuoDaoJingLing && adb -s GuoDaoJingLing shell 'input keyevent 82; am start -n com.thanksmister.iot.wallpanel/.ui.activities.WelcomeActivity'"
magic_off: "adb connect GuoDaoJingLing && adb -s GuoDaoJingLing shell 'input keyevent 82; input keyevent 26'"
x9300d_off: 'adb connect ZhuWoDianShi && adb -s ZhuWoDianShi shell reboot -p'
x9400d_off: 'adb connect KeTingDianShi && adb -s KeTingDianShi shell reboot -p'
2 changes: 1 addition & 1 deletion customize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ fan.zhu_wo_xin_feng_ji:
light.er_tong_fang_tai_deng:
icon: mdi:lamp
light.gateway_light_34ce0090901a:
friendly_name: 客厅壁灯
friendly_name: 过道壁灯
icon: mdi:car-light-high
sensor.can_ting_kong_qi_zhi_liang:
dash_click: /zhilace-type
Expand Down

0 comments on commit 9dac07a

Please sign in to comment.