Comments (17)
update to .23 , HA restart nad hourly sensor works :) ... even without full component reinstall ... thx
from hasmartirrigation.
so far so good :) closing
from hasmartirrigation.
Ok, so you didn;t rename your integration.. Can you set your own integration name during setup (first popup above the OWM Api key). I'm using v0.0.22 using 2 integrations and didn't see this problem at all.
from hasmartirrigation.
i do not have to rename it as default name is perfectly fine for me :) further, all my other template sensors are ready for default name so do want to do it :)
anyway ... it is strange that only hourly sensor is unavailable , daily and base are ok
from hasmartirrigation.
but for test purposes I added second integration with some new name and all works ok. So must be issue with default name used during first setup
from hasmartirrigation.
Huh? I am using the default name in my production setup and it works fine. Please don't change anything. I will add some debug logging and push a new version so we can iron this out.
from hasmartirrigation.
In the meantime can you please share screenshots of all details so I can replicate your situation here?
from hasmartirrigation.
funny but when I added second integration with some new name and removed it from integration list, without even touching the original one where I had broken sensor , everything is ok now .. .so really strange :) I have not done anything despite adding second integration and removing it .. .that's all .. I haven't even restarted HA :)
look at the blank line in the history graph :)
back again ~1h ago
from hasmartirrigation.
Weird. Without knowledge of the data at the time I cannot fix this. I will build some extra safeguards for what I think is going on though.
from hasmartirrigation.
indeed weird :) what kind of data/screenshots shall I collect next time ?
from hasmartirrigation.
The screenshots that you shared: entities and their attributes are enough
from hasmartirrigation.
you will not gonna believe :) just restarted HA and again my hourly sensor unavailable
log:
2020-05-30 19:09:17 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 111, in _handle_refresh_interval
await self.async_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 177, in async_refresh
update_callback()
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'
from hasmartirrigation.
thanks, stay tuned for an update soonish ;)
from hasmartirrigation.
no rush :) ... raining second day in a row and tomorrow seem to be the same so zero stress :)
from hasmartirrigation.
;)
from hasmartirrigation.
Please give in another day and if it still works go ahead and close the issue
from hasmartirrigation.
Thanks!
from hasmartirrigation.
Related Issues (20)
- Setting max bucket should be applied immediately not only after calc
- Grab min max from OWM daily like precip? HOT 63
- Open weather map - new Beta - API Key invalid during setup HOT 3
- smart_irrigation_start_irrigation_all_zones fired multiple times HOT 2
- Calculate for zone failed: no data available HOT 11
- "Cannot talk to OWM API, check API key." With a known good API key HOT 3
- Output not updating HOT 3
- Failure Calculating all automatic zones HOT 2
- Failed to set up error. HOT 5
- Calculations are not correct? by design? HOT 3
- Sensors are still at 0 despite 2 days of heat HOT 10
- Add timestamps to weatherdata, last updated per sensor group, and last calculated per zone.
- [REQ] add data last updated time on zone page.
- Lat lon is read from UI config zetting, not from configuration.yaml (if set) HOT 54
- Trigger auto update immediately after delay instead of waiting HOT 1
- [REQ] attributes for zones HOT 1
- Zones tab not showing zones HOT 3
- New install does not calculate automatically?
- Issue with aggregates
- Auto update delay key not found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hasmartirrigation.