Files
core/homeassistant/components/input_number/services.yaml
Alexei Chetroi e360b1265f Add input_number.reload admin service. (#29584)
* Add input_number reload service.

* Add test.

* Allow platform setup without entities.

We can reload and add entities later.
2019-12-07 21:26:06 +01:00

19 lines
795 B
YAML

decrement:
description: Decrement the value of an input number entity by its stepping.
fields:
entity_id: {description: Entity id of the input number the should be decremented.,
example: input_number.threshold}
increment:
description: Increment the value of an input number entity by its stepping.
fields:
entity_id: {description: Entity id of the input number the should be incremented.,
example: input_number.threshold}
set_value:
description: Set the value of an input number entity.
fields:
entity_id: {description: Entity id of the input number to set the new value.,
example: input_number.threshold}
value: {description: The target value the entity should be set to., example: 42}
reload:
description: Reload the input_number configuration.