57
346
3041
论坛元老
sensor babyroom_light_UPtime: - platform: mqtt state_topic: "tele/babyroom_light/STATE" name: "baby_room_UPtime" qos: 1 unit_of_measurement: "s" value_template: "{{ value_json['Uptime'] }}"
1T03:54:54
使用道具 举报
2
289
1534
论坛积极会员
8
728
4714
Aiden1 发表于 2019-10-24 12:54 老哥解决了吗?
- id: '1571727052540' alias: test description: '' trigger: - platform: template value_template: '{{ states(''sensor.babyroom_sensor_uptime'') | first() == ''0''}}' condition: [] action: - data: message: 次卧模块重启了 title: 时间测试 service: notify.ios_lijian_siphone
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )
GMT+8, 2025-5-11 12:21 , Processed in 0.176925 second(s), 27 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.