Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/content/docs/components/sensor/uptime.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,21 @@ sensor:
- **update_interval** (*Optional*, [Time](/guides/configuration-types#time)): The sensor reporting interval. Defaults to `60s`.
Valid only with `type: seconds`.

```
# Working example
time:
- platform: homeassistant
id: esptime

sensor:
- platform: uptime
name: "My Device Last Boot"
type: timestamp
time_id: esptime
device_class: timestamp
entity_category: diagnostic
```

- All other options from [Sensor](/components/sensor).

## See Also
Expand Down
Loading