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

zigbee2mqtt_smart_doorbell_HEIMAN_HS2DB #2184

Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion front/src/config/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -2926,7 +2926,8 @@
"56": "Helligkeit Auf-Taste Loslassen",
"57": "Helligkeit Ab-Taste gedrückt",
"58": "Helligkeit Ab-Taste gehalten",
"59": "Helligkeit Ab-Taste Loslassen"
"59": "Helligkeit Ab-Taste Loslassen",
"60": "Gedrückt"
}
},
"heater": {
Expand Down
3 changes: 2 additions & 1 deletion front/src/config/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2926,7 +2926,8 @@
"56": "Brightness Up Release",
"57": "Brightness Down Click",
"58": "Brightness Down Hold",
"59": "Brightness Down Release"
"59": "Brightness Down Release",
"60": "Pressed"
}
},
"heater": {
Expand Down
3 changes: 2 additions & 1 deletion front/src/config/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2926,7 +2926,8 @@
"56": "Luminosité Plus Relâchée",
"57": "Luminosité Moins Clic",
"58": "Luminosité Moins Maintenu",
"59": "Luminosité Moins Relâchée"
"59": "Luminosité Moins Relâchée",
"60": "Pressé"
}
},
"heater": {
Expand Down
2 changes: 2 additions & 0 deletions server/services/zigbee2mqtt/exposes/enumType.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ addMapping('action', BUTTON_STATUS.BRIGHTNESS_DOWN_CLICK, 'brightness_down_click
addMapping('action', BUTTON_STATUS.BRIGHTNESS_DOWN_HOLD, 'brightness_down_hold');
addMapping('action', BUTTON_STATUS.BRIGHTNESS_DOWN_RELEASE, 'brightness_down_release');

addMapping('action', BUTTON_STATUS.PRESSED, 'pressed');

addMapping('state', COVER_STATE.OPEN, 'OPEN');
addMapping('state', COVER_STATE.CLOSE, 'CLOSE');
addMapping('state', COVER_STATE.STOP, 'STOP');
Expand Down
1 change: 1 addition & 0 deletions server/utils/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ const BUTTON_STATUS = {
BRIGHTNESS_DOWN_CLICK: 57,
BRIGHTNESS_DOWN_HOLD: 58,
BRIGHTNESS_DOWN_RELEASE: 59,
PRESSED: 60,
};

const COVER_STATE = {
Expand Down
Loading