docs: def _update_state(self, value: str) -> None:
          """Update state temporary during open or close."""
          attribute = next(attr for attr in self._device['device_info'].get(
              'Attributes', []) if attr.get(
                  'AttributeDisplayName') == 'doorstate')
          if attribute is not None:
              attribute['Value'] = value