1
110
756
高级会员
使用道具 举报
8
95
818
论坛技术达人
- platform: template sensors: sun_state: value_template: '{% if is_state("sun.sun", "above_horizon") %}日出{% else %}日落{% endif %}' friendly_name: '日出日落时间'
cxlwill 发表于 2017-8-21 16:10 [code] - platform: template sensors: sun_state:
honky 发表于 2017-8-21 17:38 收到,非常感谢,有关注你的技术站哦
13
137
541
本版积分规则 发表回复 回帖后跳转到最后一页
在众坛友心目中具有较高技术与威望,为社区繁荣作出重要贡献
Archiver|手机版|小黑屋|Hassbian
GMT+8, 2025-2-23 13:07 , Processed in 0.094515 second(s), 30 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.