diff --git a/dashboards/minimal/declutter.yaml b/dashboards/minimal/declutter.yaml index 43647f9..8cc9093 100644 --- a/dashboards/minimal/declutter.yaml +++ b/dashboards/minimal/declutter.yaml @@ -86,3 +86,16 @@ header: show: true title: Temperatur + +humidity_chart_template: + card: + type: custom:apexcharts-card + series: + - entity: "[[entity]]" + stroke_width: 2 + apex_config: + chart: + height: 200px + header: + show: true + title: Luftfugtighed diff --git a/dashboards/minimal/views/jens.yaml b/dashboards/minimal/views/jens.yaml index ee2ba3f..df2ded8 100644 --- a/dashboards/minimal/views/jens.yaml +++ b/dashboards/minimal/views/jens.yaml @@ -11,6 +11,12 @@ template: temperature_chart_template variables: - entity: climate.wavin_9000_jens_vaerelse + + - type: custom:decluttering-card + template: humidity_chart_template + variables: + - entity: sensor.temp4_humidity + - type: custom:decluttering-card template: light_group_list_template variables: diff --git a/dashboards/minimal/views/kokken.yaml b/dashboards/minimal/views/kokken.yaml index 3d17004..fc3cf61 100644 --- a/dashboards/minimal/views/kokken.yaml +++ b/dashboards/minimal/views/kokken.yaml @@ -13,6 +13,11 @@ - entity: climate.wavin_9000_kokken - type: custom:decluttering-card + template: humidity_chart_template + variables: + - entity: sensor.netatmo_simstrup_weather_indoor_humidity + + - type: custom:decluttering-card template: light_group_list_template variables: - group_name: kokken_alle_gruppe diff --git a/dashboards/minimal/views/niels.yaml b/dashboards/minimal/views/niels.yaml index e813ad4..5837f6e 100644 --- a/dashboards/minimal/views/niels.yaml +++ b/dashboards/minimal/views/niels.yaml @@ -13,6 +13,11 @@ - entity: climate.wavin_9000_niels_vaerelse - type: custom:decluttering-card + template: humidity_chart_template + variables: + - entity: sensor.temp1_humidity + + - type: custom:decluttering-card template: light_group_list_template variables: - group_name: niels_gruppe diff --git a/dashboards/minimal/views/sove.yaml b/dashboards/minimal/views/sove.yaml index 5a0c6e6..dfc5533 100644 --- a/dashboards/minimal/views/sove.yaml +++ b/dashboards/minimal/views/sove.yaml @@ -11,6 +11,12 @@ template: temperature_chart_template variables: - entity: climate.wavin_9000_sovevaerelse + + - type: custom:decluttering-card + template: humidity_chart_template + variables: + - entity: sensor.temp3_humidity + - type: custom:decluttering-card template: light_group_list_template variables: diff --git a/dashboards/minimal/views/stue.yaml b/dashboards/minimal/views/stue.yaml index 2826d44..ac01c01 100644 --- a/dashboards/minimal/views/stue.yaml +++ b/dashboards/minimal/views/stue.yaml @@ -13,6 +13,11 @@ - entity: climate.wavin_9000_stue - type: custom:decluttering-card + template: humidity_chart_template + variables: + - entity: sensor.temp2_humidity + + - type: custom:decluttering-card template: light_group_list_template variables: - group_name: stue_gruppe diff --git a/template/historic_energy_price.yaml b/template/historic_energy_price.yaml index 68ebdb7..4648a4e 100644 --- a/template/historic_energy_price.yaml +++ b/template/historic_energy_price.yaml @@ -10,3 +10,7 @@ 95th: "{{ states('sensor.average_energy_price_last_30d_mean') | float(0) + states('sensor.energy_price_last_30d_std') | float(0) * 1.65 }}" 99th: "{{ states('sensor.average_energy_price_last_30d_mean') | float(0) + states('sensor.energy_price_last_30d_std') | float(0) * 2.33 }}" 100th: "{{ states('sensor.average_energy_price_last_30d_mean') | float(0) + states('sensor.energy_price_last_30d_std') | float(0) * 3.9 }}" + +- sensor: + - name: "Daily energy price average" + state: "{{ state_attr('sensor.energi_data_service', 'today_mean') }}"