TonyM1958 / HA-FoxESS-Modbus

Home Assistant integration code for Fox ESS H1, H1-G2, H3 and KH inverters
24 stars 2 forks source link

Master, Slave and Manager Versions do not display correctly after updating to 1.5.6 #23

Open TonyM1958 opened 5 months ago

TonyM1958 commented 5 months ago

Version 1.5.6 of this integration required a change to the handling of Master, Slave and Manager versions as new inverters use hex encoding instead of decimal encoding. After updating, the sensors 'Master Version', 'Slave Version' and 'Manager Version' become unavailable.

This is because they have changed from being provided by Modbus to being provided by a template. As a result the old sensors are unavailable and the new sensors are created with the name suffixed with _2.

To resolve this, go to Setting, Devices & Services, Entities. Find the sensors 'Master Version', 'Slave Version' and 'Manager Version' provided by Modbus and remove them. Then find the sensors 'Master Version', 'Slave Version' and 'Manager Version' provided by template. Click on the sensor and then click the cog in the pop-up. Remove _2 from end of the Entity ID and then click Update.

The sensors should now display the correct values.