mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +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
|
required: false
|
||||||
type: string
|
type: string
|
||||||
device_class:
|
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
|
required: false
|
||||||
type: string
|
type: string
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
@ -250,6 +250,6 @@ name:
|
|||||||
type: string
|
type: string
|
||||||
device_class:
|
device_class:
|
||||||
required: false
|
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
|
type: device_class
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
@ -37,7 +37,7 @@ name:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
device_class:
|
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
|
required: false
|
||||||
type: string
|
type: string
|
||||||
significant_bit:
|
significant_bit:
|
||||||
|
@ -87,7 +87,7 @@ unique_id:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
device_class:
|
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
|
required: false
|
||||||
type: string
|
type: string
|
||||||
value_template:
|
value_template:
|
||||||
|
@ -73,9 +73,7 @@ name:
|
|||||||
type: string
|
type: string
|
||||||
default: REST Binary Sensor
|
default: REST Binary Sensor
|
||||||
device_class:
|
device_class:
|
||||||
description: >
|
description: Sets the [class of the device](/components/binary_sensor/), changing the device state and icon that is displayed on the frontend.
|
||||||
The [type/class](/components/binary_sensor/) of
|
|
||||||
the sensor to set the icon in the frontend.
|
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
value_template:
|
value_template:
|
||||||
|
@ -55,7 +55,7 @@ devices:
|
|||||||
required: false
|
required: false
|
||||||
type: list
|
type: list
|
||||||
device_class:
|
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
|
required: false
|
||||||
type: string
|
type: string
|
||||||
off_delay:
|
off_delay:
|
||||||
|
@ -63,7 +63,7 @@ devices:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
device_class:
|
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
|
required: false
|
||||||
type: device_class
|
type: device_class
|
||||||
fire_event:
|
fire_event:
|
||||||
|
@ -56,7 +56,7 @@ sensors:
|
|||||||
required: false
|
required: false
|
||||||
type: string, list
|
type: string, list
|
||||||
device_class:
|
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
|
required: false
|
||||||
type: device_class
|
type: device_class
|
||||||
default: None
|
default: None
|
||||||
|
@ -31,6 +31,7 @@ binary_sensor:
|
|||||||
<p class='note'>
|
<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: `''`.
|
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>
|
</p>
|
||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
command:
|
command:
|
||||||
description: The action to take to get the value.
|
description: The action to take to get the value.
|
||||||
@ -42,7 +43,7 @@ name:
|
|||||||
type: string
|
type: string
|
||||||
default: "*name* from the device"
|
default: "*name* from the device"
|
||||||
device_class:
|
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
|
required: false
|
||||||
type: string
|
type: string
|
||||||
payload_on:
|
payload_on:
|
||||||
|
@ -175,7 +175,7 @@ tilt_invert_state:
|
|||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
device_class:
|
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
|
required: false
|
||||||
type: string
|
type: string
|
||||||
json_attributes_topic:
|
json_attributes_topic:
|
||||||
|
@ -69,7 +69,7 @@ cover:
|
|||||||
required: false
|
required: false
|
||||||
type: template
|
type: template
|
||||||
device_class:
|
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
|
required: false
|
||||||
type: string
|
type: string
|
||||||
open_cover:
|
open_cover:
|
||||||
|
@ -102,7 +102,7 @@ name:
|
|||||||
type: string
|
type: string
|
||||||
default: EnOcean binary sensor
|
default: EnOcean binary sensor
|
||||||
device_class:
|
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
|
required: false
|
||||||
type: device_class
|
type: device_class
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
@ -193,7 +193,7 @@ name:
|
|||||||
type: string
|
type: string
|
||||||
default: EnOcean sensor
|
default: EnOcean sensor
|
||||||
device_class:
|
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
|
required: false
|
||||||
type: device_class
|
type: device_class
|
||||||
default: powersensor
|
default: powersensor
|
||||||
|
@ -78,7 +78,7 @@ i2c_hats:
|
|||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
device_class:
|
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
|
required: false
|
||||||
default: "None"
|
default: "None"
|
||||||
type: string
|
type: string
|
||||||
|
@ -55,9 +55,7 @@ name:
|
|||||||
type: string
|
type: string
|
||||||
default: REST Sensor
|
default: REST Sensor
|
||||||
device_class:
|
device_class:
|
||||||
description: >
|
description: Sets the [class of the device](/components/sensor/), changing the device state and icon that is displayed on the frontend.
|
||||||
The [type/class](/components/sensor/) of
|
|
||||||
the sensor to set the icon in the frontend.
|
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
value_template:
|
value_template:
|
||||||
|
@ -54,9 +54,7 @@ sensors:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
device_class:
|
device_class:
|
||||||
description: >
|
description: Sets the [class of the device](/components/binary_sensor/), changing the device state and icon that is displayed on the frontend.
|
||||||
The [type/class](/components/binary_sensor/#device-class) of
|
|
||||||
the sensor to set the icon in the frontend.
|
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
friendly_name:
|
friendly_name:
|
||||||
|
@ -68,7 +68,7 @@ devices:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
device_class:
|
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
|
required: false
|
||||||
type: device_class
|
type: device_class
|
||||||
off_delay:
|
off_delay:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user