Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: radio control (BT/WiFi/Broadband) #23

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

amadeo-alex
Copy link

This PR:

  • adds a RadioCommand allowing for turning on/off the radio devices available on system (BT, WiFi, Broadband)
  • changes the CommandManager to match the update delay of SensorManager (this allows for commands to provide "real time" feedback of their state - in case of this feature, whether the given radio is on/off in case user switches it manually from the OS)

Noteworthy:

  • this command works best as a "Switch" type as it'll provide feedback on user made changes (currently due to bug all commands start as "Button" type - PR with fix is in the works)
  • turning off the WiFi radio might end up with some time wasted on "why my HASS.Agent is not working?!", don't ask ;)

Example of BT switch command:
t22rYG

Example of radio types available on one of my devices:
uTqksx

Example of message when and attempt is made to store "None" radio type command:
ByXpnt

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

Successfully merging this pull request may close these issues.

1 participant