- Copy the
station_uptime
folder into yourcustom_components
folder. - Add the following to your
configuration.yaml
file: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