From ce885c5d0f3217c490e8dbe9450aa06aa8b96c06 Mon Sep 17 00:00:00 2001 From: Yonsm Date: Mon, 26 Aug 2024 06:27:24 +0800 Subject: [PATCH] Reeset temp. --- automations/{disabled => }/sleeping.yaml | 70 ++++++++++++------------ automations/temperature.yaml | 26 ++++----- 2 files changed, 48 insertions(+), 48 deletions(-) rename automations/{disabled => }/sleeping.yaml (67%) diff --git a/automations/disabled/sleeping.yaml b/automations/sleeping.yaml similarity index 67% rename from automations/disabled/sleeping.yaml rename to automations/sleeping.yaml index 4e16da6..b0c49fd 100755 --- a/automations/disabled/sleeping.yaml +++ b/automations/sleeping.yaml @@ -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 @@ -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: @@ -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 @@ -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 diff --git a/automations/temperature.yaml b/automations/temperature.yaml index 2447be4..c68dd23 100644 --- a/automations/temperature.yaml +++ b/automations/temperature.yaml @@ -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 @@ -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: [一档, 二档, 三档, 四档, 五档] @@ -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: [低档, 中档, 高档, 超高] @@ -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档] @@ -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档] @@ -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档]