57
403
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
291
1530
论坛积极会员
8
736
4570
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
GMT+8, 2024-11-25 13:27 , Processed in 0.053022 second(s), 29 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.