Async error: AttributeError: 'WiserAwayModeTempNumber' object has no attribute '_attr_value'
See original GitHub issueRunning HA 2022.6.7 and the latest and greatest version of this integration 3.1.
The following error pops up in the logs, Away temperature used to be set to 16 C, now it cannot read it.
2022-07-10 12:24:32 ERROR (MainThread) [homeassistant.util.logging] Exception in async_update_state when dispatching 'WiserHeat02B2D4-HubUpdateMessage': ()
Traceback (most recent call last):
File "/config/custom_components/wiser/number.py", line 96, in async_update_state
await self.async_update_ha_state(True)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 520, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 571, in _async_write_ha_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 539, in _stringify_state
if (state := self.state) is None:
File "/usr/src/homeassistant/homeassistant/components/number/__init__.py", line 170, in state
return self.value
File "/usr/src/homeassistant/homeassistant/components/number/__init__.py", line 175, in value
return self._attr_value
AttributeError: 'WiserAwayModeTempNumber' object has no attribute '_attr_value'
Issue Analytics
- State:
- Created a year ago
- Comments:10
Top Results From Across the Web
Attribute Error while trying to make a list out of async function
I am trying to make a list from the async function in python and cannot seem to get it done. I get the...
Read more >'AsyncEventInfo' object has no attribute 'json' · Issue ... - GitHub
[BUG] AttributeError: 'AsyncEventInfo' object has no attribute 'json' #1161 ... i get Error that said Coruntine doesn't have attribute json.
Read more >Tweepy 'Status' object has no attribute when trying to 'tweet ...
Hey I'm not a coder but I really want to learn how to solve my errors. Could anyone please have a look what...
Read more >Python AttributeError — What is it and how do you fix it?
AttributeError : '***' object has no attribute '***'What is an AttributeError in Python? What can you do to fix it? When does it...
Read more >'types.SimpleNamespace' object has no attribute 'session ...
The program needs to connect to the database,It is error. it is ok async def index(): red = Red() r = await red.get_redis_pool()...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
OK. Now logged issue on core #74883
I have fixed this issue by reverting the change made in v3.1.0 in v3.1.1 - released. For now it will just have to show the deprecation warning and a future release will force an upgrade to at least 2022.7