Hello dear community. I was searching for an answer, but could not find any. I have created 3 sensors in my configuration long time ago:
sensor:
- platform: statistics
name: "Минимальная цена дизеля за последние 7 дней"
entity_id: sensor.minimalnaia_tsena_topliva_seichas
unique_id: 50ef0217-847c-419b-802f-f742c61cd5a5
state_characteristic: value_min
precision: 3
max_age:
hours: 168
- platform: statistics
name: "Минимальная цена дизеля за последний день"
entity_id: sensor.minimalnaia_tsena_topliva_seichas
unique_id: 1ba748ee-8e0e-48c2-95d3-fc715e7f06cc
state_characteristic: value_min
precision: 3
max_age:
hours: 8 #12
- platform: statistics
name: "Максимальная цена дизеля за последний день"
entity_id: sensor.maksimalnaia_tsena_topliva
unique_id: ff690650-11a5-4477-a2eb-d5ab8b8c33b6
state_characteristic: value_max
precision: 3
max_age:
hours: 8 #12
The aim is to collect Diesel Prices into one place and show it on the graph.
Now new Petrol station was build near and I would like to add it to the existing statistic sensors, but I could not find a way to do it.