hourly sensor unavailable
See original GitHub issuev. 0.0.22 removed integration, removed component, restart, added component, restart, added integration -> hourly sensor unavailable:
log:
2020-05-30 13:10:17 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up smart_irrigation platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 186, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 295, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 446, in _async_add_entity
entity.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 297, in async_write_ha_state
self._async_write_ha_state() # type: ignore
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 320, in _async_write_ha_state
state = self.state
File "/config/custom_components/smart_irrigation/sensor.py", line 308, in state
self._state = self.update_state()
File "/config/custom_components/smart_irrigation/sensor.py", line 286, in update_state
self.precipitation = self.get_precipitation(data)
File "/config/custom_components/smart_irrigation/sensor.py", line 410, in get_precipitation
retval = self.rain + self.snow
TypeError: unsupported operand type(s) for +: 'float' and 'str'
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (8 by maintainers)
Top Results From Across the Web
Utility Meter total_increasing not working as expected
Created a Utility Meter sensor to count all the received seconds from a sensor and show a daily summary.
Read more >Sensor Malfunction - Brinks Home Security
Common reasons a sensor will go into Failure or Malfunction are: The battery in the sensor is dead. The sensor is too far...
Read more >Inacceptable huge default "sensor unavailable time" of 24 hours
Problem: Once sensors do not provide any updates, it takes deCONZ full 24 hours (!!!) to categorize them as “unavailable”.
Read more >Issues with sensors not working consistantly in Environment ...
In sensor: Loading the sensors only works 25% of the time. ... Any ideas on how to get this to work consistantly ?...
Read more >Aeon multi sensor 6 - not working properly? Help!
Battery powered is not real-time and based on a polling interval. Looking at my logs temp and humidity tends to be hourly unless...
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 FreeTop 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
Top GitHub Comments
update to .23 , HA restart nad hourly sensor works 😃 … even without full component reinstall … thx
so far so good 😃 closing