mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 22:36:51 +00:00
Add missing documentation for numeric input and preset mode features (#30070)
* Add missing documentation for number value and preset mode features * Rename to numeric input * Update features.markdown Co-authored-by: Fletcher <fletcher.boyd@artifactory.org.au> --------- Co-authored-by: Fletcher <fletcher.boyd@artifactory.org.au>
This commit is contained in:
parent
e09655e915
commit
83b548c076
@ -74,6 +74,40 @@ hvac_modes:
|
|||||||
type: list
|
type: list
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
|
## Climate preset modes
|
||||||
|
|
||||||
|
Widget that displays buttons or icons to control the preset mode for a [climate](/integrations/climate).
|
||||||
|
|
||||||
|
<p class='img'>
|
||||||
|
<img src='/images/dashboards/features/climate_preset_modes.png' alt='Screenshot of the tile card with the climate preset modes feature'>
|
||||||
|
Screenshot of the tile card with the climate preset modes feature
|
||||||
|
</p>
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
features:
|
||||||
|
- type: "climate-preset-modes"
|
||||||
|
style: "icons"
|
||||||
|
preset_modes:
|
||||||
|
- home
|
||||||
|
- eco
|
||||||
|
```
|
||||||
|
|
||||||
|
{% configuration features %}
|
||||||
|
type:
|
||||||
|
required: true
|
||||||
|
description: "`climate-preset-modes`"
|
||||||
|
type: string
|
||||||
|
style:
|
||||||
|
required: false
|
||||||
|
description: "How the preset modes should be displayed. It can be either `dropdown` or `icons`."
|
||||||
|
type: string
|
||||||
|
default: dropdown
|
||||||
|
preset_modes:
|
||||||
|
required: true
|
||||||
|
description: List of preset modes to show on the card. The list can contain `eco`, `away`, `boost`, `comfort`, `home`, `sleep`, and `activity` or any other custom preset mode.
|
||||||
|
type: list
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
## Cover open/close
|
## Cover open/close
|
||||||
|
|
||||||
Widget that displays buttons to open, close, or stop a [cover](/integrations/cover).
|
Widget that displays buttons to open, close, or stop a [cover](/integrations/cover).
|
||||||
@ -270,6 +304,33 @@ type:
|
|||||||
type: string
|
type: string
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
|
## Numeric input
|
||||||
|
|
||||||
|
Widget that displays a slider or buttons to set the value for a [number](/integrations/number) or [input number](/integrations/input_number).
|
||||||
|
|
||||||
|
<p class='img'>
|
||||||
|
<img src='/images/dashboards/features/numeric_input.png' alt='Screenshot of the tile card with the numeric input feature'>
|
||||||
|
Screenshot of the tile card with the numeric input feature
|
||||||
|
</p>
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
features:
|
||||||
|
- type: "numeric-input"
|
||||||
|
style: "buttons"
|
||||||
|
```
|
||||||
|
|
||||||
|
{% configuration features %}
|
||||||
|
type:
|
||||||
|
required: true
|
||||||
|
description: "`numeric-input`"
|
||||||
|
type: string
|
||||||
|
style:
|
||||||
|
required: false
|
||||||
|
description: "Which style of control to display. It can be either `buttons` or `slider`."
|
||||||
|
type: string
|
||||||
|
default: slider
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
## Target temperature
|
## Target temperature
|
||||||
|
|
||||||
Widget that displays buttons to select the target temperature for a [climate](/integrations/climate) or a [water heater](/integrations/water_heater).
|
Widget that displays buttons to select the target temperature for a [climate](/integrations/climate) or a [water heater](/integrations/water_heater).
|
||||||
|
BIN
source/images/dashboards/features/climate_preset_modes.png
Normal file
BIN
source/images/dashboards/features/climate_preset_modes.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.3 KiB |
BIN
source/images/dashboards/features/numeric_input.png
Normal file
BIN
source/images/dashboards/features/numeric_input.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.5 KiB |
Loading…
x
Reference in New Issue
Block a user