Skip to content

Commit

Permalink
change dns
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonsm committed Feb 17, 2024
1 parent 1840d7e commit 5dbf73b
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 15 deletions.
8 changes: 4 additions & 4 deletions automations/sleeping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
- platform: time
at: '23:00:00'
action:
- service: media_player.turn_off
entity_id: media_player.tian_mao_jing_ling
# - service: media_player.turn_off
# entity_id: media_player.tian_mao_jing_ling
- service: climate.set_fan_mode
data:
entity_id: climate.zhu_wo_kong_diao
Expand All @@ -74,8 +74,8 @@
- platform: time
at: '06:00:00'
action:
- service: media_player.turn_on
entity_id: media_player.tian_mao_jing_ling
# - service: media_player.turn_on
# entity_id: media_player.tian_mao_jing_ling
- service: fan.oscillate
data:
entity_id: fan.ke_ting_xin_feng_ji
Expand Down
12 changes: 7 additions & 5 deletions configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,11 @@ climate:
- platform: zhisaswell
name: 客厅地暖
host: 192.168.1.56
device: 10382435CC059E60
- platform: zhisaswell
name: 主卧地暖
host: 192.168.1.57
device: 10382435CC059F72
- platform: zhimodbus
name: [餐厅空调, 客厅空调, 主卧空调, 儿童房空调]
fan_mode: { registers: [6, 10, 14, 18] }
Expand Down Expand Up @@ -297,9 +299,9 @@ panel_iframe:
icon: mdi:microsoft
url: /local/dash.html

# shell_command:
shell_command:
#server_off: 'ssh [email protected] shutdown -h now'
# magic_on: "adb connect 192.168.1.15 && adb -s 192.168.1.15 shell 'input keyevent 82; am start -n com.thanksmister.iot.wallpanel/.ui.activities.WelcomeActivity'"
# magic_off: "adb connect 192.168.1.15 && adb -s 192.168.1.15 shell 'input keyevent 82; input keyevent 26'"
# x9300d_off: 'adb connect 192.168.1.9 && adb -s 192.168.1.9 shell reboot -p'
# x9400d_off: 'adb connect 192.168.1.8 && adb -s 192.168.1.8 shell reboot -p'
magic_on: "adb connect 192.168.1.15 && adb -s 192.168.1.15 shell 'input keyevent 82; am start -n com.thanksmister.iot.wallpanel/.ui.activities.WelcomeActivity'"
magic_off: "adb connect 192.168.1.15 && adb -s 192.168.1.15 shell 'input keyevent 82; input keyevent 26'"
x9300d_off: 'adb connect 192.168.1.9 && adb -s 192.168.1.9 shell reboot -p'
x9400d_off: 'adb connect 192.168.1.8 && adb -s 192.168.1.8 shell reboot -p'
11 changes: 9 additions & 2 deletions customize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ sensor.ci_wo_kong_qi_zhi_liang:
sensor.ci_wo_wen_du:
dash_click: /zhilace-zone/ci_wo
dash_extra_forced: 次卧
sensor.er_tong_fang_er_yang_hua_tan:
dash_extra_forced: 数字电视
dash_click: /local/iptv.html
sensor.er_tong_fang_kong_qi_zhi_liang:
dash_click: https://www.lewei50.com/u/g/33981
dash_relation: fan.er_tong_fang_jing_hua_qi
Expand All @@ -92,6 +95,9 @@ sensor.ke_ting_kong_qi_zhi_liang:
sensor.ke_ting_wen_du:
dash_click: /zhilace-zone/ke_ting
dash_extra_forced: 客厅
sensor.shu_fang_er_yang_hua_tan:
dash_extra_forced: 聚合网盘
dash_click: !secret wangpan_url
sensor.shu_fang_wen_du:
dash_click: /zhilace-zone/shu_fang
dash_extra_forced: 书房
Expand All @@ -106,8 +112,9 @@ sensor.yang_tai_wen_du:
dash_click: http://m.nmc.cn/publish/forecast/AZJ/hangzhou.html
dash_extra_forced: 中央气象台
dash_order: '1'
sensor.zhu_wo_kong_er_yang_hua_tan:
dash_click: /local/iptv.html
sensor.zhu_wo_er_yang_hua_tan:
dash_extra_forced: 小主机
dash_click: !secret server_url
sensor.zhu_wo_kong_qi_zhi_liang:
dash_click: /local/aha.html
dash_extra_forced: 啊哈网校
Expand Down
2 changes: 1 addition & 1 deletion modules/ZhiBot
2 changes: 1 addition & 1 deletion modules/ZhiMi
2 changes: 1 addition & 1 deletion modules/ZhiMiJia
2 changes: 1 addition & 1 deletion modules/ZhiSaswell

0 comments on commit 5dbf73b

Please sign in to comment.