mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Rest Binary Sensor to ManualTriggerEntity (#28526)
This commit is contained in:
parent
071087456b
commit
b15a2f4451
@ -83,8 +83,20 @@ method:
|
|||||||
name:
|
name:
|
||||||
description: Name of the REST binary sensor.
|
description: Name of the REST binary sensor.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: template
|
||||||
default: REST Binary Sensor
|
default: REST Binary Sensor
|
||||||
|
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/binary_sensor/#device-class), changing the device state and icon that is displayed on the frontend.
|
description: Sets the [class of the device](/integrations/binary_sensor/#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