ha-tahoma: AttributeError: 'str' object has no attribute 'value'
Did you read the instructions?
- I have read the README, including the advanced debugging section.
The problem
Just updated to v2.9.1 and my covers (Chutters) are back working but i can only open/close them once and than the position state is not correctly recognized which resultst in a greyed out cover that can no longer be used.
What version of this integration (ha-tahoma) has the issue?
2.9.1
What version of Home Assistant Core has the issue?
2021.10.6
Which gateway / hub do you use?
Somfy TaHoma
Device model
Somfy Box (Connexoon Hub)
Home Assistant log
Logger: custom_components.tahoma
Source: custom_components/tahoma/coordinator.py:109
Integration: Overkiz (by Somfy)
First occurred: 15:07:11 (5 occurrences)
Last logged: 15:12:05
Unexpected error fetching device events data: 'str' object has no attribute 'value'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/tahoma/coordinator.py", line 109, in _async_update_data
"event_name": event.name.value,
AttributeError: 'str' object has no attribute 'value'
Additional information
Some extra info: If i open/close it all the way it updates the position fine, soon as i open/close it let’s say halfway it’s no longer recognizing the correct position state, after reloading the integration i can use the chutters again but the entity number.screen_voorkant_my_position still shows the wrong position…
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 21 (1 by maintainers)
Mine is fixed with 2.9.2, thanks both you guys! Also no state attr error anymore and cover states updating fine depending on the open/closed value.
no I dont believe thats still happening.