Closed thomluther closed 4 months ago
The method also need to ensure to update the internal device dictionary with the modified settings for each device. This is important that changes are immediately reflected in the api data structures and not delay until next device details update cycle.
Auto upgrade is controlled with a main switch and a switch per device. When main switch is disabled, it will disable automatically all device switches as well. When a device should be enabled, the main switch must be enabled as well as the device switch. The method should simplify the approach by simply demanding dictionary with the device serial and the desired switch setting. The method must query the actual switch settings and control the main switch settings based on the actual settings and the desired changes. Note: When the main switch will be disabled, all device switches will be automatically disabled as well. So there is no unintentional enablement possible when the main switch is turn on in order to enable a specific device