Since my update from 2022.3.8 to 2022.4.2 yesterday, the myStrom integration stopped reporting power consumption.
This was/is done via this template sensor
- platform: template
sensors:
washing_machine:
friendly_name: "Washing Machine"
unit_of_measurement: "W"
value_template: >
{% if state_attr('switch.washing_machine', 'current_power_w')|string != 'None' %}
{{ state_attr('switch.washing_machine', 'current_power_w') }}
{% else %}
0
{% endif %}
dryer:
friendly_name: "Dryer"
unit_of_measurement: "W"
value_template: >
{% if state_attr('switch.dryer', 'current_power_w')|string != 'None' %}
{{ state_attr('switch.dryer', 'current_power_w') }}
{% else %}
0
{% endif %}
since the update, thr switch still reports as “on”, but has no more attributes to it.
Can anyone confirm that since the update to core 2022.4.2 (or anything between 2022.3.8 and 2022.4.2) the myStrom switches don’t have attributes anymore?