diff --git a/configuration.yaml b/configuration.yaml index 077efdd..06245b4 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -19,7 +19,7 @@ logger: default: warn logs: - custom_components.stecamonitor: debug + custom_components.localtuya: critical recorder: commit_interval: 5 diff --git a/mqtt/solcelle.yaml b/mqtt/solcelle.yaml deleted file mode 100644 index 07212a7..0000000 --- a/mqtt/solcelle.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- state_topic: "stecamonitor/solcelle" - name: "Solcelle produktion" - unique_id: solar_production - unit_of_measurement: "W" - value_template: "{{ value_json.watt }}" - device_class: power - state_class: measurement diff --git a/sensors/energy.yaml b/sensors/energy.yaml index 9dc531a..dd4c704 100644 --- a/sensors/energy.yaml +++ b/sensors/energy.yaml @@ -1,11 +1,11 @@ - platform: integration - source: sensor.solcelle_produktion + source: sensor.steca_inverter_10_0_1_4_ac_power name: energy_generated method: left unit_prefix: k unit_time: h round: 8 - + - platform: integration source: sensor.tv_baenk_energi name: tv_baenk_power_used @@ -13,7 +13,7 @@ unit_prefix: k unit_time: h round: 4 - + - platform: integration source: sensor.aircondition_energi name: aircondition_power_used @@ -21,7 +21,7 @@ unit_prefix: k unit_time: h round: 4 - + - platform: integration source: sensor.opvaskemaskine_energi name: opvaskemaskine_power_used @@ -37,7 +37,7 @@ unit_prefix: k unit_time: h round: 4 - + - platform: integration source: sensor.teknikskab_energi name: teknikskab_power_used @@ -45,27 +45,3 @@ unit_prefix: k unit_time: h round: 4 - -- platform: statistics - name: Average energy price last 30d mean - entity_id: sensor.energi_data_service - state_characteristic: mean - sampling_size: 760 - max_age: - days: 30 - -- platform: statistics - name: Energy price last 30d (std) - entity_id: sensor.energi_data_service - state_characteristic: standard_deviation - sampling_size: 512 - max_age: - days: 30 - -- platform: statistics - name: Energy price last 30d (mean) - entity_id: sensor.energi_data_service - state_characteristic: mean - sampling_size: 512 - max_age: - days: 30 \ No newline at end of file