31
502
2545
金牌会员
使用道具 举报
0
179
2802
8
2078
6155
论坛元老
流水无味
728
4702
dinglifeng 发表于 2018-12-17 13:42 需要组件systemmonitor 并开启 last_boot 参数(时间戳的格式) 请问这个怎么操作? ...
sensor: - platform: systemmonitor resources: - type: last_boot
2
101
490
论坛积极会员
sensor: - platform: uptime name: Time Online unit_of_measurement: "小时"
15
70
注册会员
Aiden1 发表于 2018-12-17 15:30 还可以加一个home assistant运行时间:[code]sensor: - platform: uptime n ...
dinglifeng 发表于 2018-12-17 16:49 得写 hours 写“小时”报错。。。。
Aiden1 发表于 2018-12-17 17:17 再试试 sensor: - platform: uptime
本版积分规则 发表回复 回帖后跳转到最后一页
经常在论坛发帖,且发帖量较大
Archiver|手机版|小黑屋|Hassbian
GMT+8, 2025-5-5 01:29 , Processed in 0.325165 second(s), 23 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.