Skip to content
This repository has been archived by the owner on Jul 23, 2021. It is now read-only.

button events and adjustable poll interval #197

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

button events and adjustable poll interval #197

wants to merge 2 commits into from

Conversation

marcelveldt
Copy link

A few nice to have additions for this component:

  • Fire event on hass event bus on button presses.
  • Allow dynamic adjustments of the polling interval. Usecase is you can have a small interval only when needed.
  • Some small code styling fixes.

Fire event on the hass event bus when a button on the hue remote is pressed which is in line with other implementations like Z-Wave.
Allow the polling interval to be dynamically set by calling a hass service. Usecase for this is to only hammer the bridge with update requests if really needed.
@@ -95,3 +95,4 @@ ENV/

# Rope project settings
.ropeproject
.DS_Store
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be removed

@robmarkcole
Copy link
Owner

Thanks for opening! Can you also add a brief description of the service to the README.
Thanks

@GatoPharaoh
Copy link

had this in testing for some time. events work perfectly and make automations so much easier and less error-prone (especially with toggle actions).
thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants