diff --git a/lib/extension/homeassistant.js b/lib/extension/homeassistant.js index fa716861f..cfdfda984 100644 --- a/lib/extension/homeassistant.js +++ b/lib/extension/homeassistant.js @@ -690,6 +690,7 @@ const mapping = { '67200BL': [configurations.switch], '2430-100': [configurations.sensor_action], '100.425.90': [configurations.switch], + '74580': [configurations.light_brightness], }; Object.keys(mapping).forEach((key) => { diff --git a/lib/state.js b/lib/state.js index 0edb8c0ec..ca3096ba2 100644 --- a/lib/state.js +++ b/lib/state.js @@ -10,7 +10,7 @@ const dontCacheProperties = [ 'action', 'button', 'button_left', 'button_right', 'click', 'forgotten', 'keyerror', 'step_size', 'transition_time', 'action_color_temperature', 'action_color', 'action_group', 'group_list', 'group_capacity', 'no_occupancy_since', - 'step_mode', 'transition_time', + 'step_mode', 'transition_time', 'duration', ]; class State { diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index b16a3c420..887a57a03 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -3493,9 +3493,9 @@ "integrity": "sha1-zHcBrcYpt0f9OzOuXddTp0as6d8=" }, "glob": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", - "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz", + "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==", "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -5839,9 +5839,9 @@ } }, "rxjs": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.1.tgz", - "integrity": "sha512-y0j31WJc83wPu31vS1VlAFW5JGrnGC+j+TtGAa1fRQphy48+fDYiDmX8tjGloToEsMkxnouOg/1IzXGKkJnZMg==", + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.2.tgz", + "integrity": "sha512-HUb7j3kvb7p7eCUHE3FqjoDsC1xfZQ4AHFWfTKSpZ+sAhhz5X1WX0ZuUqWbzB2QhSLp3DoLUG+hMdEDKqWo2Zg==", "dev": true, "requires": { "tslib": "^1.9.0" @@ -6322,9 +6322,9 @@ "dev": true }, "table": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/table/-/table-5.2.3.tgz", - "integrity": "sha512-N2RsDAMvDLvYwFcwbPyF3VmVSSkuF+G1e+8inhBLtHpvwXGw4QRPEZhihQNeEN0i1up6/f6ObCJXNdlRG3YVyQ==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/table/-/table-5.3.2.tgz", + "integrity": "sha512-gDBrfla2z1JiBio5BE7nudwkjTjPOTduCzJC94fc1JjnuzI+tUsMiDskxFQCskxAtMB2c/ZwD6R2lg65zCptdQ==", "dev": true, "requires": { "ajv": "^6.9.1", @@ -7017,9 +7017,9 @@ } }, "zigbee-shepherd-converters": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/zigbee-shepherd-converters/-/zigbee-shepherd-converters-9.0.3.tgz", - "integrity": "sha512-95uQacCrQgQIKUbAQRmSV8ZmW+rHvFrFfxUxKpMfNFe2601bNJ5QPgdaI+cNH+7oLoxpzIaxSczaJtmVw++X+Q==", + "version": "9.0.4", + "resolved": "https://registry.npmjs.org/zigbee-shepherd-converters/-/zigbee-shepherd-converters-9.0.4.tgz", + "integrity": "sha512-CU6+8Ruqhsb8exN7umXvYzF9FVYHRZtoK68R6OIuePfmBgWBmjkuKjjdb3mVHUmOETzWUzQ6TRCDxDsqACelBw==", "requires": { "chai": "*", "debounce": "*", diff --git a/package.json b/package.json index 7b372a384..5bf8cdcf0 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "zcl-id": "git+https://github.com/Koenkk/zcl-id.git#4fa75c92424cd070a3bf6e1f4640b1e3ad8f802d", "ziee": "*", "zigbee-shepherd": "git+https://github.com/Koenkk/zigbee-shepherd.git#566cba295119cb334a7a7d939b4741e59415ed80", - "zigbee-shepherd-converters": "9.0.3", + "zigbee-shepherd-converters": "9.0.4", "deep-diff": "*", "zive": "*" },