Skip to content

Commit

Permalink
Remove magic & disk station
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonsm committed Apr 6, 2023
1 parent a5ba403 commit ae3429c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions automations/sleeping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
- platform: time
at: '00:00:01'
action:
- service: shell_command.magic_off
#- service: shell_command.magic_off
# - service: climate.set_fan_mode
# data:
# entity_id: climate.zhu_wo_kong_diao
Expand All @@ -73,7 +73,7 @@
- platform: time
at: '06:00:00'
action:
- service: shell_command.magic_on
#- service: shell_command.magic_on
- service: fan.oscillate
data:
entity_id: fan.ke_ting_xin_feng_ji
Expand Down
6 changes: 3 additions & 3 deletions configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ panel_iframe:
url: /local/dash.html

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'"
#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'
12 changes: 6 additions & 6 deletions switches.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
- platform: wake_on_lan
name: 网络存储
mac: 00:11:32:6B:75:F7
host: 192.168.1.4
turn_off:
service: shell_command.station_off
# - platform: wake_on_lan
# name: 网络存储
# mac: 00:11:32:6B:75:F7
# host: 192.168.1.4
# turn_off:
# service: shell_command.station_off
- platform: zhimqtt
name: 书房音箱
state_topic: NodeMCU2/relay/0
Expand Down

0 comments on commit ae3429c

Please sign in to comment.