samsungrac icon indicating copy to clipboard operation
samsungrac copied to clipboard

Release 4.2 breaks Samsung 2878

Open thomasja27 opened this issue 2 years ago • 5 comments

Get this error with my 2878 samsung AC, on Release 4.2. Rolled back to Release 4.1. Then everything works fine.

Logger: homeassistant Source: components/climate/init.py:245 First occurred: 11:21:20 (21 occurrences) Last logged: 11:31:22

Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 813, in _update_entity_states await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 532, in async_update_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 583, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 551, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 245, in state return HVACMode(self.hvac_mode).value File "/usr/local/lib/python3.10/enum.py", line 385, in call return cls.new(cls, value) File "/usr/local/lib/python3.10/enum.py", line 710, in new raise ve_exc ValueError: '' is not a valid HVACMode

thomasja27 avatar Nov 04 '22 10:11 thomasja27

I get the same on master, & can confirm that 4.1 works

There's only 1 commit between 4.1 & 4.2, which is 7d5278a9188ead7da472163d52af9d0488cd2da5

deece avatar Nov 11 '22 00:11 deece

#52 is related

deece avatar Nov 11 '22 01:11 deece

Not sure if #52 is related, i have the same issue with Samsung 2878, running latest HA 2023.1.7 with 4.1 and it's working fine, while at that issue people can't get it to work in latest HA versions. As OP, 4.2 breaks it for me and 4.1 works

bositman avatar Jan 23 '23 17:01 bositman

This was fixed with version 5.1

Nick398 avatar Jun 17 '23 07:06 Nick398

Can confirm 5.1 works fine with Samsung 2878

bositman avatar Jun 18 '23 13:06 bositman