Skip to content

Commit

Permalink
add grass irrigation west-center
Browse files Browse the repository at this point in the history
  • Loading branch information
groupsky committed Apr 15, 2024
1 parent 0dbfe7e commit fc8327c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/automations/features.js
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,13 @@ const config = {
bit: 7,
topic: 'relay/irrigation_grass_north_west'
}),
...relay({
name: 'irrigationGrassWestCenter',
device: 'relays32-47',
bus: 'monitoring',
bit: 8,
topic: 'relay/irrigation_grass_west_center'
}),

...state({
name: 'temperatureBoilerLow',
Expand Down
12 changes: 12 additions & 0 deletions config/automations/ha_discovery.js
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,18 @@ const config = {
device_class: 'outlet',
}
}),
...haSwitch({
name: 'irrigationGrassWestCenter',
feature_type: 'relay',
feature: 'irrigation_grass_west_center',
config: {
name: 'Трева запад-център',
object_id: 'irrigation_grass_west_center',
unique_id: 'irrigation_grass_west_center',
device: devices.irrigation,
device_class: 'outlet',
}
}),

...haSensor({
name: 'temperatureBoilerLow',
Expand Down

0 comments on commit fc8327c

Please sign in to comment.