HA - Water Valve - Liters
unknown
yaml
16 days ago
2.0 kB
50
Indexable
Never
sensor: #Water Consumption Garden Valve - platform: integration unique_id: dbcb1737-0fd2-4fc9-a6da-306b5a6a2433 source: sensor.valve_garden_flow name: water_consumption_garden round: 3 method: left - platform: template sensors: garden_water_daily_l: value_template: "{{ (float(states('sensor.garden_water_daily'))) * 1000 }}" friendly_name: 'garden_water_daily_l' unique_id: 06e9dd9b-11a2-439a-bb78-d2d3c5c56cc1 unit_of_measurement: l device_class: volume - platform: template sensors: garden_water_weekly_l: value_template: "{{ (float(states('sensor.garden_water_weekly'))) * 1000 }}" friendly_name: 'garden_water_weekly_l' unique_id: a330939f-c3fe-4319-827c-dbac19330c53 unit_of_measurement: l device_class: volume - platform: template sensors: garden_water_monthly_l: value_template: "{{ (float(states('sensor.garden_water_monthly'))) * 1000 }}" friendly_name: 'garden_water_monthly_l' unique_id: 2dd46174-454c-4a22-a2bb-cc6a401e182e unit_of_measurement: l device_class: volume - platform: template sensors: garden_water_yearly_l: value_template: "{{ (float(states('sensor.garden_water_yearly'))) * 1000 }}" friendly_name: 'garden_water_yearly_l' unique_id: 76bd4f69-1a5e-4998-91a1-62782e1fdd9a unit_of_measurement: l device_class: volume utility_meter: # Garden Water daily garden_water_daily: source: sensor.water_consumption_garden cycle: daily # Garden Water weekly garden_water_weekly: source: sensor.water_consumption_garden cycle: weekly # Garden Water monthly garden_water_monthly: source: sensor.water_consumption_garden cycle: monthly # Garden Water yearly garden_water_yearly: source: sensor.water_consumption_garden cycle: yearly