Skip to content

Commit 050a9ad

Browse files
committed
Update zhc
1 parent 6da7b1f commit 050a9ad

File tree

1,592 files changed

+12277
-2754
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,592 files changed

+12277
-2754
lines changed

docgen/device_page_exposes.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,8 @@ function getExposeDocs(expose, definition) {
365365
let txt = {value: '', note: []};
366366
if (expose.item_type.type === 'composite') {
367367
txt = compositeDocs(expose.item_type);
368+
} else if (expose.item_type.type === 'enum') {
369+
txt['value'] = expose.item_type.values.map((v) => `"${v}"`).join(', ');
368370
} else if (expose.item_type.type === 'text') {
369371
// Empty on purpose
370372
} else {

docs/devices/0140302.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/
7979
The possible values are: `blink`, `breathe`, `okay`, `channel_change`, `finish_effect`, `stop_effect`.
8080

8181
### Power-on behavior (enum)
82-
Controls the behavior when the device is powered on after power loss. If you get an `UNSUPPORTED_ATTRIBUTE` error, the device does not support it..
82+
Controls the behavior when the device is powered on after power loss.
8383
Value can be found in the published state on the `power_on_behavior` property.
8484
To read (`/get`) the value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/get` with payload `{"power_on_behavior": ""}`.
8585
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"power_on_behavior": NEW_VALUE}`.

docs/devices/020B0B.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/
9090
The possible values are: `blink`, `breathe`, `okay`, `channel_change`, `finish_effect`, `stop_effect`, `colorloop`, `stop_colorloop`.
9191

9292
### Power-on behavior (enum)
93-
Controls the behavior when the device is powered on after power loss. If you get an `UNSUPPORTED_ATTRIBUTE` error, the device does not support it..
93+
Controls the behavior when the device is powered on after power loss.
9494
Value can be found in the published state on the `power_on_behavior` property.
9595
To read (`/get`) the value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/get` with payload `{"power_on_behavior": ""}`.
9696
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"power_on_behavior": NEW_VALUE}`.

docs/devices/046677476816.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ by removing it from the bridge via the Hue app. Orphaned bulbs (configured to co
5252
### Hue dimmer switch
5353
With [one](./324131092621.md) of the [two](./929002398602.md) Hue Dimmer switches it is possible to put the bulbs into a factory reset.
5454

55-
1. Power-supply the bulb
55+
1. Powercycle the bulb (if the bulb is on for too long this procedure might not work)
5656
2. Bring the dimmer switch next to the bulb, as close as possible
5757
3. Hold the I/On and 0/Off button pressed simultaneously for 10 to 12 seconds until…
5858
4. The bulb flashes a couple of times. Don't release the buttons until the last flash + a safety second
@@ -149,7 +149,7 @@ To do this send a payload like below to `zigbee2mqtt/FRIENDLY_NAME/set`
149149
````
150150

151151
### Power-on behavior (enum)
152-
Controls the behavior when the device is powered on after power loss. If you get an `UNSUPPORTED_ATTRIBUTE` error, the device does not support it..
152+
Controls the behavior when the device is powered on after power loss.
153153
Value can be found in the published state on the `power_on_behavior` property.
154154
To read (`/get`) the value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/get` with payload `{"power_on_behavior": ""}`.
155155
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"power_on_behavior": NEW_VALUE}`.

docs/devices/046677551780.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ by removing it from the bridge via the Hue app. Orphaned bulbs (configured to co
5252
### Hue dimmer switch
5353
With [one](./324131092621.md) of the [two](./929002398602.md) Hue Dimmer switches it is possible to put the bulbs into a factory reset.
5454

55-
1. Power-supply the bulb
55+
1. Powercycle the bulb (if the bulb is on for too long this procedure might not work)
5656
2. Bring the dimmer switch next to the bulb, as close as possible
5757
3. Hold the I/On and 0/Off button pressed simultaneously for 10 to 12 seconds until…
5858
4. The bulb flashes a couple of times. Don't release the buttons until the last flash + a safety second
@@ -149,7 +149,7 @@ To do this send a payload like below to `zigbee2mqtt/FRIENDLY_NAME/set`
149149
````
150150

151151
### Power-on behavior (enum)
152-
Controls the behavior when the device is powered on after power loss. If you get an `UNSUPPORTED_ATTRIBUTE` error, the device does not support it..
152+
Controls the behavior when the device is powered on after power loss.
153153
Value can be found in the published state on the `power_on_behavior` property.
154154
To read (`/get`) the value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/get` with payload `{"power_on_behavior": ""}`.
155155
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"power_on_behavior": NEW_VALUE}`.

docs/devices/046677562229.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ by removing it from the bridge via the Hue app. Orphaned bulbs (configured to co
5252
### Hue dimmer switch
5353
With [one](./324131092621.md) of the [two](./929002398602.md) Hue Dimmer switches it is possible to put the bulbs into a factory reset.
5454

55-
1. Power-supply the bulb
55+
1. Powercycle the bulb (if the bulb is on for too long this procedure might not work)
5656
2. Bring the dimmer switch next to the bulb, as close as possible
5757
3. Hold the I/On and 0/Off button pressed simultaneously for 10 to 12 seconds until…
5858
4. The bulb flashes a couple of times. Don't release the buttons until the last flash + a safety second
@@ -149,7 +149,7 @@ To do this send a payload like below to `zigbee2mqtt/FRIENDLY_NAME/set`
149149
````
150150

151151
### Power-on behavior (enum)
152-
Controls the behavior when the device is powered on after power loss. If you get an `UNSUPPORTED_ATTRIBUTE` error, the device does not support it..
152+
Controls the behavior when the device is powered on after power loss.
153153
Value can be found in the published state on the `power_on_behavior` property.
154154
To read (`/get`) the value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/get` with payload `{"power_on_behavior": ""}`.
155155
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"power_on_behavior": NEW_VALUE}`.

docs/devices/046677577957.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ by removing it from the bridge via the Hue app. Orphaned bulbs (configured to co
5252
### Hue dimmer switch
5353
With [one](./324131092621.md) of the [two](./929002398602.md) Hue Dimmer switches it is possible to put the bulbs into a factory reset.
5454

55-
1. Power-supply the bulb
55+
1. Powercycle the bulb (if the bulb is on for too long this procedure might not work)
5656
2. Bring the dimmer switch next to the bulb, as close as possible
5757
3. Hold the I/On and 0/Off button pressed simultaneously for 10 to 12 seconds until…
5858
4. The bulb flashes a couple of times. Don't release the buttons until the last flash + a safety second
@@ -168,7 +168,7 @@ To do this send a payload like below to `zigbee2mqtt/FRIENDLY_NAME/set`
168168
````
169169

170170
### Power-on behavior (enum)
171-
Controls the behavior when the device is powered on after power loss. If you get an `UNSUPPORTED_ATTRIBUTE` error, the device does not support it..
171+
Controls the behavior when the device is powered on after power loss.
172172
Value can be found in the published state on the `power_on_behavior` property.
173173
To read (`/get`) the value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/get` with payload `{"power_on_behavior": ""}`.
174174
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"power_on_behavior": NEW_VALUE}`.

docs/devices/046677578138.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ by removing it from the bridge via the Hue app. Orphaned bulbs (configured to co
5252
### Hue dimmer switch
5353
With [one](./324131092621.md) of the [two](./929002398602.md) Hue Dimmer switches it is possible to put the bulbs into a factory reset.
5454

55-
1. Power-supply the bulb
55+
1. Powercycle the bulb (if the bulb is on for too long this procedure might not work)
5656
2. Bring the dimmer switch next to the bulb, as close as possible
5757
3. Hold the I/On and 0/Off button pressed simultaneously for 10 to 12 seconds until…
5858
4. The bulb flashes a couple of times. Don't release the buttons until the last flash + a safety second
@@ -156,7 +156,7 @@ To do this send a payload like below to `zigbee2mqtt/FRIENDLY_NAME/set`
156156
````
157157

158158
### Power-on behavior (enum)
159-
Controls the behavior when the device is powered on after power loss. If you get an `UNSUPPORTED_ATTRIBUTE` error, the device does not support it..
159+
Controls the behavior when the device is powered on after power loss.
160160
Value can be found in the published state on the `power_on_behavior` property.
161161
To read (`/get`) the value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/get` with payload `{"power_on_behavior": ""}`.
162162
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"power_on_behavior": NEW_VALUE}`.

0 commit comments

Comments
 (0)