mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
rest switch manualtriggerentity (#28530)
This commit is contained in:
parent
ba44473c0a
commit
94f3e9a8f3
@ -38,8 +38,20 @@ method:
|
||||
name:
|
||||
description: Name of the REST Switch.
|
||||
required: false
|
||||
type: string
|
||||
type: template
|
||||
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:
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user