mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Improves UX of Utility Meter services (#48556)
This commit is contained in:
parent
8adbc62a6e
commit
24b9d73392
@ -1,35 +1,40 @@
|
|||||||
# Describes the format for available switch services
|
# Describes the format for available switch services
|
||||||
|
|
||||||
reset:
|
reset:
|
||||||
|
name: Reset
|
||||||
description: Resets the counter of an utility meter.
|
description: Resets the counter of an utility meter.
|
||||||
fields:
|
target:
|
||||||
entity_id:
|
|
||||||
description: Name(s) of the utility meter to reset
|
|
||||||
example: "utility_meter.energy"
|
|
||||||
|
|
||||||
next_tariff:
|
next_tariff:
|
||||||
|
name: Next Tariff
|
||||||
description: Changes the tariff to the next one.
|
description: Changes the tariff to the next one.
|
||||||
fields:
|
target:
|
||||||
entity_id:
|
|
||||||
description: Name(s) of entities to reset
|
|
||||||
example: "utility_meter.energy"
|
|
||||||
|
|
||||||
select_tariff:
|
select_tariff:
|
||||||
description: selects the current tariff of an utility meter.
|
name: Select Tariff
|
||||||
|
description: Selects the current tariff of an utility meter.
|
||||||
|
target:
|
||||||
fields:
|
fields:
|
||||||
entity_id:
|
|
||||||
description: Name of the entity to set the tariff for
|
|
||||||
example: "utility_meter.energy"
|
|
||||||
tariff:
|
tariff:
|
||||||
|
name: Tariff
|
||||||
description: Name of the tariff to switch to
|
description: Name of the tariff to switch to
|
||||||
example: "offpeak"
|
example: "offpeak"
|
||||||
|
required: true
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
|
|
||||||
calibrate:
|
calibrate:
|
||||||
description: calibrates an utility meter.
|
name: Calibrate
|
||||||
|
description: Calibrates a utility meter sensor.
|
||||||
|
target:
|
||||||
|
entity:
|
||||||
|
domain: sensor
|
||||||
fields:
|
fields:
|
||||||
entity_id:
|
|
||||||
description: Name of the entity to calibrate
|
|
||||||
example: "utility_meter.energy"
|
|
||||||
value:
|
value:
|
||||||
|
name: Value
|
||||||
description: Value to which set the meter
|
description: Value to which set the meter
|
||||||
example: "100"
|
example: "100"
|
||||||
|
required: true
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user