From f7b429f6e5420ecd1b80701d327d87d8c231fcb6 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 12 Mar 2022 12:36:17 +0100 Subject: [PATCH] Add config flow to Uptime (#21849) --- source/_integrations/uptime.markdown | 31 ++++------------------------ 1 file changed, 4 insertions(+), 27 deletions(-) diff --git a/source/_integrations/uptime.markdown b/source/_integrations/uptime.markdown index 157f6123a6f..1145fbcf4d7 100644 --- a/source/_integrations/uptime.markdown +++ b/source/_integrations/uptime.markdown @@ -10,33 +10,10 @@ ha_quality_scale: internal ha_domain: uptime ha_platforms: - sensor +ha_config_flow: true --- -The `uptime` sensor stores the timestamp (date and time) when Home Assistant was last started. +The uptime integration provides a sensor that stores the timestamp +(date and time) when Home Assistant was last started. -## Configuration - -To enable this sensor, add the following lines to your `configuration.yaml`: - -```yaml -# Example configuration.yaml entry -sensor: - - platform: uptime -``` - -{% configuration %} -name: - description: Name to use in the frontend. - required: false - type: string - default: Uptime -{% endconfiguration %} - -## Example - -```yaml -# Example with configuration variables -sensor: - - platform: uptime - name: Time Online -```` +{% include integrations/config_flow.md %}