Hey guys. I just updated to the latest release 2021.7.3. I have 2 SMA sunnyboy solar inverters that i used to use modbus and pull in the info. Everything was working correctly until i updated. I did some searching and looked at the release notes to see if there was some breaking changes. I cant seem to locate anything to explain why this happened. Could anyone help me out?
In config.yaml
sensor.yaml
#### modbus 60 sec polling ####
- platform: modbus
scan_interval: 60
registers:
###################################
### SMA 6.0 INVERTER ##############
###################################
- name: SB 6.0 Solar Power
hub: SB 6.0 Inverter
device_class: power
unit_of_measurement: W
slave: 3
register: 30775
register_type: input
count: 2
# - name: DC Power SB Inverter CH A
# hub: SB 6.0 Inverter
# device_class: power
# unit_of_measurement: W
# slave: 3
# register: 30773
# register_type: input
# count: 2
# - name: DC Power SB Inverter CH B
# hub: SB 6.0 Inverter
# device_class: power
# unit_of_measurement: W
# slave: 3
# register: 30961
# register_type: input
# count: 2
# - name: Grid Power SB Inverter
# hub: SB 6.0 Inverter
# device_class: power
# unit_of_measurement: W
# slave: 3
# register: 30865
# register_type: input
# count: 2
# - name: Grid Feed SB Inverter
# hub: SB 6.0 Inverter
# device_class: power
# unit_of_measurement: W
# slave: 3
# register: 30867
# register_type: input
# count: 2
# - name: Daily Yield Inverter
# hub: SB 6.0 Inverter
# unit_of_measurement: 'kWh'
# slave: 3
# register: 30517
# count: 4
# register_type: input
# scale: 0.001
# precision: 3
- name: SB 6.0 Total Yield Inverter
hub: SB 6.0 Inverter
device_class: power
unit_of_measurement: Wh
slave: 3
register: 30529
register_type: input
count: 2
###################################
### SMA 6.0 INVERTER 2 ############
###################################
- name: SB 6.0 Solar Power 2
hub: SB 6.0 Inverter 2
device_class: power
unit_of_measurement: W
slave: 3
register: 30775
register_type: input
count: 2
# - name: DC Power SB Inverter 2 CH A
# hub: SB 6.0 Inverter 2
# device_class: power
# unit_of_measurement: W
# slave: 3
# register: 30773
# register_type: input
# count: 2
# - name: DC Power SB Inverter 2 CH B
# hub: SB 6.0 Inverter 2
# device_class: power
# unit_of_measurement: W
# slave: 3
# register: 30961
# register_type: input
# count: 2
# - name: Grid Power SB Inverter 2
# hub: SB 6.0 Inverter 2
# device_class: power
# unit_of_measurement: W
# data_type: int
# slave: 3
# register: 30865
# register_type: input
# count: 2
# - name: Grid Feed SB Inverter 2
# hub: SB 6.0 Inverter 2
# device_class: power
# unit_of_measurement: W
# data_type: int
# slave: 3
# register: 30867
# register_type: input
# count: 2
# - name: Daily Yield Inverter 2
# hub: SB 6.0 Inverter 2
# unit_of_measurement: 'kWh'
# slave: 3
# register: 30517
# count: 4
# register_type: input
# scale: 0.001
# precision: 3
- name: SB 6.0 Total Yield Inverter 2
hub: SB 6.0 Inverter 2
device_class: power
unit_of_measurement: Wh
slave: 3
register: 30529
register_type: input
count: 2
#### modbus 5 min polling ####
- platform: modbus
scan_interval: 300
registers:
- name: SB 6.0 Internal Temp Inverter
hub: SB 6.0 Inverter
device_class: temperature
unit_of_measurement: C
scale: 0.1
precision: 1
slave: 3
register: 34113
register_type: input
count: 2
- name: SB 6.0 Internal Temp Inverter 2
hub: SB 6.0 Inverter 2
device_class: temperature
unit_of_measurement: C
scale: 0.1
precision: 1
slave: 3
register: 34113
register_type: input
count: 2
- platform: template
sensors:
solar_power_total_watts:
friendly_name: Solar Power Total Watts
value_template: "{{ states('sensor.inverter_solar_acpower') | float + states('sensor.inverter_2_solar_acpower') | float }}"
unit_of_measurement: 'watts'
inverter_solar_acpower:
friendly_name: Solar ACPower
value_template: "{% if ((states('sensor.sb_6_0_solar_power') | float) < 0) %}0{% else %}{{states('sensor.sb_6_0_solar_power')}}{% endif %}"
unit_of_measurement: W
icon_template: "mdi:solar-power"
inverter_2_solar_acpower:
friendly_name: Solar ACPower 2
value_template: "{% if ((states('sensor.sb_6_0_solar_power_2') | float) < 0) %}0{% else %}{{states('sensor.sb_6_0_solar_power_2')}}{% endif %}"
unit_of_measurement: W
icon_template: "mdi:solar-power"
inverter_internal_temp:
friendly_name: Internal Temp
value_template: "{% if ((states('sensor.sb_6_0_internal_temp_inverter') | float) < 0) %}Offline{% else %}{{states('sensor.sb_6_0_internal_temp_inverter')}}{% endif %}"
unit_of_measurement: C
icon_template: "mdi:thermometer"
inverter_2_internal_temp:
friendly_name: Internal Temp 2
value_template: "{% if ((states('sensor.sb_6_0_internal_temp_inverter_2') | float) < 0) %}Offline{% else %}{{states('sensor.sb_6_0_internal_temp_inverter_2')}}{% endif %}"
unit_of_measurement: C
icon_template: "mdi:thermometer"
grid_power:
friendly_name: Grid Power
value_template: "{{ states('sensor.house_total_watts') | float - states('sensor.solar_power_total_watts') | float }}"
unit_of_measurement: W