mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-16 18:39:09 -07:00
Deprecate retrieve_state option
This commit is contained in:
parent
e31de39c52
commit
836aac46c7
@ -253,6 +253,7 @@ class EntityPublish extends Extension {
|
||||
// When reporting is requested for a device (report: true in device-specific settings) we won't
|
||||
// ever issue a read here, as we assume the device will properly report changes.
|
||||
// Only do this when the retrieve_state option is enabled for this device.
|
||||
// retrieve_state == decprecated
|
||||
if (
|
||||
resolvedEntity.type === 'device' && result && result.hasOwnProperty('readAfterWriteTime') &&
|
||||
resolvedEntity.settings.retrieve_state
|
||||
|
@ -506,11 +506,6 @@
|
||||
"title": "Ignore debounce",
|
||||
"description": "Protects unique payload values of specified payload properties from overriding within debounce time"
|
||||
},
|
||||
"retrieve_state": {
|
||||
"type": "boolean",
|
||||
"title": "Retrieve State",
|
||||
"description": "Retrieves the state after setting it (Should only be enabled when the reporting feature does not work for this device)"
|
||||
},
|
||||
"optimistic": {
|
||||
"type": "boolean",
|
||||
"title": "Optimistic",
|
||||
|
Loading…
Reference in New Issue
Block a user