From: Giorgio Ravera Date: Tue, 26 Apr 2022 21:20:26 +0000 (+0200) Subject: Replaced energy graph with plotly-graph X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=0db3f708fcf6da0d0d858b4cb1a6342d388b5040;p=homeassistant.git Replaced energy graph with plotly-graph --- diff --git a/.storage/lovelace b/.storage/lovelace index 00a97c88..7dae8a01 100644 --- a/.storage/lovelace +++ b/.storage/lovelace @@ -1409,6 +1409,53 @@ "position": "sidebar" } }, + { + "type": "custom:plotly-graph", + "entities": [ + "sensor.shelly_em_channel_1_power" + ], + "hours_to_show": 24, + "refresh_interval": 0, + "title": "Consumo Eenergetico", + "layout": { + "height": 500, + "xaxis": { + "rangeselector": { + "buttons": [ + { + "count": 1, + "step": "hour" + }, + { + "count": 6, + "step": "hour" + }, + { + "count": 12, + "step": "hour" + }, + { + "count": 1, + "step": "day" + }, + { + "count": 2, + "step": "day" + }, + { + "count": 7, + "step": "day" + } + ] + } + } + }, + "config": { + "scrollZoom": true, + "displayModeBar": false, + "displaylogo": false + } + }, { "entities": [ { @@ -1421,19 +1468,8 @@ "title": "Consumi", "type": "entities", "view_layout": { - "position": "sidebar" + "position": "main" } - }, - { - "type": "history-graph", - "entities": [ - { - "entity": "sensor.shelly_em_channel_1_power" - } - ], - "hours_to_show": 24, - "refresh_interval": 0, - "title": "Consumo Eenergetico" } ] },