Franck Nijhof 23b0b57c08
Rename frontmatter ha_qa_scale to ha_quality_scale to match codebase (#11672)
* Rename frontmatter ha_qa_scale to ha_quality_scale to match codebase

* Update all integrations quality scales (done by sync)
2020-01-08 13:10:43 +01:00

933 B

title, description, ha_category, ha_iot_class, logo, ha_release, ha_quality_scale
title description ha_category ha_iot_class logo ha_release ha_quality_scale
Uptime Instructions on how to integrate an uptime sensor into Home Assistant.
Utility
Local Push home-assistant.png 0.56 internal

The uptime sensor platform displays the time since the last Home Assistant restart.

Configuration

To enable this sensor, add the following lines to your configuration.yaml:

# Example configuration.yaml entry
sensor:
  - platform: uptime

{% configuration %} name: description: Name to use in the frontend. required: false type: string default: Uptime unit_of_measurement: description: "Units for uptime measurement in either days, hours or minutes." required: false type: string default: days {% endconfiguration %}

Example

# Example with configuration variables
sensor:
  - platform: uptime
    name: Time Online
    unit_of_measurement: hours