- Copy the
station_uptimefolder into yourcustom_componentsfolder. - Add the following to your
configuration.yamlfile:station_uptime: stations: - name: station_1 # Your stations here
- Restart Home Assistant.
Stations are interfaced with via HomeAssistant services
station_uptime.start_assembly- Starts the uptime counter for a stationstation_id- The name of the station to start the counter for
station_uptime.finish_assembly- Stops the uptime counter for a stationstation_id- The name of the station to stop the counter for
service: station_uptime.start_assembly
data:
entity_id: station_uptime.station_1