微信扫码登录
12
181
1159
论坛积极会员
使用道具 举报
104
2847
1万
超级版主
智能家居&单板滑雪痴迷爱好者
8
510
3824
论坛元老
XCray 发表于 2021-10-23 20:07 ha的自动化很容易做到,把模式选成重启即可。非要用nr吗?
lijun9701 发表于 2021-10-24 17:19 HA的自动化也不清楚怎么写啊
alias: welcomeLight description: '有人开灯5分钟无人关灯' trigger: - platform: state entity_id: binary_sensor.motion_xuanguan from: 'off' to: 'on' condition: [] action: - type: turn_on device_id: xxxxxxxxxxx entity_id: light.xuanguan domain: light - delay: hours: 0 minutes: 5 seconds: 0 milliseconds: 0 - type: turn_off device_id: xxxxxxxxxxx entity_id: light.xuanguan domain: light mode: restart
75
1105
6981
XCray 发表于 2021-10-24 17:35 这已经是最简单自动化了,看文档、看别人的示例,最重要的自己要勇于尝试。 替你写了个例子,还不行的话 ...
23
637
3118
2123
6369
流水无味
本版积分规则 发表回复 回帖后跳转到最后一页
教程高产大神,简直就是为了教程而生~
长期对论坛的繁荣而不断努力,或多次提出建设性意见
经常在论坛发帖,且发帖量较大
Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )
GMT+8, 2025-11-7 02:47 , Processed in 0.373248 second(s), 5 queries , MemCached On.
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.