Comments (10)
I'll try to make a PR on the README asap :)
from hue-remotes-hass.
If the documentation being added could include a quick example of how to migrate from the CC to the official version that would be great, especially as the readme.md for this CC now states that we should be switching to use the official component.
from hue-remotes-hass.
I just realised that the wiki I quoted was on the sensors component, not the remotes component. I was not aware these had been split. What prompted me to post originally is that since the HA 107 upgrade I am seeing this in the log:
Log Details (ERROR)
Logger: homeassistant.components.hassio
Source: components/hassio/init.py:269
Integration: Hass.io (documentation, issues)
First occurred: April 18, 2020, 2:29:15 PM (2 occurrences)
Last logged: April 18, 2020, 2:37:48 PM
Platform error device_tracker.huesensor - cannot import name 'ENTITY_ID_FORMAT' from 'homeassistant.components.device_tracker.const' (/usr/src/homeassistant/homeassistant/components/device_tracker/const.py)
Component error: hacs - Integration 'hacs' not found. Platform error device_tracker.huesensor - cannot import name 'ENTITY_ID_FORMAT' from 'homeassistant.components.device_tracker.const' (/usr/src/homeassistant/homeassistant/components/device_tracker/const.py)
from hue-remotes-hass.
I just realised that the wiki I quoted was on the sensors component, not the remotes component. I was not aware these had been split. What prompted me to post originally is that since the HA 107 upgrade I am seeing this in the log:
Platform error device_tracker.huesensor - cannot import name 'ENTITY_ID_FORMAT' from 'homeassistant.components.device_tracker.const'
Hi @steveelsbury ,
It seems like the huesensor
CC breaks with HA 107 because some import from HA has been moved or removed. Only suggestion to quick fix that is to remove the device_tracker.py
from the CC (in case you're not using it).
BTW, Is there any reason for you to use that CC now that sensors are in the main hue and remotes are removed from there? Are you using any of the FoH sensors that are only recognized in that CC?
from hue-remotes-hass.
My use-case for this CC was to write automations that respond to Hue Switch button presses. I do not know if that requires the tracker or not - I just followed the original instructions when I first installed the CC. If this is now catered for in HA then I can switch back to that no worries. I did look at the wiki for the built-in functionality and could not see any equivalent functionality.
from hue-remotes-hass.
Bit confused with the remotes - all I see in the Hue integration are battery % sensors.... is there something that I am missing? What events are fired with the remotes? Can't find any documentation anywhere.
from hue-remotes-hass.
Bit confused with the remotes - all I see in the Hue integration are battery % sensors.... is there something that I am missing? What events are fired with the remotes? Can't find any documentation anywhere.
Hi @grantclem
It is very briefly commented on the Hue docs. The main idea is that you can create automations using remote presses as 'device triggers', from the device details of any remote (which should be listed in the devices list).
from hue-remotes-hass.
My use-case for this CC was to write automations that respond to Hue Switch button presses. I do not know if that requires the tracker or not - I just followed the original instructions when I first installed the CC. If this is now catered for in HA then I can switch back to that no worries. I did look at the wiki for the built-in functionality and could not see any equivalent functionality.
Old Hass-sensors CC is deprecated with modern HA, and even Hass-remotes CC is now unneeded.
We'll try to explain how to make a quick migration, but in the meanwhile, you can check my comments (like this one: #14 (comment)) on how to migrate. There is equivalent functionality right now, by using 2 new CC's instead of this one.
from hue-remotes-hass.
OK, I commented out the assignment of the device tracker to the hue sensors and the error went away and everything still seems to work, so thanks for that.
Given what a great platform HA is and what great work all contributors do, it is such a shame that the documentation is so woefully inadequate - while this remains true, HA will remain of interest to techies only. Thanks very much indeed for that comment link and it looks like I should be able to work from it to try an unlink myself from the CC. I can't help feeling that good, informative articles such as that one should have a place somewhere on the main HA wiki and not just be buried somewhere is a forum thread! No wait.... you already said you were going to do a migration doc! :-)
Anyway, thanks again.
from hue-remotes-hass.
Bit confused with the remotes - all I see in the Hue integration are battery % sensors.... is there something that I am missing? What events are fired with the remotes? Can't find any documentation anywhere.
Hi @grantclem
It is very briefly commented on the Hue docs. The main idea is that you can create automations using remote presses as 'device triggers', from the device details of any remote (which should be listed in the devices list).
Thanks, finally figured it out using Appdaemon. The only thing I can find are battery sensors for each remote and nothing else
from hue-remotes-hass.
Related Issues (12)
- Fix tests HOT 2
- Rename class HueSensorData? HOT 1
- Rename sensor_samples.py HOT 1
- Question: Will this new repo be added to HACS? HOT 3
- Get HACS working HOT 3
- Scan_interval still available? HOT 5
- 'HueBridge' object has no attribute 'sensor_manager' HOT 5
- Last button event does not refresh if same button is pressed again HOT 6
- aiohue.sensors missing? HOT 1
- Automations triggering on other attribute updates (since v0.2) HOT 25
- Archive this repo
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-remotes-hass.