mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
🔨 Change the device class description (#9544)
* 🔨 Change URLs to device classes on dev page * 🔨 The other url's * ✏️ Improve the description * 🔨 Revert the suggested urls
This commit is contained in:
parent
b346a03336
commit
7aad455bbf
@ -102,7 +102,7 @@ name:
|
||||
required: false
|
||||
type: string
|
||||
device_class:
|
||||
description: The [type/class](/components/binary_sensor/) of the sensor to set the icon in the frontend.
|
||||
description: Sets the [class of the device](/components/binary_sensor/), changing the device state and icon that is displayed on the frontend.
|
||||
required: false
|
||||
type: string
|
||||
{% endconfiguration %}
|
||||
@ -250,6 +250,6 @@ name:
|
||||
type: string
|
||||
device_class:
|
||||
required: false
|
||||
description: Sets the class of the device, changing the device state and icon that is displayed on the UI (awning, blind, curtain, damper, door, garage, shade, shutter, window)
|
||||
description: Sets the [class of the device](/components/cover/), changing the device state and icon that is displayed on the frontend.
|
||||
type: device_class
|
||||
{% endconfiguration %}
|
||||
|
@ -37,7 +37,7 @@ name:
|
||||
required: false
|
||||
type: string
|
||||
device_class:
|
||||
description: HASS device class e.g., "motion".
|
||||
description: Sets the [class of the device](/components/binary_sensor/), changing the device state and icon that is displayed on the frontend.
|
||||
required: false
|
||||
type: string
|
||||
significant_bit:
|
||||
|
@ -87,7 +87,7 @@ unique_id:
|
||||
required: false
|
||||
type: string
|
||||
device_class:
|
||||
description: The [type/class](/components/binary_sensor/) of the sensor to set the icon in the frontend.
|
||||
description: Sets the [class of the device](/components/binary_sensor/), changing the device state and icon that is displayed on the frontend.
|
||||
required: false
|
||||
type: string
|
||||
value_template:
|
||||
|
@ -73,9 +73,7 @@ name:
|
||||
type: string
|
||||
default: REST Binary Sensor
|
||||
device_class:
|
||||
description: >
|
||||
The [type/class](/components/binary_sensor/) of
|
||||
the sensor to set the icon in the frontend.
|
||||
description: Sets the [class of the device](/components/binary_sensor/), changing the device state and icon that is displayed on the frontend.
|
||||
required: false
|
||||
type: string
|
||||
value_template:
|
||||
|
@ -55,7 +55,7 @@ devices:
|
||||
required: false
|
||||
type: list
|
||||
device_class:
|
||||
description: The [type or class of the sensor](/components/binary_sensor/#device-class) to set the icon in the frontend.
|
||||
description: Sets the [class of the device](/components/binary_sensor/), changing the device state and icon that is displayed on the frontend.
|
||||
required: false
|
||||
type: string
|
||||
off_delay:
|
||||
|
@ -63,7 +63,7 @@ devices:
|
||||
required: false
|
||||
type: string
|
||||
device_class:
|
||||
description: "The [type or class of the sensor](/components/binary_sensor/) to set the icon in the frontend."
|
||||
description: Sets the [class of the device](/components/binary_sensor/), changing the device state and icon that is displayed on the frontend.
|
||||
required: false
|
||||
type: device_class
|
||||
fire_event:
|
||||
|
@ -56,7 +56,7 @@ sensors:
|
||||
required: false
|
||||
type: string, list
|
||||
device_class:
|
||||
description: The type/class of the sensor to set the icon in the frontend.
|
||||
description: Sets the [class of the device](/components/binary_sensor/), changing the device state and icon that is displayed on the frontend.
|
||||
required: false
|
||||
type: device_class
|
||||
default: None
|
||||
|
@ -31,6 +31,7 @@ binary_sensor:
|
||||
<p class='note'>
|
||||
It's highly recommended to enclose the command in single quotes `'` as it ensures all characters can be used in the command and reduces the risk of unintentional escaping. To include a single quote in a command enclosed in single quotes, double it: `''`.
|
||||
</p>
|
||||
|
||||
{% configuration %}
|
||||
command:
|
||||
description: The action to take to get the value.
|
||||
@ -42,7 +43,7 @@ name:
|
||||
type: string
|
||||
default: "*name* from the device"
|
||||
device_class:
|
||||
description: The [type/class](/components/binary_sensor/) of the sensor to set the icon in the frontend.
|
||||
description: Sets the [class of the device](/components/binary_sensor/), changing the device state and icon that is displayed on the frontend.
|
||||
required: false
|
||||
type: string
|
||||
payload_on:
|
||||
|
@ -175,7 +175,7 @@ tilt_invert_state:
|
||||
type: boolean
|
||||
default: false
|
||||
device_class:
|
||||
description: The [type/class](/components/cover/#device-class) of the cover to set the icon in the frontend.
|
||||
description: Sets the [class of the device](/components/cover/), changing the device state and icon that is displayed on the frontend.
|
||||
required: false
|
||||
type: string
|
||||
json_attributes_topic:
|
||||
|
@ -69,7 +69,7 @@ cover:
|
||||
required: false
|
||||
type: template
|
||||
device_class:
|
||||
description: The [type/class](/components/cover/#device-class) of the cover to set the icon in the frontend.
|
||||
description: Sets the [class of the device](/components/cover/), changing the device state and icon that is displayed on the frontend.
|
||||
required: false
|
||||
type: string
|
||||
open_cover:
|
||||
|
@ -102,7 +102,7 @@ name:
|
||||
type: string
|
||||
default: EnOcean binary sensor
|
||||
device_class:
|
||||
description: The [type/class](/components/binary_sensor/) of the sensor to set the icon in the frontend.
|
||||
description: Sets the [class of the device](/components/binary_sensor/), changing the device state and icon that is displayed on the frontend.
|
||||
required: false
|
||||
type: device_class
|
||||
{% endconfiguration %}
|
||||
@ -193,7 +193,7 @@ name:
|
||||
type: string
|
||||
default: EnOcean sensor
|
||||
device_class:
|
||||
description: The [type/class](/components/binary_sensor/) of the sensor to set the icon in the frontend.
|
||||
description: Sets the [class of the device](/components/binary_sensor/), changing the device state and icon that is displayed on the frontend.
|
||||
required: false
|
||||
type: device_class
|
||||
default: powersensor
|
||||
|
@ -78,7 +78,7 @@ i2c_hats:
|
||||
default: false
|
||||
type: boolean
|
||||
device_class:
|
||||
description: See device classes in [binary_sensor component](/components/binary_sensor/).
|
||||
description: Sets the [class of the device](/components/binary_sensor/), changing the device state and icon that is displayed on the frontend.
|
||||
required: false
|
||||
default: "None"
|
||||
type: string
|
||||
|
@ -55,9 +55,7 @@ name:
|
||||
type: string
|
||||
default: REST Sensor
|
||||
device_class:
|
||||
description: >
|
||||
The [type/class](/components/sensor/) of
|
||||
the sensor to set the icon in the frontend.
|
||||
description: Sets the [class of the device](/components/sensor/), changing the device state and icon that is displayed on the frontend.
|
||||
required: false
|
||||
type: string
|
||||
value_template:
|
||||
|
@ -54,9 +54,7 @@ sensors:
|
||||
required: false
|
||||
type: string
|
||||
device_class:
|
||||
description: >
|
||||
The [type/class](/components/binary_sensor/#device-class) of
|
||||
the sensor to set the icon in the frontend.
|
||||
description: Sets the [class of the device](/components/binary_sensor/), changing the device state and icon that is displayed on the frontend.
|
||||
required: false
|
||||
type: string
|
||||
friendly_name:
|
||||
|
@ -68,7 +68,7 @@ devices:
|
||||
required: false
|
||||
type: string
|
||||
device_class:
|
||||
description: "The [type or class of the sensor](/components/binary_sensor/) to set the icon in the frontend."
|
||||
description: Sets the [class of the device](/components/binary_sensor/), changing the device state and icon that is displayed on the frontend.
|
||||
required: false
|
||||
type: device_class
|
||||
off_delay:
|
||||
|
Loading…
x
Reference in New Issue
Block a user