Skip to content

Commit

Permalink
Reeset temp.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonsm committed Aug 25, 2024
1 parent 5f24717 commit ce885c5
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 48 deletions.
70 changes: 35 additions & 35 deletions automations/disabled/sleeping.yaml → automations/sleeping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
- platform: time
at: '20:30:00'
action:
- service: cover.close_cover
entity_id: cover.shu_fang_chuang_lian
# - service: cover.close_cover
# entity_id: cover.shu_fang_chuang_lian
- service: climate.set_temperature
data:
entity_id: climate.zhu_wo_kong_diao
Expand All @@ -24,22 +24,22 @@
entity_id: climate.er_tong_fang_kong_diao
fan_mode: 五档

- alias: 睡眠开始
trigger:
- platform: time
at: '21:30:00'
action:
- service: fan.oscillate
data:
entity_id: fan.ke_ting_xin_feng_ji
oscillating: false
- service: fan.oscillate
data:
entity_id: fan.zhu_wo_xin_feng_ji
oscillating: false
- service: zhimsg.guo_dao_xiao_ai
data:
message: 音量30
# - alias: 睡眠开始
# trigger:
# - platform: time
# at: '21:30:00'
# action:
# - service: fan.oscillate
# data:
# entity_id: fan.ke_ting_xin_feng_ji
# oscillating: false
# - service: fan.oscillate
# data:
# entity_id: fan.zhu_wo_xin_feng_ji
# oscillating: false
# - service: zhimsg.guo_dao_xiao_ai
# data:
# message: 音量30

- alias: 睡眠深入
trigger:
Expand Down Expand Up @@ -70,21 +70,21 @@
- platform: time
at: '08:00:00'
action:
- service: fan.oscillate
data:
entity_id: fan.ke_ting_xin_feng_ji
oscillating: true
- service: fan.oscillate
data:
entity_id: fan.zhu_wo_xin_feng_ji
oscillating: true
- service: zhimsg.guo_dao_xiao_ai
data:
message: 音量70
- service: fan.set_preset_mode
data:
entity_id: fan.zhu_wo_xin_feng_ji
preset_mode: 中档
# - service: fan.oscillate
# data:
# entity_id: fan.ke_ting_xin_feng_ji
# oscillating: true
# - service: fan.oscillate
# data:
# entity_id: fan.zhu_wo_xin_feng_ji
# oscillating: true
# - service: zhimsg.guo_dao_xiao_ai
# data:
# message: 音量70
# - service: fan.set_preset_mode
# data:
# entity_id: fan.zhu_wo_xin_feng_ji
# preset_mode: 中档
- service: climate.set_fan_mode
data:
entity_id: climate.zhu_wo_kong_diao
Expand All @@ -109,5 +109,5 @@
entity_id: climate.er_tong_fang_kong_diao
# - service: climate.turn_off
# entity_id: climate.shu_fang_kong_diao
- service: cover.open_cover
entity_id: cover.shu_fang_chuang_lian
# - service: cover.open_cover
# entity_id: cover.shu_fang_chuang_lian
26 changes: 13 additions & 13 deletions automations/temperature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,16 +100,16 @@
- service: zhiact.actuate
data:
sensor_id: sensor.zhu_wo_wen_du
sensor_values: [28.5, 29]
alt_sensor_values: [29, 29.5]
sensor_values: [29, 29.2, 29.5, 29.7, 30]
alt_sensor_values: [29.5, 29.8, 30, 30.5, 31]
# sensor_id: climate.zhu_wo_kong_diao
# sensor_attr: current_temperature
# sensor_values: [29, 30, 31, 32, 33]
# alt_sensor_values: [30, 31, 32, 33, 34]
alt_time_range: [1, 8]
alt_time_range: [0, 8]
entity_id: climate.zhu_wo_kong_diao
entity_attr: fan_mode
entity_values: [四档, 五档]
entity_values: [一档, 二档, 三档, 四档, 五档]

- alias: 儿童房温度变化-调控空调
mode: restart
Expand All @@ -128,13 +128,13 @@
- service: zhiact.actuate
data:
sensor_id: sensor.er_tong_fang_wen_du
sensor_values: [23, 23.2, 23.5, 24, 24.5]
alt_sensor_values: [23.5, 24, 24.5, 25, 25.5]
sensor_values: [23.2, 23.4, 23.8, 24, 24.5]
alt_sensor_values: [23.6, 23.8, 24, 24.5, 25]
# sensor_id: climate.er_tong_fang_kong_diao
# sensor_attr: current_temperature
# sensor_values: [29, 30, 31, 32, 33]
# alt_sensor_values: [30, 31, 32, 33, 34]
alt_time_range: [1, 8]
alt_time_range: [0, 8]
entity_id: climate.er_tong_fang_kong_diao
entity_attr: fan_mode
entity_values: [一档, 二档, 三档, 四档, 五档]
Expand All @@ -159,7 +159,7 @@
# sensor_id: sensor.shu_fang_wen_du
# sensor_values: [29.5, 30, 30.5, 31]
# alt_sensor_values: [31, 32, 33, 34]
# alt_time_range: [1, 8]
# alt_time_range: [0, 8]
# entity_id: climate.shu_fang_kong_diao
# entity_attr: fan_mode
# entity_values: [低档, 中档, 高档, 超高]
Expand All @@ -182,7 +182,7 @@
# sensor_id: sensor.shu_fang_wen_du
# sensor_values: [26, 27, 30, 32]
# alt_sensor_values: [27, 29, 32, 34]
# alt_time_range: [1, 8]
# alt_time_range: [0, 8]
# entity_id: fan.shu_fang_feng_shan
# entity_attr: preset_mode
# entity_values: [1档, 2档, 3档, 4档]
Expand All @@ -205,7 +205,7 @@
sensor_attr: temp_dec
sensor_values: [24, 25, 28, 31]
alt_sensor_values: [25, 27, 32, 34]
alt_time_range: [1, 8]
alt_time_range: [0, 8]
entity_id: fan.er_tong_fang_feng_shan
entity_attr: preset_mode
entity_values: [1档, 2档, 3档, 4档]
Expand All @@ -225,9 +225,9 @@
- service: zhiact.actuate
data:
sensor_id: sensor.zhu_wo_wen_du
sensor_values: [24, 26, 29, 30, 32]
alt_sensor_values: [25, 27, 30, 32, 34]
alt_time_range: [1, 8]
sensor_values: [25, 27, 29.5, 31, 32]
alt_sensor_values: [26, 29.5, 31, 33, 34]
alt_time_range: [0, 8]
entity_id: fan.zhu_wo_feng_shan
entity_attr: preset_mode
entity_values: [1档, 2档, 3档, 4档, 5档]

0 comments on commit ce885c5

Please sign in to comment.