Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106658

Convert uptime in Gas (m³)

$
0
0

Hi, ive created a sensor with uptime of my thermostat.
How i can convert my uptime in m³?

  - platform: history_stats
    name: Uptime Riscaldamento
    entity_id: climate.riscaldamento
    state: "heat_cool"
    type: time
    start: "{{ now().replace(hour=0, minute=0, second=0) }}"
    end: "{{ now() }}"

This is my sensor, i need a sensor with m³ : get the value of sensor.climate.riscaldamento and multiply for 2.89.

Thank you all

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106658

Trending Articles