Update icon entry (#6502)

This commit is contained in:
Fabian Affolter 2018-10-04 11:39:14 +02:00 committed by GitHub
parent c105059488
commit 64a0f95eaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 12 additions and 12 deletions

View File

@ -41,7 +41,7 @@ input_boolean:
type: boolean
default: false
icon:
description: Icon to display for the component. Refer to the [Customizing devices](/docs/configuration/customizing-devices/#possible-values) page for possible values.
description: Icon to display for the component.
required: false
type: icon
{% endconfiguration %}

View File

@ -78,7 +78,7 @@ input_number:
required: false
type: string
icon:
description: Icon to display in front of the box/slider in the frontend. Refer to the [Customizing devices](/docs/configuration/customizing-devices/#possible-values) page for possible values.
description: Icon to display in front of the box/slider in the frontend.
required: false
type: icon
{% endconfiguration %}

View File

@ -54,7 +54,7 @@ input_select:
type: Element of options
default: First element of options
icon:
description: Icon to display for the component. Refer to the [Customizing devices](/docs/configuration/customizing-devices/#possible-values) page for possible values.
description: Icon to display for the component.
required: false
type: icon
{% endconfiguration %}

View File

@ -47,7 +47,7 @@ filename:
icon:
description: The path to an image file to use as the icon in notifications.
required: false
type: string
type: [string, icon]
{% endconfiguration %}
A possible automation could be:

View File

@ -55,8 +55,8 @@ panel_iframe:
required: true
type: string
icon:
description: Icon for entry. Pick an icon that you can find on [materialdesignicons.com](https://materialdesignicons.com/) to use for your input and prefix the name with `mdi:`. For example `mdi:car`, `mdi:ambulance`, or `mdi:motorbike`.
description: Icon for entry.
required: false
type: string
type: icon
{% endconfiguration %}

View File

@ -47,9 +47,9 @@ unit_of_measurement:
required: false
type: string
icon:
description: Icon for the sensor (e.g. `mdi:gauge`).
description: Icon for the sensor.
required: false
type: string
type: icon
expire_after:
description: Defines the number of seconds after the value expires if it's not updated.
required: false

View File

@ -96,7 +96,7 @@ resources:
icon:
description: Icon to use for the sensor.
required: false
type: string
type: icon
default: "mdi:desktop-classic"
{% endconfiguration %}

View File

@ -39,9 +39,9 @@ name:
type: string
default: MQTT Switch
icon:
description: Icon for the switch (e.g. `mdi:radiator`).
description: Icon for the switch.
required: false
type: string
type: icon
state_topic:
description: The MQTT topic subscribed to receive state updates.
required: false

View File

@ -41,7 +41,7 @@ url:
icon:
description: Icon for entry.
required: false
type: string
type: icon
{% endconfiguration %}
Pick an icon that you can find on [materialdesignicons.com](https://materialdesignicons.com/) to use for your input and prefix the name with `mdi:`. For example `mdi:car`, `mdi:ambulance`, or `mdi:motorbike`.