From ae3429cd02b696ff07979f748b388d8761508ed1 Mon Sep 17 00:00:00 2001 From: Yonsm Date: Fri, 7 Apr 2023 04:16:58 +0800 Subject: [PATCH] Remove magic & disk station --- automations/sleeping.yaml | 4 ++-- configuration.yaml | 6 +++--- switches.yaml | 12 ++++++------ 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/automations/sleeping.yaml b/automations/sleeping.yaml index 4750974..c6e6da5 100755 --- a/automations/sleeping.yaml +++ b/automations/sleeping.yaml @@ -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 @@ -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 diff --git a/configuration.yaml b/configuration.yaml index 2799218..75aafcd 100755 --- a/configuration.yaml +++ b/configuration.yaml @@ -292,8 +292,8 @@ panel_iframe: url: /local/dash.html shell_command: - station_off: 'ssh root@192.168.1.4 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 root@192.168.1.4 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' diff --git a/switches.yaml b/switches.yaml index 2d70377..86a05ff 100755 --- a/switches.yaml +++ b/switches.yaml @@ -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