8
103
528
高级会员
情非殇 发表于 2019-3-22 21:55 我给你的代码,是删减版的,是面板效果中的其中一条代表分minute的拉杆,你把拉杆做到你灯开关的下面靠着 ...
使用道具 举报
下載王下載王 发表于 2019-3-24 02:33 我看了很久我把22行的 timer 改成test 就好了. 能做到倒數開關的功能...@@v 開心, 謝謝您, 然後想問怎樣 ...
27
2121
9087
论坛元老
下載王下載王 发表于 2019-3-24 03:59 我最後只能弄到這樣, 左邊文字還是在, 然後還是弄不到這樣的效果. 大大可以指導一下麻?
automation: ## 计时器结束时候,重置拉杆 - alias: testxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx trigger: - platform: state entity_id: timer.test #计时器的id to: 'idle' action: - service: input_number.set_value entity_id: input_number.timer_min #重置的拉杆id data_template: value: 0
情非殇 发表于 2019-3-24 09:32 1)timer.test的问题,是我给你写代码的时候疏忽了,忘了更新id,哈哈哈哈 2)关于拉杆清零的问题,下面 ...
下載王下載王 发表于 2019-3-24 15:26 我有看過你另外一篇講homekit 澆花的計時 那個也很不錯 最後您有實現出來麻? ...
本版积分规则 发表回复 回帖后跳转到最后一页
为论坛做出突出贡献的会员
Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )
GMT+8, 2025-5-9 11:16 , Processed in 1.262768 second(s), 25 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.