* initial commit * test service calls * lint * float -> Decimal * extra tests * lint * lint * lint * lint * fix self reset * clean * add services * improve service example description * add optional paused initialization * fix * travis fix * fix YEARLY * add tests for previous bug * address comments and suggestions from @ottowinter * lint * remove debug * add discoverability capabilities * no need for _hass * Update homeassistant/components/sensor/utility_meter.py Co-Authored-By: dgomes <diogogomes@gmail.com> * Update homeassistant/components/sensor/utility_meter.py Co-Authored-By: dgomes <diogogomes@gmail.com> * correct comment * improve error handling * address @MartinHjelmare comments * address @MartinHjelmare comments * one patch is enought * follow @ballob suggestion in https://github.com/home-assistant/architecture/issues/131 * fix tests * review fixes * major refactor * lint * lint * address comments by @MartinHjelmare * rename variable
25 lines
705 B
YAML
25 lines
705 B
YAML
# Describes the format for available switch services
|
|
|
|
reset:
|
|
description: Resets the counter of an utility meter.
|
|
fields:
|
|
entity_id:
|
|
description: Name(s) of the utility meter to reset
|
|
example: 'utility_meter.energy'
|
|
|
|
next_tariff:
|
|
description: Changes the tariff to the next one.
|
|
fields:
|
|
entity_id:
|
|
description: Name(s) of entities to reset
|
|
example: 'utility_meter.energy'
|
|
|
|
select_tariff:
|
|
description: selects the current tariff of an utility meter.
|
|
fields:
|
|
entity_id:
|
|
description: Name of the entity to set the tariff for
|
|
example: 'utility_meter.energy'
|
|
tariff:
|
|
description: Name of the tariff to switch to
|
|
example: 'offpeak'
|