mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 08:46:51 +00:00
rest switch manualtriggerentity (#28530)
This commit is contained in:
parent
ba44473c0a
commit
94f3e9a8f3
@ -38,8 +38,20 @@ method:
|
|||||||
name:
|
name:
|
||||||
description: Name of the REST Switch.
|
description: Name of the REST Switch.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: template
|
||||||
default: REST Switch
|
default: REST Switch
|
||||||
|
icon:
|
||||||
|
description: Defines a template for the icon of the entity.
|
||||||
|
required: false
|
||||||
|
type: template
|
||||||
|
picture:
|
||||||
|
description: Defines a template for the entity picture of the entity.
|
||||||
|
required: false
|
||||||
|
type: template
|
||||||
|
availability:
|
||||||
|
description: Defines a template if the entity state is available or not.
|
||||||
|
required: false
|
||||||
|
type: template
|
||||||
device_class:
|
device_class:
|
||||||
description: Sets the [class of the device](/integrations/switch/#device-class), changing the device state and icon that is displayed on the frontend.
|
description: Sets the [class of the device](/integrations/switch/#device-class), changing the device state and icon that is displayed on the frontend.
|
||||||
required: false
|
required: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user