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

[RF] Improve Home Assistant auto discoverability #2057

Open
wants to merge 7 commits into
base: development
Choose a base branch
from

Commits on Sep 13, 2024

  1. add '-DvalueAsATopic=true' to RF based environments

    add '-DvalueAsATopic=true' to RF based environments. Required to support changes in zgatewayRF.ino for Home Assistant discoverability
    James Carey committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    483b2b6 View commit details
    Browse the repository at this point in the history
  2. Modify gatewayRF to improve Home Assistant auto discoverability

    Pass "recieved" as the type argument and switchRF[0] as the subtype argument to announceDeviceTrigger() which will cause recieved codes to be picked up by home assistant as triggers, i.e. When setting up automations in Home Assistant, selecting a `device` trigger and an OMG device will allow the user to select a code picked up during the autoDiscover window as the trigger for the automation, for example "1394004" recieved. In order to support this, the `'-DvalueAsATopic=true'` argument must be added to all environments using the RF Library
    
    Also change getUniqueId() call to remove leading '-' which will prevent MQTT topics having '--' in them
    James Carey committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    9d677b6 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. sync upstream commits

    James Carey committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    fbf3527 View commit details
    Browse the repository at this point in the history
  2. Remove trailing space on line 104 (Lint Fix)

    James Carey committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    c3ea79f View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Fix Type-O's in ZgatewayRF.ino

    Fix Type-O's in ZgatewayRF.ino
    
    "recieved" => "received"
    JamiePhonic authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    e77a073 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2024

  1. Configuration menu
    Copy the full SHA
    c5afe5b View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. Configuration menu
    Copy the full SHA
    e6b860d View commit details
    Browse the repository at this point in the history