Skip to content

Commit

Permalink
chore: release v3.9.5
Browse files Browse the repository at this point in the history
* (foxriver76) fixed crash case
  • Loading branch information
foxriver76 committed Jul 31, 2023
1 parent 9626729 commit 48b650d
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 21 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ In den Adapter-Settings muss die IP der Hue Bridge sowie ein Username konfigurie
Placeholder for the next version (at the beginning of the line):
### __WORK IN PROGRESS__
-->
### 3.9.5 (2023-07-31)
* (foxriver76) fixed crash case

### 3.9.4 (2023-07-30)
* (foxriver76) fixed edge case crash on button updates
* (foxriver76) fix crash case if uuids can not be retrieved
Expand Down
4 changes: 2 additions & 2 deletions build/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/main.js.map

Large diffs are not rendered by default.

27 changes: 14 additions & 13 deletions io-package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
{
"common": {
"name": "hue",
"version": "3.9.4",
"version": "3.9.5",
"tier": 2,
"news": {
"3.9.5": {
"en": "fixed crash case",
"de": "fester unfallfall",
"ru": "фиксированный случай аварии",
"pt": "caso de acidente fixo",
"nl": "vertaling:",
"fr": "cas d ' accident",
"it": "caso di arresto fisso",
"es": "caso de accidente fijo",
"pl": "przypadek katastrofy",
"uk": "фіксований випадок аварії",
"zh-cn": "固定事故"
},
"3.9.4": {
"en": "fixed edge case crash on button updates\nfix crash case if uuids can not be retrieved",
"de": "fester randfall auf knopfaktualisierung\nreparieren crash-fall, wenn uuids nicht abgerufen werden können",
Expand Down Expand Up @@ -81,18 +94,6 @@
"pl": "Odpowiedzialność za niemożliwą zmianę na światło z innymi stanami niż na i jasności #386",
"uk": "Можливість відключення повороту на вогні з державами, відмінною від яскравості #[386]",
"zh-cn": "与“第[386]号行动”以外的国家相反的照明"
},
"3.7.1": {
"en": "also update state for `CLIPGenericFlag` sensors",
"de": "auch Zustand für CLIPGenericFlag Sensoren aktualisieren",
"ru": "также обновить состояние для датчиков CLIPGenericFlag",
"pt": "também atualizar estado para sensores CLIPGenericFlag",
"nl": "ook updates voor CLIPGenericFlag sensoren",
"fr": "également mettre à jour l'état pour les capteurs CLIPGenericFlag",
"it": "anche aggiornare lo stato per i sensori CLIPGenericFlag",
"es": "también actualización estado para sensores CLIPGenericFlag",
"pl": "zaktualizowano również stan CLIPGenericFlag",
"zh-cn": "还更新了克里米尔的传感器状况"
}
},
"titleLang": {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.hue",
"version": "3.9.4",
"version": "3.9.5",
"description": "Connects Philips Hue LED Bulbs, Friends of Hue LED Lamps and Stripes and other SmartLink capable Devices (LivingWhites, some LivingColors) via Philips Hue Bridges",
"author": "hobbyquaker <[email protected]>",
"contributors": [
Expand Down
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ interface BridgeUpdate {
/** For type device_power */
power_state?: { battery_level: number; battery_state: string };
/** For type button */
button: {
button?: {
button_report?: { event: ButtonEventType; updated: string };
last_event: ButtonEventType;
};
Expand Down Expand Up @@ -1161,7 +1161,7 @@ class Hue extends utils.Adapter {
this.setState(`${channelName}.battery`, update.power_state.battery_level, true);
}

if (update.button.button_report) {
if (update.button?.button_report) {
this.setState(`${channelName}.lastupdated`, update.button.button_report.updated, true);
this.setState(
`${channelName}.buttonevent`,
Expand Down

0 comments on commit 48b650d

Please sign in to comment.