You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am not able to create an uptime sensor in seconds.
It is easier to deal with seconds to create automations.
Describe the solution you'd like
The uptime has a value that is impossible (for me) to change in seconds. For example, in this moment I have up_time: 12 days, 27 min
The file /proc/uptime contains the value in seconds (the first value). To get only the first value awk '{print $1}' /proc/uptime
Maybe you could add another property like up_time_s with that value
Describe alternatives you've considered
If you have a reverse formula to change the actual property up_time in a template sensor, I am very fine with that :-)
At the moment I use a ssh template to my raspberries to get it
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I am not able to create an uptime sensor in seconds.
It is easier to deal with seconds to create automations.
Describe the solution you'd like
The uptime has a value that is impossible (for me) to change in seconds. For example, in this moment I have up_time: 12 days, 27 min
The file /proc/uptime contains the value in seconds (the first value). To get only the first value awk '{print $1}' /proc/uptime
Maybe you could add another property like up_time_s with that value
Describe alternatives you've considered
If you have a reverse formula to change the actual property up_time in a template sensor, I am very fine with that :-)
At the moment I use a ssh template to my raspberries to get it
The text was updated successfully, but these errors were encountered: