azogue / Hue-remotes-HASS

Custom integration for Hue & Friends of Hue (FOH) remotes with Home Assistant

Home Page:https://home-assistant.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code style: black build status Coverage Sponsor

FOR COMMUNITY SUPPORT PLEASE USE THIS THREAD

For Hue motion sensors checkout Hue-sensors-HASS

Hue-remotes-HASS

Custom integration for Hue & Lutron Aurora Friends of Hue (FOH) remotes with Home Assistant.

Overview

This custom integration provides the missing support for remote devices in the official Hue integration of HA Core, by registering the platform in the main integration and sharing the sensor data with it.

As this new platform imposes a lower scan_interval for all hue sensors (of 1Hz), sensors from the main hue integration will also increase their refresh rate to 1 Hz.

Be advised that the increased update of this custom integration may cause connectivity problems which can result in errors in the official hue integration, please do not create any issue for this. If you can't live with these errors, do not use this custom integration.

Installation

Place the custom_components folder in your configuration directory (or add its contents to an existing custom_components folder). You need to set up your Hue bridge first. TODO Alternatively install via HACS.

Configuration

Once installed add to your configuration:

remote:
  - platform: hueremote

Supported remotes

Developers

  • Create venv -> $ python3 -m venv venv
  • Use venv -> $ source venv/bin/activate
  • Install requirements -> $ pip install -r requirements.txt & $ pip install -r requirements-dev.txt
  • Run tests -> $ venv/bin/py.test --cov=custom_components tests/ -vv -p no:warnings
  • Black format -> $ venv/bin/black custom_components/* (or setup VScode for format on save)

Contributors

Please format code usign Black before opening a pull request.

A big thanks to Atsuko Ito and Eugenio Panadero for their many contributions to this work!

✨ Support this work

https://github.com/sponsors/robmarkcole

If you or your business find this work useful please consider becoming a sponsor at the link above, this really helps justify the time I invest in maintaining this repo. As we say in England, 'every little helps' - thanks in advance!

About

Custom integration for Hue & Friends of Hue (FOH) remotes with Home Assistant

https://home-assistant.io/

License:Apache License 2.0


Languages

Language:Python 100.0%