MyStrom in configuration yaml

Hi All,

whats about this message after upgrade to 2023.7.1 ?

‐----‐‐--------
Die myStrom YAML-Konfiguration wird entfernt

Dies funktioniert nicht mehr in Version 2023.12.0. Bitte behebe dies vor dem Upgrade.
----‐-----------

Can anyone give me informationen about this please?

Tanks
BR
Hannes

Update:
I found it myself, it is the myStrom switch, that is now changed to myStrom-integration

@Hannes-D-0815 here did you find the settings now? Can you explain me or give me an hint? Im just looking for the settings - i already remove if from my configuration.yaml but where i find i now?

ah oky i found it.

Hi all

After the myStrom has been integrated, I’m missing the possibility to read out the unit of measurement for visualize the power consumption of the myStrom Switches (Wifi).

This was working before the above mentioned upgrade but now I’m only having the option for RX, TX and uptime.

# myStrom Office
sensor:
  - platform: rest
    name: "pwrplg01 office"
    resource: http://10.20.30.8/report
    method: GET
    unit_of_measurement: W
    device_class: power
    state_class: measurement
    value_template: "{{ value_json.power }}"

Any idea how to fix this with the latest Home Assistant version?

Thank you.

Cheers
P4SQL

Hi,
in case of my english is not so good:
is this what you want?

MyStrom Switch Werte Balkon PV

rest:

  • scan_interval: 1
    resource: http://192.x.x.x/report
    method: GET
    sensor:
    • name: “myStrom power”
      value_template: “{{ value_json.power}}”
      unit_of_measurement: “W”
      device_class: power
      state_class: measurement
    • name: “myStrom energy”
      value_template: “{{ value_json.Ws}}”
      unit_of_measurement: “W”
      state_class: measurement
      device_class: power
    • name: “myStrom relay”
      value_template: “{{ value_json.relay}}”
    • name: “myStrom temperature”
      value_template: “{{ value_json.temperature}}”
      unit_of_measurement: “°C”

MyStrom Integration

  • platform: integration
    source: sensor.mystrom_energy
    name: myStrom energy consumption
    method: left
    round: 2
  • platform: integration
    source: sensor.mystrom_power
    name: myStrom power consumption
    method: left
    round: 2

homeassistant:
customize:
sensor.mystrom_energy_consumption:
unit_of_measurement: “Wh”
device_class: energy
sensor.mystrom_power_consumption:
unit_of_measurement: “Wh”
device_class: energy

BR
Hannes