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

WeatherSensor: add ability to link devices outside current bridge #103

Open
wants to merge 2 commits into
base: merck/battery-signal
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions weather_sensor/schemas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ WeatherSensor:
type: object
description: |
Object describes every link between weather events from this Weather Sensor and the
device, group, and scene actions which they trigger.
(In future will permit specifying `group` or `scene` instead of `device`.)
device actions to be taken in response to those events.

Each weather event maps to an event number:
- `1` = Wind event: triggered when wind speed reaches configured level
Expand All @@ -36,6 +35,12 @@ WeatherSensor:
- `device`: which device will act in response to the weather event
- `action`: action to call on device
- `argument`: (optional) argument to above action, such as position percentage

[As of v4.8] You may now link to devices that are elsewhere in the network.
To do so, prefix the device ID with the bond ID and a colon, like so: `<bond_id>:<device_id>`.
The other device may even be a Smart by Bond device, as long as it also has firmware v4.8 or later.
This does have the consequence that if a device moves from one Bridge to another using Backup & Restore feature,
you will need to re-link it with the weather sensor.
signal:
readOnly: true
example: 97
Expand Down