31
533
2527
金牌会员
使用道具 举报
0
179
2772
8
2084
6129
论坛元老
流水无味
736
4654
dinglifeng 发表于 2018-12-17 13:42 需要组件systemmonitor 并开启 last_boot 参数(时间戳的格式) 请问这个怎么操作? ...
sensor: - platform: systemmonitor resources: - type: last_boot
2
103
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-2-25 11:22 , Processed in 0.088195 second(s), 32 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.