Comments (14)
My config is all on my github if you want to see - but to confirm I have no
sensor:
- platform: hue
anywhere in my config, and the sensors are working perfectly.
I do have both parts of the custom_component in my custom_components directory (although I am wondering if I can remove the sensor folder).
If I add the above lines back in all my groups fail to load with no error messages pertinent to anything to do with groups or the sensor.
from hue-sensors-hass.
Sounds like you could have it configured twice? I’ve not tried 0.62 myself yet.
from hue-sensors-hass.
Nope, definitely not configured anywhere else.
It's like the sensor is hardcoded in the python somewhere?
from hue-sensors-hass.
You could delete the database, restart, see if there are errors. Unfortunately without error messages I've no way to debug.
from hue-sensors-hass.
I am afraid this can only be fixed with a change to the code.
from hue-sensors-hass.
From @mf-social
Robin,
STOP!
(pauses for effect - love a bit of drama 😉 )
In the other issue I said I think the sensor is somehow now hardcoded in the python. It is (even if you don't know it, or it shouldn't be) but the important thing is it's not a problem.
Here's what I have done to check everything out, but if you need any more info then let me know....
I have grep'd my entire install to ensure that there are no erroneous references to sensor platform hue.
I completely removed both hue.py and sensor/hue.py from my system, I deleted the database and rebooted the pi.
No sensors as expected and, crucially, no errors complaining that it cannot set up the sensor hue platform, so there are definitely no references to it in my system
Re-add only the hue.py, restart homeassistant, persistent notification complains that it cannot find sensor.hue. I have not re-included that platform, so it MUST be hard-coded in to your hue.py somewhere.
Reintroduce sensor/hue.py and all errors disappear, and the hue sensors return.
The only ting you need to do to fix this issue is remove the instruction to include
sensor:
- platform: hue
As that is what is causing the problem (maybe an endless loop or something)
Hope this helps.
from hue-sensors-hass.
Yes the modified hue hub component references the sensors platform, so throws an error if not present. See here.
Therefore, if you remove the hue sensors you also need to remove the modified hue hub.
from hue-sensors-hass.
Yeah, you're missing the point.
If you include the lines
sensor:
- platform: hue
It breaks the configuration. When you remove these lines it's fine and the sensors still work.
from hue-sensors-hass.
This may be a new issue in 0.62, perhaps related to Discovery. Will reopen but wait and see if others report the same behaviour before updating docs. I've yet to test 0.62 myself.
from hue-sensors-hass.
OK I updated to 0.62 an did not experience the issue you report. Will keep this open for time-being to see if anyone else has problems.
from hue-sensors-hass.
Can you check if you still get the sensors working if you remove the sensor lines from your configuration?
Seems weird that I don't need them and will require further investigation at my end if it doesn't work elsewhere.
Groups issue could be manifesting because all my config is in packages, but it only manifests when I reinclude the sensor lines.
from hue-sensors-hass.
Just a quick update for you - I've had to rebuild my system thanks to SD card corruption, and in doing so I've obviously copied over configuration files, but not any of the databases or background stuff.
I stlll do not require the entry
sensor:
- platform: hue
and my sensors are still working fine.
I have not tried reintroducing the lines to see if I lose my groups again, but I might when I get a bit more keyboard time at some point.
FYI.
from hue-sensors-hass.
Hi Mark
I've updated the main README to mention that configuring the sensors is optional, due to discovery.
I'm leaving it there as an option as some people turn off discovery.
Cheers
from hue-sensors-hass.
I don't use discovery - so it's not that. 😕
Not to worry, my config is working. 👍
from hue-sensors-hass.
Related Issues (20)
- Use the same data source as Home Assistant HOT 1
- missing 1 required positional argument: 'sensors' HOT 7
- 2.13: no binary_sensors created HOT 4
- 2.13 Multi Bridge scenario broken? HOT 13
- FR: add unique hub-id/bridgeid to sensor for multi-hub setup
- 2.13 Log errors when motion sensor triggered. HOT 6
- Extraneous Warning in Z3 Switch Parsing HOT 1
- Drop support for motion sensors? HOT 5
- Hue tap/dimmer remotes still show toggle on more-info
- Split out remotes HOT 4
- Dimmer switches don't work? HOT 1
- Cannot find Hue remotes HOT 2
- Documentation: With HA 0.107.x the view option is now removed from Groups
- dimmer (remote) not discovered HOT 1
- How To Use Dimmer Switch? HOT 2
- Binary Sensory Device Deprecated HOT 1
- No 'version' key in the manifest file HOT 2
- Pytest raising errors HOT 1
- Integration completely broken in 2016.6.0 HOT 5
- Archiving
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 hue-sensors-hass.