Comments (5)
Does the sensor write anything to the logs when one of the sources is unavailable? I would like to see the logs. This will greatly accelerate the work.
from ha-average.
this would be great, like in the min_max platform, if the state of sensors are unknown pls ignore them.
Now: if one sensors state is unknown the average value is also unknown.
from ha-average.
2019-09-23 10:15:19 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.test_avg_temp fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 261, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 439, in async_device_update
await self.async_update()
File "/config/custom_components/average/sensor.py", line 212, in async_update
'Unable to find an entity called {}'.format(entity_id))
homeassistant.exceptions.HomeAssistantError: Unable to find an entity called sensor.bathroom_temperature
from ha-average.
Please test this version of sensor:
https://github.com/Limych/ha-average/blob/d50ec1da99f31c700b248fe6119021806bd7f23e/custom_components/average/sensor.py
from ha-average.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from ha-average.
Related Issues (20)
- Configuration items HOT 1
- Add Interval Option HOT 3
- Data from the current month only HOT 1
- Looks like HA 2022.10 is breaking this component again HOT 1
- Fix hasn't worked: Average sensor still records lot of unnecessary attribute in the recorder that fills up the database quite fast HOT 1
- Issue in 2022.10.x Temperature HOT 4
- Shut be updated!? HOT 4
- Multiple Entity calculation timeout
- Sensor fails if temperature unit is "f" vs "F" HOT 1
- How to avoid error on HA Startup when entity is not available? HOT 1
- convert_temperature issue/error HOT 5
- Set interval using GUI
- Posibility restrict use only last value from dedicated scanning period.
- Problem with propagation of temperature unit when averaging a statistics helper
- Frequency of sensor update HOT 3
- Hi, the integration seems to break in HA 23.3.1 HOT 11
- This integration will stop working with Home Assistant 2023.4 HOT 8
- can't get average temperature over a 1 day period of last week HOT 3
- AverageSensor is using state class 'measurement' which is impossible considering device class ('energy') it is using
- Average only from values registered from the last X secs/mins/hrs. HOT 2
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 ha-average.