hass-core/homeassistant/components/counter/services.yaml
Franck Nijhof 39336d3ea3
Add prettier (in pre-commit and CI) (#33693)
* Add prettier (in pre-commit and CI)

* Make all file prettier

* Change order

* Add to Azure Pipelines

* Fix a YAML file prettier caught as invalid

* Remove flow mapping using curly braces from all YAML service files
2020-04-05 17:27:16 +02:00

41 lines
1.1 KiB
YAML

# Describes the format for available counter services
decrement:
description: Decrement a counter.
fields:
entity_id:
description: Entity id of the counter to decrement.
example: "counter.count0"
increment:
description: Increment a counter.
fields:
entity_id:
description: Entity id of the counter to increment.
example: "counter.count0"
reset:
description: Reset a counter.
fields:
entity_id:
description: Entity id of the counter to reset.
example: "counter.count0"
configure:
description: Change counter parameters
fields:
entity_id:
description: Entity id of the counter to change.
example: "counter.count0"
minimum:
description: New minimum value for the counter or None to remove minimum
example: 0
maximum:
description: New maximum value for the counter or None to remove maximum
example: 100
step:
description: New value for step
example: 2
initial:
description: New value for initial
example: 6
value:
description: New state value
example: 3