core/homeassistant/components/utility_meter/services.yaml

26 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'