Sensor Rain delay errors on startup
See original GitHub issueThe following appears in my home-assistant log upon every restart for the rain_delay_*_remaining
and rain_delay_*_finishing
for each device:
2020-05-25 14:03:44 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.rain_delay_deck_finishing fails
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 279, in async_update_ha_state
await self.async_device_update()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 470, in async_device_update
await self.async_update()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/template/sensor.py", line 224, in async_update
self._state = self._template.async_render()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/template.py", line 228, in async_render
return compiled.render(kwargs).strip()
File "/srv/homeassistant/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render
self.environment.handle_exception()
File "/srv/homeassistant/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/srv/homeassistant/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "<template>", line 1, in top-level template code
TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (9 by maintainers)
Top Results From Across the Web
Orbit rain sensor and rain delay | OpenSprinkler
Hi all, I'm experimenting with a rain sensor and the rain delay and I have ... Only after a reboot from remote, the...
Read more >Watering for 1 min or less with Rain Sensor installed
A quick fix is to hold down the “Rain Delay” button for about 5 seconds. SENS OFF should appear in the display indicating...
Read more >Weather Station Error Codes on SmartLink - Support
This alert is generated when the weather station has failed to communicated with the controller. What might happen as a result of the...
Read more >How can we help? - Rain Bird Smart Irrigation WiFi Timer
Establishing communication to the controller timed out. It attempted to connect to the controller; however, the controller did not respond within an expected ......
Read more >7 Symptoms of a Bad Mass Air Flow Sensor
Shake out the dust. Blow out the intake tubing and install a new air filter to prevent future dust intrusion. · Use a...
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
Those
rain_delay_finishing
andrain_delay_remaining
sensor examples are a bit… fragile. They were indicative only.However - I do have a
python_script
which creates and updates sensors to do this which I’ll package up into a release. Will need a day or two to publish a beta release.@TheGardenMonkey I’m going to close this issue as the original startup errors have been fixed. I am aware of the limitation of the next watering script ignoring non-smart watering programs 😃