27
2147
9072
论坛元老
a74074011 发表于 2018-11-14 14:22 我一般右键notepad++打开就真没注意到扩展名敲错了 我一般把entity_id放data下,应该都可以,
使用道具 举报
8
68
337
论坛分享达人
情非殇 发表于 2018-11-14 14:45 卧槽,为什么我的前端好像从来都不好使,我都是后端敲代码 另外请教下,代码中的set_level虚拟灯的开 ...
a74074011 发表于 2018-11-14 14:52 set_level 用来调整灯的状态,不清楚能不能自动开灯,所以加上去保险, 前端可以测试,测试完成后再写避 ...
# 手动关闭实体开关时,如果倒计时还没完成,强制关闭倒计时任务 - alias: 'test003' trigger: platform: state entity_id: switch.bed_switch_charge from: 'on' to: 'off' condition: condition: state entity_id: light.switch_charge_timer state: 'on' action: service: light.turn_off entity_id: light.switch_charge_timer
情非殇 发表于 2018-11-14 14:56 水友1号前来补充,一条自动化 [code]
2
278
中级会员
26
555
1977
金牌会员
dgmax 发表于 2019-3-1 22:40 Invalid config for [automation]: [seconds] is an invalid option for [automation]. Check: automation- ...
本版积分规则 发表回复 回帖后跳转到最后一页
为论坛做出突出贡献的会员
Archiver|手机版|小黑屋|Hassbian
GMT+8, 2025-3-10 10:39 , Processed in 0.081460 second(s), 29 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.