Skip to content

Commit

Permalink
Refine climate
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonsm committed Aug 2, 2023
1 parent 9cf43de commit 9714b63
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 62 deletions.
2 changes: 1 addition & 1 deletion .HA_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2023.4.1
2023.4.4
102 changes: 51 additions & 51 deletions automations/sleeping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,24 @@
data:
entity_id: fan.zhu_wo_xin_feng_ji
preset_mode: 静音
# - service: climate.set_temperature
# data:
# entity_id: climate.zhu_wo_kong_diao
# temperature: 20
# hvac_mode: cool
# - service: climate.set_temperature
# data:
# entity_id: climate.er_tong_fang_kong_diao
# temperature: 25
# hvac_mode: cool
# - service: climate.set_fan_mode
# data:
# entity_id: climate.zhu_wo_kong_diao
# fan_mode: 五档
# - service: climate.set_fan_mode
# data:
# entity_id: climate.er_tong_fang_kong_diao
# fan_mode: 五档
- service: climate.set_temperature
data:
entity_id: climate.zhu_wo_kong_diao
temperature: 20
hvac_mode: cool
- service: climate.set_temperature
data:
entity_id: climate.er_tong_fang_kong_diao
temperature: 24
hvac_mode: cool
- service: climate.set_fan_mode
data:
entity_id: climate.zhu_wo_kong_diao
fan_mode: 五档
- service: climate.set_fan_mode
data:
entity_id: climate.er_tong_fang_kong_diao
fan_mode: 五档

- alias: 睡眠开始
trigger:
Expand All @@ -50,23 +50,23 @@
- platform: time
at: '00:00:01'
action:
#- service: shell_command.magic_off
# - service: climate.set_fan_mode
# data:
# entity_id: climate.zhu_wo_kong_diao
# fan_mode: 一档
# - service: climate.set_fan_mode
# data:
# entity_id: climate.er_tong_fang_kong_diao
# fan_mode: 一档
# - service: climate.set_temperature
# data:
# entity_id: climate.zhu_wo_kong_diao
# temperature: 22
# - service: climate.set_temperature
# data:
# entity_id: climate.er_tong_fang_kong_diao
# temperature: 27
- service: shell_command.magic_off
- service: climate.set_fan_mode
data:
entity_id: climate.zhu_wo_kong_diao
fan_mode: 一档
- service: climate.set_fan_mode
data:
entity_id: climate.er_tong_fang_kong_diao
fan_mode: 一档
- service: climate.set_temperature
data:
entity_id: climate.zhu_wo_kong_diao
temperature: 23
- service: climate.set_temperature
data:
entity_id: climate.er_tong_fang_kong_diao
temperature: 27

- alias: 睡眠早起
trigger:
Expand Down Expand Up @@ -95,24 +95,24 @@
data:
entity_id: fan.zhu_wo_xin_feng_ji
preset_mode: 中档
# - service: climate.set_fan_mode
# data:
# entity_id: climate.zhu_wo_kong_diao
# fan_mode: 自动
# - service: climate.set_fan_mode
# data:
# entity_id: climate.er_tong_fang_kong_diao
# fan_mode: 自动
# - service: fan.turn_off
# entity_id: fan.er_tong_fang_feng_shan
# - service: fan.turn_off
# entity_id: fan.shu_fang_feng_shan
- service: climate.set_fan_mode
data:
entity_id: climate.zhu_wo_kong_diao
fan_mode: 自动
- service: climate.set_fan_mode
data:
entity_id: climate.er_tong_fang_kong_diao
fan_mode: 自动
- service: fan.turn_off
entity_id: fan.er_tong_fang_feng_shan
- service: fan.turn_off
entity_id: fan.shu_fang_feng_shan
# - service: fan.turn_off
# entity_id: fan.zhu_wo_feng_shan
# - service: climate.turn_off
# entity_id: climate.zhu_wo_kong_diao
# - service: climate.turn_off
# entity_id: climate.er_tong_fang_kong_diao
- service: climate.turn_off
entity_id: climate.zhu_wo_kong_diao
- service: climate.turn_off
entity_id: climate.er_tong_fang_kong_diao
# - service: climate.turn_off
# entity_id: climate.shu_fang_kong_diao
- condition: time
Expand Down
6 changes: 5 additions & 1 deletion configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,12 @@ media_player:
vacuum:
- platform: zhimijia
model: viomi.washer.v13
name: 浴室洗衣机
name: 阳台洗衣机
did: 410056542
- platform: zhimijia
model: viomi.washer.v53
name: 浴室洗衣机
did: 619765138
# - platform: xiaomi_miio
# name: 扫地机
# host: SaoDiJi
Expand Down
18 changes: 9 additions & 9 deletions fans.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# - platform: zhimijia
# model: zhimi.fan.v3
# name: 儿童房风扇
# did: 63038010
# - platform: zhimijia
# model: zhimi.fan.fa1
# name: 书房风扇
# did: 242978949
- platform: zhimijia
model: zhimi.fan.v3
name: 儿童房风扇
did: 63038010
- platform: zhimijia
model: zhimi.fan.fa1
name: 书房风扇
did: 242978949
# - platform: zhimijia
# model: zhimi.fan.za3
# name: 长辈房风扇
# name: 定南风扇
# did: 106565511
- platform: zhimijia
model: zhimi.airfresh.va2
Expand Down

0 comments on commit 9714b63

Please sign in to comment.