Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
restarting Home Assistant does not change anything and this problem has been there since the beginning of adding the two devices
Platform:
Home assistant 2024.10.4
Additional context
Add any other context about the problem here.
Logs
Please share your Home Assistant logs here. Make sure to remove any personal/secret information.
Enregistreur: homeassistant.components.climate
Source: helpers/entity_platform.py:595
intégration: Thermostat (documentation, problèmes)
S'est produit pour la première fois: 18:32:03 (1 occurrences)
Dernier enregistrement: 18:32:03
Error adding entity climate.gree_rdc for domain climate with platform gree
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 595, in _async_add_entities
await coro
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 909, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1365, in add_to_platform_finish
await self.async_added_to_hass()
File "/config/custom_components/gree/climate.py", line 1329, in async_added_to_hass
self.update()
File "/config/custom_components/gree/climate.py", line 1127, in update
self.SyncState()
File "/config/custom_components/gree/climate.py", line 703, in SyncState
self.UpdateHAStateToCurrentACState()
File "/config/custom_components/gree/climate.py", line 606, in UpdateHAStateToCurrentACState
self.UpdateHACurrentPresetMode()
File "/config/custom_components/gree/climate.py", line 580, in UpdateHACurrentPresetMode
self._preset_mode = self._preset_modes[self._acOptions['SwingLfRig']]
Describe the bug
I have 2 air conditioners, the first one does not cause any problems, but the second one is very regularly unavailable, I don't understand the reason.
they both have the same firmware and are the same brand.
restarting Home Assistant does not change anything and this problem has been there since the beginning of adding the two devices
Configuration Share your YAML here
platform: gree name: GREE_etage host: 192.168.1.140 port: 7000 target_temp_step: 1 mac: 50:2c:c6:e1:27:43 encryption_version: 2 timeout: 60 health: input_boolean.ac_Jelle_ionisatie xfan: input_boolean.ac_Jelle_xfan lights: input_boolean.ac_Jelle_light sleep: input_boolean.ac_Jelle_sleep horizontal_swing: true
platform: gree
name: GREE_rdc host: 192.168.1.190 port: 7000 target_temp_step: 1 mac: 50:2c:c6:e1:27:36 encryption_version: 2 timeout: 60 health: input_boolean.ac_Jelle_ionisatie xfan: input_boolean.ac_Jelle_xfan lights: input_boolean.ac_Jelle_light sleep: input_boolean.ac_Jelle_sleep horizontal_swing: true
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
restarting Home Assistant does not change anything and this problem has been there since the beginning of adding the two devices
Platform: Home assistant 2024.10.4
Additional context Add any other context about the problem here.
Logs Please share your Home Assistant logs here. Make sure to remove any personal/secret information. Enregistreur: homeassistant.components.climate Source: helpers/entity_platform.py:595 intégration: Thermostat (documentation, problèmes) S'est produit pour la première fois: 18:32:03 (1 occurrences) Dernier enregistrement: 18:32:03
Error adding entity climate.gree_rdc for domain climate with platform gree Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 595, in _async_add_entities await coro File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 909, in _async_add_entity await entity.add_to_platform_finish() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1365, in add_to_platform_finish await self.async_added_to_hass() File "/config/custom_components/gree/climate.py", line 1329, in async_added_to_hass self.update() File "/config/custom_components/gree/climate.py", line 1127, in update self.SyncState() File "/config/custom_components/gree/climate.py", line 703, in SyncState self.UpdateHAStateToCurrentACState() File "/config/custom_components/gree/climate.py", line 606, in UpdateHAStateToCurrentACState self.UpdateHACurrentPresetMode() File "/config/custom_components/gree/climate.py", line 580, in UpdateHACurrentPresetMode self._preset_mode = self._preset_modes[self._acOptions['SwingLfRig']]