本帖最后由 yylwhy 于 2020-1-15 20:07 编辑
sensor.zm1_woshi_temperature 卧室温度
switch.nuan_qi_kai_guan 控制燃气炉的开关
1、周一到周六 16:30~次日5:30 温度到达 20° 停止 燃气炉
2、周日全天 温度到达20° 停止 燃气炉
3、周一到周六 5:31~16:29 无论多少度 都不启动
4、周一到周六 16:30~次日5:30 温度低于18° 启动 燃气炉
5、周日全天 温度低于18° 启动 燃气炉
现在在ui的做的,要么不启动要么时间不对。。求指导啊~~~
- id: '1579008680809'
alias: 启动燃气炉
description: 低于18度启动燃气炉
trigger:
- below: '18'
entity_id: sensor.zm1_woshi_temperature
platform: numeric_state
condition: []
action:
- entity_id: switch.nuan_qi_kai_guan
service: switch.turn_on
- id: '1579008789421'
alias: 停止燃气炉
description: 温度高于18.3度停止燃气炉
trigger:
- above: '18.3'
entity_id: sensor.zm1_woshi_temperature
platform: numeric_state
condition: []
action:
- entity_id: switch.nuan_qi_kai_guan
service: switch.turn_off
|