xZetsubou / hass-localtuya

šŸ”¹ A Home Assistant integration to handle Tuya devices locally "fork from localtuya"
https://xzetsubou.github.io/hass-localtuya/
GNU General Public License v3.0
418 stars 54 forks source link

[Bug]: Cover gets unavailable #262

Closed gomble closed 5 months ago

gomble commented 5 months ago

LocalTuya Version

2024.5.0

Home Assistant Version

2024.05

Environment

What happened?

3 Covers from the same manufacturer gets unavailable after homeassistant restart. I am getting following error in the log output. If i move the cover with the offical Smart Life integration in HA then it gets avialable again. I had this problem in the past, you code owner fixed it but it is there again: https://github.com/xZetsubou/hass-localtuya/issues/121

Steps to reproduce.

Restart Homeassistant

Relevant log output

Logger: homeassistant.util.logging
Quelle: util/logging.py:98
Erstmals aufgetreten: 09:19:51 (9 Vorkommnisse)
Zuletzt protokolliert: 10:09:16

Exception in _update_handler when dispatching 'localtuya_bf984eb57d92c8bf9dzy7b': ({'1': 'open', '4': 'morning', '5': False, '11': 30540},) Traceback (most recent call last): File "/config/custom_components/localtuya/entity.py", line 172, in _update_handler self.status_updated() File "/config/custom_components/localtuya/cover.py", line 262, in status_updated self._current_cover_position = 100 - curr_pos ~~~~^~~~~~~~~~ TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
Exception in _update_handler when dispatching 'localtuya_bf984eb57d92c8bf9dzy7b': ({'1': 'stop', '4': 'morning', '5': False, '11': 30540, '2': 0},) Traceback (most recent call last): File "/config/custom_components/localtuya/entity.py", line 172, in _update_handler self.status_updated() File "/config/custom_components/localtuya/cover.py", line 262, in status_updated self._current_cover_position = 100 - curr_pos ~~~~^~~~~~~~~~ TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
Exception in _update_handler when dispatching 'localtuya_bf984eb57d92c8bf9dzy7b': ({'1': 'close', '4': 'morning', '5': False, '11': 30540, '2': 0},) Traceback (most recent call last): File "/config/custom_components/localtuya/entity.py", line 172, in _update_handler self.status_updated() File "/config/custom_components/localtuya/cover.py", line 262, in status_updated self._current_cover_position = 100 - curr_pos ~~~~^~~~~~~~~~ TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
Exception in _update_handler when dispatching 'localtuya_bf984eb57d92c8bf9dzy7b': ({'1': 'close', '4': 'morning', '5': False, '11': 30540, '2': 100},) Traceback (most recent call last): File "/config/custom_components/localtuya/entity.py", line 172, in _update_handler self.status_updated() File "/config/custom_components/localtuya/cover.py", line 262, in status_updated self._current_cover_position = 100 - curr_pos ~~~~^~~~~~~~~~ TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
Exception in _update_handler when dispatching 'localtuya_bf984eb57d92c8bf9dzy7b': ({'1': 'stop', '4': 'morning', '5': False, '11': 30540, '2': 100},) Traceback (most recent call last): File "/config/custom_components/localtuya/entity.py", line 172, in _update_handler self.status_updated() File "/config/custom_components/localtuya/cover.py", line 262, in status_updated self._current_cover_position = 100 - curr_pos ~~~~^~~~~~~~~~ TypeError: unsupported operand type(s) for -: 'int' and 'NoneType' ```

Diagnostics information.

No response

gomble commented 5 months ago

  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2024.5.5",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.12.2",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Berlin",
    "os_name": "Linux",
    "os_version": "6.6.29-haos",
    "supervisor": "2024.05.1",
    "host_os": "Home Assistant OS 12.3",
    "docker_version": "25.0.5",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "cryptostate": {
      "documentation": "https://github.com/BigNocciolino/CryptoTracker",
      "version": "2.1.0",
      "requirements": []
    },
    "scheduler": {
      "documentation": "https://github.com/nielsfaber/scheduler-component",
      "version": "v0.0.0",
      "requirements": []
    },
    "spotcast": {
      "documentation": "https://github.com/fondberg/spotcast",
      "version": "v3.6.30",
      "requirements": []
    },
    "gruenbeck_cloud": {
      "documentation": "https://github.com/p0l0/hagruenbeck_cloud",
      "version": "0.1.1",
      "requirements": [
        "pygruenbeck_cloud==0.1.0"
      ]
    },
    "asterisk": {
      "documentation": "https://github.com/TECH7Fox/Asterisk-integration",
      "version": "1.0.4",
      "requirements": [
        "asterisk-ami==0.1.6"
      ]
    },
    "proxmoxve": {
      "documentation": "https://github.com/dougiteixeira/proxmoxve",
      "version": "3.4.1",
      "requirements": [
        "proxmoxer==2.0.1"
      ]
    },
    "var": {
      "documentation": "https://github.com/snarky-snark/home-assistant-variables/blob/master/README.md",
      "version": "0.15.5",
      "requirements": []
    },
    "audiconnect": {
      "documentation": "https://github.com/audiconnect/audi_connect_ha",
      "version": "1.9.0",
      "requirements": [
        "beautifulsoup4"
      ]
    },
    "roborock": {
      "documentation": "https://github.com/humbertogontijo/homeassistant-roborock",
      "version": "1.0.13",
      "requirements": [
        "python-roborock==0.36.0",
        "ical==6.1.0",
        "dacite==1.8.0"
      ]
    },
    "illuminance": {
      "documentation": "https://github.com/pnbruckner/ha-illuminance/5.4.3/master/README.md",
      "version": "5.4.3",
      "requirements": []
    },
    "sonoff": {
      "documentation": "https://github.com/AlexxIT/SonoffLAN",
      "version": "3.7.3",
      "requirements": [
        "pycryptodome>=3.6.6"
      ]
    },
    "browser_mod": {
      "documentation": "https://github.com/thomasloven/hass-browser_mod/blob/master/README.md",
      "version": "2.3.0",
      "requirements": []
    },
    "localtuya": {
      "documentation": "https://github.com/xZetsubou/hass-localtuya/",
      "version": "2024.5.0",
      "requirements": []
    },
    "webrtc": {
      "documentation": "https://github.com/AlexxIT/WebRTC",
      "version": "v3.5.2",
      "requirements": []
    },
    "waste_collection_schedule": {
      "documentation": "https://github.com/mampfes/hacs_waste_collection_schedule#readme",
      "version": "1.48.0",
      "requirements": [
        "icalendar",
        "recurring_ical_events",
        "icalevents",
        "beautifulsoup4",
        "lxml"
      ]
    },
    "climate_group": {
      "documentation": "https://github.com/daenny/climate_group",
      "version": "0.4.2",
      "requirements": []
    },
    "import_statistics": {
      "documentation": "https://github.com/klausj1/homeassistant-statistics",
      "version": "1.0.1",
      "requirements": [
        "pandas>=2.0.0"
      ]
    },
    "better_thermostat": {
      "documentation": "https://github.com/KartoffelToby/better_thermostat",
      "version": "1.5.0",
      "requirements": []
    },
    "opnsense": {
      "documentation": "https://github.com/travisghansen/hass-opnsense",
      "version": "0.1.0",
      "requirements": [
        "mac-vendor-lookup>=0.1.11",
        "python-dateutil"
      ]
    },
    "iphonedetect": {
      "documentation": "https://github.com/mudape/iphonedetect",
      "version": "1.4.1",
      "requirements": []
    },
    "hacs": {
      "documentation": "https://hacs.xyz/docs/configuration/start",
      "version": "1.34.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "powerbrain": {
      "documentation": "https://github.com/mb-software/homeassistant-powerbrain",
      "version": "0.7.0",
      "requirements": []
    },
    "alarmo": {
      "documentation": "https://github.com/nielsfaber/alarmo",
      "version": "v1.10.1",
      "requirements": []
    },
    "yi_hack": {
      "documentation": "https://github.com/roleoroleo/yi-hack_ha_integration",
      "version": "0.5.0",
      "requirements": []
    },
    "auto_backup": {
      "documentation": "https://github.com/jcwillox/hass-auto-backup",
      "version": "1.5.0",
      "requirements": []
    },
    "nodered": {
      "documentation": "https://zachowj.github.io/node-red-contrib-home-assistant-websocket/guide/custom_integration/",
      "version": "4.0.0",
      "requirements": []
    },
    "alexa_media": {
      "documentation": "https://github.com/alandtse/alexa_media_player/wiki",
      "version": "4.10.1",
      "requirements": [
        "alexapy==1.27.10",
        "packaging>=20.3",
        "wrapt>=1.14.0"
      ]
    },
    "frigate": {
      "documentation": "https://github.com/blakeblackshear/frigate",
      "version": "5.2.0",
      "requirements": [
        "pytz"
      ]
    },
    "blueiris": {
      "documentation": "https://github.com/elad-bar/ha-blueiris",
      "version": "1.0.18",
      "requirements": []
    }
  },
  "integration_manifest": {
    "domain": "localtuya",
    "name": "Local Tuya",
    "codeowners": [],
    "config_flow": true,
    "dependencies": [],
    "documentation": "https://github.com/xZetsubou/hass-localtuya/",
    "integration_type": "hub",
    "iot_class": "local_push",
    "issue_tracker": "https://github.com/xZetsubou/hass-localtuya/issues",
    "requirements": [],
    "version": "2024.5.0",
    "is_built_in": false
  },
  "data": {
    "region": "eu",
    "client_id": "ygv...ci8",
    "client_secret": "a6a...c63",
    "user_id": "eu1...VPE",
    "username": "localtuya",
    "no_cloud": false,
    "devices": {
      "bf90b883743d822723adiz": {
        "friendly_name": "Wohnzimmer-Spots-Led-Stripe",
        "host": "192.168.59.49",
        "local_key": "e2;...Ak&",
        "protocol_version": "3.3",
        "enable_debug": false,
        "entities": [
          {
            "friendly_name": "Wohnzimmer-Spots-TV",
            "entity_category": "None",
            "current": "1",
            "current_consumption": "7",
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "1",
            "platform": "switch",
            "icon": ""
          },
          {
            "friendly_name": "Wohnzimmer-Spots-Hinten",
            "entity_category": "None",
            "current": "2",
            "current_consumption": "8",
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "2",
            "platform": "switch",
            "icon": ""
          },
          {
            "friendly_name": "Wohnzimmer-LED-Stripe",
            "entity_category": "None",
            "current": "3",
            "current_consumption": "9",
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "3",
            "platform": "switch",
            "icon": ""
          }
        ],
        "model": "3G SMART WIFI SWITCH\uff082M\uff09",
        "product_key": "keynkcef8havh5m9",
        "device_id": "bf90b883743d822723adiz",
        "node_id": null,
        "dps_strings": [
          "1 (value: True)",
          "2 (value: False)",
          "3 (value: False)",
          "7 (value: 0)",
          "8 (value: 0)",
          "9 (value: 0)"
        ]
      },
      "bfee453a21922b1baavhj4": {
        "friendly_name": "Wohnzimmer-Lampen",
        "host": "192.168.59.50",
        "local_key": "[6Q...39N",
        "protocol_version": "3.3",
        "enable_debug": false,
        "entities": [
          {
            "friendly_name": "Wohnzimmer-Mittlere-Lampe",
            "current": "1",
            "current_consumption": "7",
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "1",
            "platform": "switch"
          },
          {
            "friendly_name": "Wohnzimmer-Hintere-Lampe",
            "current": "2",
            "current_consumption": "8",
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "2",
            "platform": "switch"
          },
          {
            "friendly_name": "Wohnzimmer-Vordere-Lampe",
            "current": "3",
            "current_consumption": "9",
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "3",
            "platform": "switch"
          }
        ],
        "add_entities": false,
        "model": "3G SMART WIFI SWITCH",
        "device_id": "bfee453a21922b1baavhj4",
        "dps_strings": [
          "1 (value: False)",
          "2 (value: False)",
          "3 (value: False)",
          "7 (value: 0)",
          "8 (value: 0)",
          "9 (value: 0)"
        ],
        "product_key": "keynkcef8havh5m9"
      },
      "bf2f86628659932f1ftesr": {
        "device_id": "bf2f86628659932f1ftesr",
        "dps_strings": [
          "1 (value: False)",
          "2 (value: False)",
          "7 (value: 0)",
          "8 (value: 0)"
        ],
        "entities": [
          {
            "friendly_name": "Esszimmer-Spots",
            "current": "1",
            "current_consumption": "7",
            "id": "1",
            "platform": "switch"
          },
          {
            "friendly_name": "Esszimmer-Led-Stripe",
            "current": "2",
            "current_consumption": "8",
            "id": "2",
            "platform": "switch"
          }
        ],
        "friendly_name": "Esszimmer-Spots-Led-Stripe",
        "host": "192.168.59.52",
        "local_key": "x(=...-54",
        "protocol_version": "3.3",
        "product_key": "key9nfnyp89j4esc",
        "model": "2G SMART WIFI SWITCH  "
      },
      "bf64bd5e381a810e0892ak": {
        "friendly_name": "Esszimmer-Lampe",
        "host": "192.168.59.51",
        "local_key": "ff8...ZE?",
        "protocol_version": "3.3",
        "enable_debug": false,
        "entities": [
          {
            "friendly_name": "Esszimmer-Lampe",
            "entity_category": "None",
            "current": "1",
            "current_consumption": "7",
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "1",
            "platform": "switch",
            "icon": ""
          }
        ],
        "model": "1G SMART WIFI SWITCH",
        "product_key": "key8f3g5qvs3gxma",
        "device_id": "bf64bd5e381a810e0892ak",
        "node_id": null,
        "dps_strings": [
          "1 (value: False)",
          "7 (value: 0)"
        ]
      },
      "332670202462ab3ad608": {
        "friendly_name": "K\u00fcche Strom #1",
        "local_key": "VqF...4kP",
        "host": "192.168.59.27",
        "device_id": "332670202462ab3ad608",
        "protocol_version": "3.3",
        "product_key": "keya4w5rv4uax7ww",
        "dps_strings": [
          "1 (value: False)",
          "9 (value: 0)",
          "39 (value: 0)"
        ],
        "entities": [
          {
            "friendly_name": "K\u00fcche Strom #1",
            "id": "1",
            "current": "1",
            "current_consumption": "9",
            "platform": "switch"
          }
        ],
        "model": "SMART WIFI SOCKET"
      },
      "332670202462ab3afb96": {
        "device_id": "332670202462ab3afb96",
        "dps_strings": [
          "1 (value: False)",
          "9 (value: 0)",
          "39 (value: 0)"
        ],
        "entities": [
          {
            "friendly_name": "K\u00fcche Strom Toaster #3",
            "current": "1",
            "current_consumption": "9",
            "id": "1",
            "platform": "switch"
          }
        ],
        "friendly_name": "K\u00fcche Strom Toaster #3",
        "host": "192.168.59.25",
        "local_key": "3'$...(1S",
        "protocol_version": "3.3",
        "product_key": "keya4w5rv4uax7ww",
        "model": "SMART WIFI SOCKET"
      },
      "332670202462ab3aee9f": {
        "friendly_name": "K\u00fcche Strom #4",
        "host": "192.168.59.24",
        "local_key": "m5f....SE",
        "protocol_version": "3.3",
        "enable_debug": false,
        "entities": [
          {
            "friendly_name": "K\u00fcche Strom #4",
            "entity_category": "None",
            "current": "1",
            "current_consumption": "9",
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "1",
            "platform": "switch",
            "icon": ""
          }
        ],
        "model": "SMART WIFI SOCKET",
        "product_key": "keya4w5rv4uax7ww",
        "device_id": "332670202462ab3aee9f",
        "node_id": null,
        "dps_strings": [
          "1 (value: False)",
          "9 (value: 0)",
          "39 (value: 0)"
        ]
      },
      "332670202462ab3b06e8": {
        "friendly_name": "K\u00fcche Strom T\u00fcrk Kaffee #5",
        "local_key": "}m^...oL?",
        "host": "192.168.59.23",
        "device_id": "332670202462ab3b06e8",
        "protocol_version": "3.3",
        "product_key": "keya4w5rv4uax7ww",
        "dps_strings": [
          "1 (value: False)",
          "9 (value: 0)",
          "39 (value: 0)"
        ],
        "entities": [
          {
            "friendly_name": "K\u00fcche Strom T\u00fcrk Kaffee #5",
            "id": "1",
            "current": "1",
            "current_consumption": "9",
            "platform": "switch"
          }
        ],
        "model": "SMART WIFI SOCKET"
      },
      "347550612cf432a2c504": {
        "friendly_name": "K\u00fcche Strom Wasserkocher #6",
        "local_key": "1yr...5(D",
        "host": "192.168.59.26",
        "device_id": "347550612cf432a2c504",
        "protocol_version": "3.3",
        "product_key": "HiqYJtATgLPqVOW7",
        "dps_strings": [
          "1 (value: False)",
          "11 (value: 0)"
        ],
        "entities": [
          {
            "friendly_name": "K\u00fcche Strom Wasserkocher #6",
            "id": "1",
            "current": "1",
            "current_consumption": "11",
            "platform": "switch"
          }
        ],
        "model": "SMART WIFI SOCKET"
      },
      "332670202cf432d81bc9": {
        "friendly_name": "K\u00fcche #2",
        "host": "192.168.59.28",
        "local_key": "v(H...2A?",
        "protocol_version": "3.3",
        "enable_debug": false,
        "entities": [
          {
            "friendly_name": "K\u00fcche #2",
            "current": "1",
            "current_consumption": "9",
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "1",
            "platform": "switch"
          }
        ],
        "add_entities": false,
        "model": "SMART WIFI SOCKET",
        "device_id": "332670202cf432d81bc9",
        "dps_strings": [
          "1 (value: True)",
          "9 (value: 0)",
          "39 (value: 1)"
        ],
        "product_key": "keya4w5rv4uax7ww"
      },
      "bf26a5cc6790111924flut": {
        "friendly_name": "Abstellraum-Licht",
        "host": "192.168.59.55",
        "local_key": "U/#...M}l",
        "protocol_version": "3.3",
        "enable_debug": false,
        "entities": [
          {
            "friendly_name": "Abstellraum-Licht",
            "entity_category": "None",
            "current": "1",
            "current_consumption": "7",
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "1",
            "platform": "switch",
            "icon": ""
          }
        ],
        "model": "1G SMART WIFI SWITCH",
        "product_key": "key8f3g5qvs3gxma",
        "device_id": "bf26a5cc6790111924flut",
        "node_id": null,
        "dps_strings": [
          "1 (value: False)",
          "7 (value: 0)"
        ]
      },
      "bf2ec92ceda9c75856lyf5": {
        "friendly_name": "Garten-Licht",
        "host": "192.168.59.56",
        "local_key": "8IX...n0<",
        "protocol_version": "3.3",
        "enable_debug": false,
        "entities": [
          {
            "friendly_name": "Garten-Licht",
            "entity_category": "None",
            "current": "1",
            "current_consumption": "7",
            "restore_on_reconnect": true,
            "is_passive_entity": false,
            "id": "1",
            "platform": "switch",
            "icon": ""
          }
        ],
        "model": "1G Wifi switch :",
        "product_key": "key7axydcvmea3x9",
        "device_id": "bf2ec92ceda9c75856lyf5",
        "node_id": null,
        "dps_strings": [
          "1 (value: False)",
          "7 (value: 0)",
          "14 (value: off)",
          "17 (value: )",
          "18 (value: )"
        ]
      },
      "bfae99113c0264f0920zde": {
        "friendly_name": "Garten-Markise",
        "host": "192.168.59.53",
        "local_key": "hFu...YnV",
        "protocol_version": "3.3",
        "enable_debug": false,
        "entities": [
          {
            "friendly_name": "Garten-Markise-Befehl",
            "commands_set": "open_close_stop",
            "positioning_mode": "position",
            "current_position_dp": "3",
            "set_position_dp": "2",
            "position_inverted": true,
            "span_time": 25.0,
            "id": "1",
            "platform": "cover"
          },
          {
            "friendly_name": "Garten-Markise-Status",
            "id": "7",
            "platform": "sensor"
          }
        ],
        "model": "Wi-Fi Curtain Switch ",
        "device_id": "bfae99113c0264f0920zde",
        "dps_strings": [
          "1 (value: stop)",
          "2 (value: 100)",
          "3 (value: 100)",
          "4 (value: morning)",
          "5 (value: False)",
          "7 (value: opening)",
          "11 (value: 33960)"
        ],
        "product_key": "h8hit5awxfraops2"
      },
      "bfb81a08cac87aa6fbh7zy": {
        "friendly_name": "Abstellraum-Strom #1",
        "host": "192.168.59.40",
        "local_key": "Zd+...^|$",
        "protocol_version": "3.3",
        "enable_debug": false,
        "entities": [
          {
            "friendly_name": "Abstellraum Strom #1",
            "entity_category": "None",
            "current": "1",
            "current_consumption": "9",
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "1",
            "platform": "switch",
            "icon": ""
          }
        ],
        "model": "WIFI Socket(WIFI+BLE)",
        "product_key": "keya4gvchmtapm8n",
        "device_id": "bfb81a08cac87aa6fbh7zy",
        "node_id": null,
        "dps_strings": [
          "1 (value: False)",
          "9 (value: 0)",
          "38 (value: memory)",
          "40 (value: relay)",
          "41 (value: False)",
          "42 (value: )",
          "43 (value: )"
        ]
      },
      "bffe7e1ce6249fd879yqb8": {
        "friendly_name": "Klima",
        "host": "192.168.59.129",
        "local_key": "4fe...c9b",
        "protocol_version": "3.3",
        "entities": [
          {
            "friendly_name": "Klima",
            "target_temperature_dp": "2",
            "current_temperature_dp": "3",
            "temperature_step": "1",
            "precision": "1",
            "hvac_mode_dp": "4",
            "hvac_mode_set": {
              "heat": "Manual",
              "auto": "Program"
            },
            "temperature_unit": "celsius",
            "target_precision": "1",
            "hvac_action_dp": "4",
            "id": "1",
            "platform": "climate",
            "hvac_action_set": {},
            "preset_set": {}
          }
        ],
        "device_id": "bffe7e1ce6249fd879yqb8",
        "dps_strings": [
          "1 (value: False)",
          "2 (value: 21)",
          "3 (value: 26)",
          "4 (value: Cool)",
          "5 (value: Low)",
          "14 (value: False)",
          "19 (value: c)",
          "22 (value: 0)",
          "101 (value: False)",
          "102 (value: 0)",
          "103 (value: C_H)"
        ],
        "product_key": "k8rowuusifd1v92f",
        "model": "MONZANA Klimaanlage 4in1"
      },
      "bfbc5b0bbb18527682jykd": {
        "friendly_name": "Deckenventilator",
        "host": "192.168.59.190",
        "local_key": "7y0....wT",
        "protocol_version": "3.3",
        "enable_debug": false,
        "entities": [
          {
            "friendly_name": "Ventilator",
            "entity_category": "None",
            "fan_speed_control": "3",
            "fan_oscillating_control": "2",
            "fan_direction": "8",
            "fan_direction_forward": "forward",
            "fan_direction_reverse": "reverse",
            "fan_speed_min": 1,
            "fan_speed_max": 6,
            "fan_speed_ordered_list": "disabled",
            "fan_dps_type": "int",
            "id": "1",
            "platform": "fan",
            "icon": ""
          },
          {
            "friendly_name": "Licht",
            "entity_category": "None",
            "brightness": "16",
            "color_temp": "17",
            "brightness_lower": 2,
            "brightness_upper": 100,
            "color_temp_min_kelvin": 2700,
            "color_temp_max_kelvin": 6500,
            "color_temp_reverse": false,
            "music_mode": false,
            "id": "15",
            "platform": "light",
            "icon": ""
          }
        ],
        "model": "Ceiling Fan With Light",
        "product_key": "g0ewlb1vmwqljzji",
        "device_id": "bfbc5b0bbb18527682jykd",
        "node_id": null,
        "dps_strings": [
          "1 (value: False)",
          "2 (value: normal)",
          "3 (value: 4)",
          "8 (value: forward)",
          "15 (value: True)",
          "16 (value: 100)",
          "17 (value: 100)",
          "22 (value: off)"
        ]
      },
      "bf984eb57d92c8bf9dzy7b": {
        "friendly_name": "Terasse",
        "host": "192.168.59.29",
        "local_key": "UlY...ij/",
        "protocol_version": "3.3",
        "enable_debug": false,
        "entities": [
          {
            "friendly_name": "Curtain",
            "entity_category": "None",
            "commands_set": "open_close_stop",
            "positioning_mode": "position",
            "current_position_dp": "3",
            "set_position_dp": "2",
            "position_inverted": true,
            "span_time": 25.0,
            "id": "1",
            "platform": "cover",
            "icon": ""
          },
          {
            "friendly_name": "Cover Mode",
            "entity_category": "config",
            "select_options": {
              "morning": "Morning",
              "night": "Night"
            },
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "4",
            "platform": "select",
            "icon": ""
          },
          {
            "friendly_name": "Motor Direction",
            "entity_category": "config",
            "select_options": {
              "forward": "Forward",
              "back": "Back"
            },
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "5",
            "platform": "select",
            "icon": "mdi:swap-vertical"
          },
          {
            "friendly_name": "Fault",
            "entity_category": "diagnostic",
            "state_on": "1",
            "device_class": "problem",
            "id": "10",
            "platform": "binary_sensor",
            "icon": ""
          },
          {
            "entity_category": "diagnostic",
            "friendly_name": "",
            "id": "11",
            "platform": "sensor",
            "icon": "mdi:progress-clock"
          }
        ],
        "model": "Wi-Fi Curtain Switch ",
        "product_key": "h8hit5awxfraops2",
        "device_id": "bf984eb57d92c8bf9dzy7b",
        "node_id": null,
        "dps_strings": [
          "1 ( code: control , value: stop )",
          "2 ( code: percent_control , value: 0 )",
          "3 ( code: percent_state , value: 100 )",
          "4 ( code: mode , value: morning )",
          "5 ( code: control_back , value: False )",
          "7 ( code: work_state , value: opening )",
          "10 ( code: fault , value: 0, cloud pull )",
          "11 ( code: time_total , value: 30540 )"
        ]
      },
      "bfd4b2700b2cf5a950qnee": {
        "friendly_name": "Rolladen Abstellraum",
        "device_id": "bfd4b2700b2cf5a950qnee",
        "host": "192.168.59.43",
        "local_key": "b2F...aH)",
        "protocol_version": "3.3",
        "enable_debug": false,
        "node_id": null,
        "model": "",
        "product_key": "keyskn3e3rm44jux",
        "dps_strings": [
          "1 ( code: control , value: stop )",
          "2 ( code: percent_control , value: 0 )",
          "3 ( code: cur_calibration , value: end, cloud pull )",
          "7 ( code: switch_backlight , value: False )",
          "8 ( code: control_back_mode , value: forward )",
          "10 ( code: quick_calibration_1 , value: 21 )"
        ],
        "entities": [
          {
            "id": "1",
            "current_position_dp": "2",
            "set_position_dp": "2",
            "commands_set": "open_close_stop",
            "positioning_mode": "position",
            "position_inverted": false,
            "friendly_name": "Curtain",
            "icon": "",
            "entity_category": "None",
            "device_class": "curtain",
            "platform": "cover"
          },
          {
            "id": "7",
            "brightness_lower": 29,
            "brightness_upper": 1000,
            "color_temp_min_kelvin": 2700,
            "color_temp_max_kelvin": 6500,
            "color_temp_reverse": false,
            "music_mode": false,
            "friendly_name": "State light",
            "icon": "",
            "entity_category": "config",
            "platform": "light"
          }
        ]
      },
      "bf99924f169e97c6ddapsy": {
        "friendly_name": "Esszimmer Rolladen",
        "host": "192.168.59.31",
        "local_key": "rUK...bC!",
        "protocol_version": "3.3",
        "enable_debug": false,
        "entities": [
          {
            "friendly_name": "Curtain",
            "entity_category": "None",
            "commands_set": "open_close_stop",
            "positioning_mode": "position",
            "current_position_dp": "3",
            "set_position_dp": "2",
            "position_inverted": true,
            "span_time": 25.0,
            "id": "1",
            "platform": "cover",
            "icon": ""
          },
          {
            "friendly_name": "Cover Mode",
            "entity_category": "config",
            "select_options": {
              "morning": "Morning",
              "night": "Night"
            },
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "4",
            "platform": "select",
            "icon": ""
          },
          {
            "friendly_name": "Motor Direction",
            "entity_category": "config",
            "select_options": {
              "forward": "Forward",
              "back": "Back"
            },
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "5",
            "platform": "select",
            "icon": "mdi:swap-vertical"
          },
          {
            "friendly_name": "Fault",
            "entity_category": "diagnostic",
            "state_on": "1",
            "device_class": "problem",
            "id": "10",
            "platform": "binary_sensor",
            "icon": ""
          },
          {
            "entity_category": "diagnostic",
            "friendly_name": "",
            "id": "11",
            "platform": "sensor",
            "icon": "mdi:progress-clock"
          }
        ],
        "model": "Wi-Fi Curtain Switch ",
        "product_key": "h8hit5awxfraops2",
        "device_id": "bf99924f169e97c6ddapsy",
        "node_id": null,
        "dps_strings": [
          "1 ( code: control , value: stop )",
          "2 ( code: percent_control , value: 0 )",
          "3 ( code: percent_state , value: 100 )",
          "4 ( code: mode , value: morning )",
          "5 ( code: control_back , value: False )",
          "7 ( code: work_state , value: opening )",
          "10 ( code: fault , value: 0, cloud pull )",
          "11 ( code: time_total , value: 20140 )"
        ]
      },
      "bfb67003418ef07b1atbyd": {
        "friendly_name": "TV",
        "host": "192.168.59.30",
        "local_key": "jE8...5j)",
        "protocol_version": "3.3",
        "enable_debug": false,
        "entities": [
          {
            "friendly_name": "Curtain",
            "entity_category": "None",
            "commands_set": "open_close_stop",
            "positioning_mode": "position",
            "current_position_dp": "3",
            "set_position_dp": "2",
            "position_inverted": true,
            "span_time": 25.0,
            "id": "1",
            "platform": "cover",
            "icon": ""
          },
          {
            "friendly_name": "Cover Mode",
            "entity_category": "config",
            "select_options": {
              "morning": "Morning",
              "night": "Night"
            },
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "4",
            "platform": "select",
            "icon": ""
          },
          {
            "friendly_name": "Motor Direction",
            "entity_category": "config",
            "select_options": {
              "forward": "Forward",
              "back": "Back"
            },
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "5",
            "platform": "select",
            "icon": "mdi:swap-vertical"
          },
          {
            "friendly_name": "Fault",
            "entity_category": "diagnostic",
            "state_on": "1",
            "device_class": "problem",
            "id": "10",
            "platform": "binary_sensor",
            "icon": ""
          },
          {
            "entity_category": "diagnostic",
            "friendly_name": "",
            "id": "11",
            "platform": "sensor",
            "icon": "mdi:progress-clock"
          }
        ],
        "model": "Wi-Fi Curtain Switch ",
        "product_key": "h8hit5awxfraops2",
        "device_id": "bfb67003418ef07b1atbyd",
        "node_id": null,
        "dps_strings": [
          "1 ( code: control , value: stop )",
          "2 ( code: percent_control , value: 0 )",
          "3 ( code: percent_state , value: 100 )",
          "4 ( code: mode , value: morning )",
          "5 ( code: control_back , value: False )",
          "7 ( code: work_state , value: opening )",
          "10 ( code: fault , value: 0, cloud pull )",
          "11 ( code: time_total , value: 21360 )"
        ]
      },
      "bfa0a30d0c09ff862fdsnt": {
        "friendly_name": "K\u00fcche Rolladen",
        "host": "192.168.59.39",
        "local_key": "SIP...xXq",
        "protocol_version": "3.3",
        "enable_debug": false,
        "entities": [
          {
            "friendly_name": "Curtain",
            "entity_category": "None",
            "commands_set": "open_close_stop",
            "positioning_mode": "position",
            "current_position_dp": "3",
            "set_position_dp": "2",
            "position_inverted": true,
            "span_time": 25.0,
            "id": "1",
            "platform": "cover",
            "icon": ""
          },
          {
            "friendly_name": "Cover Mode",
            "entity_category": "config",
            "select_options": {
              "morning": "Morning",
              "night": "Night"
            },
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "4",
            "platform": "select",
            "icon": ""
          },
          {
            "friendly_name": "Motor Direction",
            "entity_category": "config",
            "select_options": {
              "forward": "Forward",
              "back": "Back"
            },
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "5",
            "platform": "select",
            "icon": "mdi:swap-vertical"
          },
          {
            "friendly_name": "Fault",
            "entity_category": "diagnostic",
            "state_on": "1",
            "device_class": "problem",
            "id": "10",
            "platform": "binary_sensor",
            "icon": ""
          },
          {
            "entity_category": "diagnostic",
            "friendly_name": "",
            "id": "11",
            "platform": "sensor",
            "icon": "mdi:progress-clock"
          }
        ],
        "model": "Wi-Fi Curtain Switch ",
        "product_key": "h8hit5awxfraops2",
        "device_id": "bfa0a30d0c09ff862fdsnt",
        "node_id": null,
        "dps_strings": [
          "1 ( code: control , value: stop )",
          "2 ( code: percent_control , value: 100 )",
          "3 ( code: percent_state , value: 100 )",
          "4 ( code: mode , value: morning )",
          "5 ( code: control_back , value: False )",
          "7 ( code: work_state , value: opening )",
          "10 ( code: fault , value: 0, cloud pull )",
          "11 ( code: time_total , value: 21130 )"
        ]
      },
      "bf18309fcad314dcberh6a": {
        "friendly_name": "Schlafzimmer Rolladen",
        "host": "192.168.59.41",
        "local_key": "qE>...b*`",
        "protocol_version": "3.3",
        "enable_debug": false,
        "entities": [
          {
            "friendly_name": "Curtain",
            "entity_category": "None",
            "commands_set": "open_close_stop",
            "positioning_mode": "position",
            "current_position_dp": "3",
            "set_position_dp": "2",
            "position_inverted": true,
            "span_time": 25.0,
            "id": "1",
            "platform": "cover",
            "icon": ""
          },
          {
            "friendly_name": "Cover Mode",
            "entity_category": "config",
            "select_options": {
              "morning": "Morning",
              "night": "Night"
            },
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "4",
            "platform": "select",
            "icon": ""
          },
          {
            "friendly_name": "Motor Direction",
            "entity_category": "config",
            "select_options": {
              "forward": "Forward",
              "back": "Back"
            },
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "5",
            "platform": "select",
            "icon": "mdi:swap-vertical"
          },
          {
            "friendly_name": "Fault",
            "entity_category": "diagnostic",
            "state_on": "1",
            "device_class": "problem",
            "id": "10",
            "platform": "binary_sensor",
            "icon": ""
          },
          {
            "entity_category": "diagnostic",
            "friendly_name": "",
            "id": "11",
            "platform": "sensor",
            "icon": "mdi:progress-clock"
          }
        ],
        "model": "Wi-Fi Curtain Switch ",
        "product_key": "h8hit5awxfraops2",
        "device_id": "bf18309fcad314dcberh6a",
        "node_id": null,
        "dps_strings": [
          "1 ( code: control , value: stop )",
          "2 ( code: percent_control , value: 100 )",
          "3 ( code: percent_state , value: 100 )",
          "4 ( code: mode , value: morning )",
          "5 ( code: control_back , value: False )",
          "7 ( code: work_state , value: opening )",
          "10 ( code: fault , value: 0, cloud pull )",
          "11 ( code: time_total , value: 19860 )"
        ]
      },
      "bf581ead47b0a0b568wt2t": {
        "friendly_name": "Kinderzimmer Rolladen",
        "host": "192.168.59.48",
        "local_key": "AyG...Va?",
        "protocol_version": "3.3",
        "enable_debug": false,
        "entities": [
          {
            "friendly_name": "Curtain",
            "entity_category": "None",
            "commands_set": "open_close_stop",
            "positioning_mode": "position",
            "current_position_dp": "3",
            "set_position_dp": "2",
            "position_inverted": true,
            "span_time": 25.0,
            "id": "1",
            "platform": "cover",
            "icon": ""
          },
          {
            "friendly_name": "Cover Mode",
            "entity_category": "config",
            "select_options": {
              "morning": "Morning",
              "night": "Night"
            },
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "4",
            "platform": "select",
            "icon": ""
          },
          {
            "friendly_name": "Motor Direction",
            "entity_category": "config",
            "select_options": {
              "forward": "Forward",
              "back": "Back"
            },
            "restore_on_reconnect": false,
            "is_passive_entity": false,
            "id": "5",
            "platform": "select",
            "icon": "mdi:swap-vertical"
          },
          {
            "friendly_name": "Fault",
            "entity_category": "diagnostic",
            "state_on": "1",
            "device_class": "problem",
            "id": "10",
            "platform": "binary_sensor",
            "icon": ""
          },
          {
            "entity_category": "diagnostic",
            "friendly_name": "",
            "id": "11",
            "platform": "sensor",
            "icon": "mdi:progress-clock"
          }
        ],
        "model": "Wi-Fi Curtain Switch ",
        "product_key": "h8hit5awxfraops2",
        "device_id": "bf581ead47b0a0b568wt2t",
        "node_id": null,
        "dps_strings": [
          "1 ( code: control , value: stop )",
          "2 ( code: percent_control , value: 100 )",
          "3 ( code: percent_state , value: 100 )",
          "4 ( code: mode , value: morning )",
          "5 ( code: control_back , value: False )",
          "7 ( code: work_state , value: opening )",
          "10 ( code: fault , value: 0, cloud pull )",
          "11 ( code: time_total , value: 19460 )"
        ]
      },
      "bffea7e6ca155bca80xztk": {
        "friendly_name": "Kinderzimmer Gartenseite Rolladen",
        "host": "192.168.59.47",
        "local_key": "be1...kd8",
        "protocol_version": "3.3",
        "enable_debug": false,
        "entities": [
          {
            "friendly_name": "Curtain",
            "entity_category": "None",
            "commands_set": "open_close_stop",
            "positioning_mode": "position",
            "current_position_dp": "2",
            "set_position_dp": "2",
            "position_inverted": false,
            "span_time": 25.0,
            "device_class": "shutter",
            "id": "1",
            "platform": "cover",
            "icon": ""
          },
          {
            "friendly_name": "State light",
            "entity_category": "config",
            "brightness_lower": 29,
            "brightness_upper": 1000,
            "color_temp_min_kelvin": 2700,
            "color_temp_max_kelvin": 6500,
            "color_temp_reverse": false,
            "music_mode": false,
            "id": "7",
            "platform": "light",
            "icon": ""
          }
        ],
        "model": "Curtain switch(WIFI+BLE)",
        "product_key": "keyskn3e3rm44jux",
        "device_id": "bffea7e6ca155bca80xztk",
        "node_id": null,
        "dps_strings": [
          "1 ( code: control , value: stop )",
          "2 ( code: percent_control , value: 0 )",
          "3 ( code: cur_calibration , value: end, cloud pull )",
          "7 ( code: switch_backlight , value: False )",
          "8 ( code: control_back_mode , value: forward )",
          "10 ( code: quick_calibration_1 , value: 20 )"
        ]
      },
      "bfadd453718c357027ras8": {
        "friendly_name": "Rolladen G\u00e4stezimmer",
        "host": "192.168.59.54",
        "local_key": "P$s...^)b",
        "protocol_version": "3.3",
        "enable_debug": false,
        "entities": [
          {
            "friendly_name": "Curtain",
            "entity_category": "None",
            "commands_set": "open_close_stop",
            "positioning_mode": "position",
            "current_position_dp": "2",
            "set_position_dp": "2",
            "position_inverted": false,
            "span_time": 25.0,
            "device_class": "shutter",
            "id": "1",
            "platform": "cover",
            "icon": ""
          },
          {
            "friendly_name": "State light",
            "entity_category": "config",
            "brightness_lower": 29,
            "brightness_upper": 1000,
            "color_temp_min_kelvin": 2700,
            "color_temp_max_kelvin": 6500,
            "color_temp_reverse": false,
            "music_mode": false,
            "id": "7",
            "platform": "light",
            "icon": ""
          }
        ],
        "model": "Curtain switch(WIFI+BLE)",
        "product_key": "keyskn3e3rm44jux",
        "device_id": "bfadd453718c357027ras8",
        "node_id": null,
        "dps_strings": [
          "1 ( code: control , value: stop )",
          "2 ( code: percent_control , value: 0 )",
          "3 ( code: cur_calibration , value: start, cloud pull )",
          "7 ( code: switch_backlight , value: False )",
          "8 ( code: control_back_mode , value: forward )",
          "10 ( code: quick_calibration_1 , value: 19 )"
        ]
      }
    },
    "updated_at": "1717183505526",
    "cloud_devices": {
      "332670202462ab3b06e8": {
        "active_time": 1707504981,
        "biz_type": 18,
        "category": "cz",
        "create_time": 1585503759,
        "icon": "smart/device_icon/eu1580570982309dZVPE/1585503993.577068.png",
        "id": "332670202462ab3b06e8",
        "ip": "1...3",
        "lat": "",
        "local_key": "}m^...oL?",
        "lon": "",
        "model": "",
        "name": "K\u00fcche #5",
        "online": true,
        "owner_id": "10145172",
        "product_id": "namu1lshm4jrx1td",
        "product_name": "SMART WIFI SOCKET",
        "status": [
          {
            "code": "switch_1",
            "value": false
          },
          {
            "code": "countdown_1",
            "value": 0
          },
          {
            "code": "relay_status",
            "value": "power_off"
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717485191,
        "uuid": "332670202462ab3b06e8",
        "dps_data": {
          "1": {
            "code": "switch_1",
            "custom_name": "",
            "dp_id": 1,
            "time": 1717227750978,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 1,
            "accessMode": "rw"
          },
          "9": {
            "code": "countdown_1",
            "custom_name": "",
            "dp_id": 9,
            "time": 1713960465122,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 9,
            "accessMode": "rw"
          },
          "39": {
            "code": "relay_status",
            "custom_name": "",
            "dp_id": 39,
            "time": 1713960465122,
            "value": "0",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"0\", \"1\", \"2\"]}",
            "id": 39,
            "accessMode": "rw"
          }
        }
      },
      "bfb67003418ef07b1atbyd": {
        "active_time": 1707504095,
        "biz_type": 18,
        "category": "cl",
        "create_time": 1580852837,
        "icon": "smart/program_category_icon/cl.png",
        "id": "bfb67003418ef07b1atbyd",
        "ip": "1...3",
        "lat": "",
        "local_key": "jE8...5j)",
        "lon": "",
        "model": "",
        "name": "TV",
        "online": true,
        "owner_id": "10145172",
        "product_id": "h8hit5awxfraops2",
        "product_name": "Wi-Fi Curtain Switch ",
        "status": [
          {
            "code": "control",
            "value": "stop"
          },
          {
            "code": "percent_control",
            "value": 50
          },
          {
            "code": "percent_state",
            "value": 0
          },
          {
            "code": "mode",
            "value": "morning"
          },
          {
            "code": "control_back",
            "value": false
          },
          {
            "code": "work_state",
            "value": "opening"
          },
          {
            "code": "time_total",
            "value": 21360
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484959,
        "uuid": "cfce2fdf2dc3c9d9",
        "dps_data": {
          "1": {
            "code": "control",
            "custom_name": "",
            "dp_id": 1,
            "time": 1717478121927,
            "value": "stop",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"open\", \"stop\", \"close\"]}",
            "id": 1,
            "accessMode": "rw"
          },
          "2": {
            "code": "percent_control",
            "custom_name": "",
            "dp_id": 2,
            "time": 1716595568574,
            "value": 50,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 100, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"%\"}",
            "id": 2,
            "accessMode": "rw"
          },
          "3": {
            "code": "percent_state",
            "custom_name": "",
            "dp_id": 3,
            "time": 1717478122012,
            "value": 0,
            "id": 3,
            "accessMode": "ro",
            "values": "{\"type\": \"value\", \"max\": 100, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"%\"}"
          },
          "4": {
            "code": "mode",
            "custom_name": "",
            "dp_id": 4,
            "time": 1717183506098,
            "value": "morning",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"morning\", \"night\"]}",
            "id": 4,
            "accessMode": "rw"
          },
          "5": {
            "code": "control_back",
            "custom_name": "",
            "dp_id": 5,
            "time": 1717183506098,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 5,
            "accessMode": "rw"
          },
          "7": {
            "code": "work_state",
            "custom_name": "",
            "dp_id": 7,
            "time": 1716595568574,
            "value": "opening",
            "id": 7,
            "accessMode": "rw",
            "values": "{\"type\": \"enum\", \"range\": [\"opening\", \"closing\"]}"
          },
          "10": {
            "code": "fault",
            "custom_name": "",
            "dp_id": 10,
            "time": 1653853720918,
            "value": 0,
            "id": 10,
            "accessMode": "ro",
            "values": "{\"type\": \"bitmap\", \"label\": [\"motor_fault\"], \"maxlen\": 1}"
          },
          "11": {
            "code": "time_total",
            "custom_name": "",
            "dp_id": 11,
            "time": 1717183506098,
            "value": 21360,
            "id": 11,
            "accessMode": "ro",
            "values": "{\"type\": \"value\", \"max\": 120000, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"ms\"}"
          }
        }
      },
      "347550612cf432a2c504": {
        "active_time": 1707504710,
        "biz_type": 18,
        "category": "cz",
        "create_time": 1585504343,
        "icon": "smart/device_icon/eu1580570982309dZVPE/1585504452.112455.png",
        "id": "347550612cf432a2c504",
        "ip": "1...3",
        "lat": "",
        "local_key": "1yr...5(D",
        "lon": "",
        "model": "18\u6b3eWiFi\u63d2\u5ea7",
        "name": "K\u00fcche #6",
        "online": true,
        "owner_id": "10145172",
        "product_id": "HiqYJtATgLPqVOW7",
        "product_name": "SMART WIFI SOCKET",
        "status": [
          {
            "code": "switch_1",
            "value": true
          },
          {
            "code": "countdown_1",
            "value": 0
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484922,
        "uuid": "347550612cf432a2c504",
        "dps_data": {
          "1": {
            "code": "switch_1",
            "custom_name": "",
            "dp_id": 1,
            "time": 1714718215374,
            "value": true,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 1,
            "accessMode": "rw"
          },
          "11": {
            "code": "countdown_1",
            "custom_name": "",
            "dp_id": 11,
            "time": 1714718215374,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"\u79d2\"}",
            "id": 11,
            "accessMode": "rw"
          }
        }
      },
      "bfae99113c0264f0920zde": {
        "active_time": 1707504191,
        "biz_type": 18,
        "category": "cl",
        "create_time": 1615055094,
        "icon": "smart/program_category_icon/cl.png",
        "id": "bfae99113c0264f0920zde",
        "ip": "1...3",
        "lat": "",
        "local_key": "hFu...YnV",
        "lon": "",
        "model": "",
        "name": "Garten Markise",
        "online": true,
        "owner_id": "10145172",
        "product_id": "h8hit5awxfraops2",
        "product_name": "Wi-Fi Curtain Switch ",
        "status": [
          {
            "code": "control",
            "value": "stop"
          },
          {
            "code": "percent_control",
            "value": 0
          },
          {
            "code": "percent_state",
            "value": 0
          },
          {
            "code": "mode",
            "value": "morning"
          },
          {
            "code": "control_back",
            "value": false
          },
          {
            "code": "work_state",
            "value": "opening"
          },
          {
            "code": "time_total",
            "value": 33960
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484905,
        "uuid": "0f6a5948e825cc6e",
        "dps_data": {
          "1": {
            "code": "control",
            "custom_name": "",
            "dp_id": 1,
            "time": 1716669842398,
            "value": "stop",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"open\", \"stop\", \"close\"]}",
            "id": 1,
            "accessMode": "rw"
          },
          "2": {
            "code": "percent_control",
            "custom_name": "",
            "dp_id": 2,
            "time": 1714858598568,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 100, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"%\"}",
            "id": 2,
            "accessMode": "rw"
          },
          "3": {
            "code": "percent_state",
            "custom_name": "",
            "dp_id": 3,
            "time": 1714858598569,
            "value": 0,
            "id": 3,
            "accessMode": "ro",
            "values": "{\"type\": \"value\", \"max\": 100, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"%\"}"
          },
          "4": {
            "code": "mode",
            "custom_name": "",
            "dp_id": 4,
            "time": 1714858598573,
            "value": "morning",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"morning\", \"night\"]}",
            "id": 4,
            "accessMode": "rw"
          },
          "5": {
            "code": "control_back",
            "custom_name": "",
            "dp_id": 5,
            "time": 1714858598575,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 5,
            "accessMode": "rw"
          },
          "7": {
            "code": "work_state",
            "custom_name": "",
            "dp_id": 7,
            "time": 1714858598596,
            "value": "opening",
            "id": 7,
            "accessMode": "rw",
            "values": "{\"type\": \"enum\", \"range\": [\"opening\", \"closing\"]}"
          },
          "10": {
            "code": "fault",
            "custom_name": "",
            "dp_id": 10,
            "time": 1673211933334,
            "value": 0,
            "id": 10,
            "accessMode": "ro",
            "values": "{\"type\": \"bitmap\", \"label\": [\"motor_fault\"], \"maxlen\": 1}"
          },
          "11": {
            "code": "time_total",
            "custom_name": "",
            "dp_id": 11,
            "time": 1714858598606,
            "value": 33960,
            "id": 11,
            "accessMode": "ro",
            "values": "{\"type\": \"value\", \"max\": 120000, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"ms\"}"
          }
        }
      },
      "bf984eb57d92c8bf9dzy7b": {
        "active_time": 1707504095,
        "biz_type": 18,
        "category": "cl",
        "create_time": 1580852837,
        "icon": "smart/program_category_icon/cl.png",
        "id": "bf984eb57d92c8bf9dzy7b",
        "ip": "1...3",
        "lat": "",
        "local_key": "UlY...ij/",
        "lon": "",
        "model": "",
        "name": "Terasse",
        "online": true,
        "owner_id": "10145172",
        "product_id": "h8hit5awxfraops2",
        "product_name": "Wi-Fi Curtain Switch ",
        "status": [
          {
            "code": "control",
            "value": "stop"
          },
          {
            "code": "percent_control",
            "value": 100
          },
          {
            "code": "percent_state",
            "value": 0
          },
          {
            "code": "mode",
            "value": "morning"
          },
          {
            "code": "control_back",
            "value": false
          },
          {
            "code": "work_state",
            "value": "opening"
          },
          {
            "code": "time_total",
            "value": 30540
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484903,
        "uuid": "35d71b0ce8d67dc5",
        "dps_data": {
          "1": {
            "code": "control",
            "custom_name": "",
            "dp_id": 1,
            "time": 1717484994110,
            "value": "stop",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"open\", \"stop\", \"close\"]}",
            "id": 1,
            "accessMode": "rw"
          },
          "2": {
            "code": "percent_control",
            "custom_name": "",
            "dp_id": 2,
            "time": 1717183681273,
            "value": 100,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 100, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"%\"}",
            "id": 2,
            "accessMode": "rw"
          },
          "3": {
            "code": "percent_state",
            "custom_name": "",
            "dp_id": 3,
            "time": 1717183691260,
            "value": 0,
            "id": 3,
            "accessMode": "ro",
            "values": "{\"type\": \"value\", \"max\": 100, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"%\"}"
          },
          "4": {
            "code": "mode",
            "custom_name": "",
            "dp_id": 4,
            "time": 1717484994110,
            "value": "morning",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"morning\", \"night\"]}",
            "id": 4,
            "accessMode": "rw"
          },
          "5": {
            "code": "control_back",
            "custom_name": "",
            "dp_id": 5,
            "time": 1717484994110,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 5,
            "accessMode": "rw"
          },
          "7": {
            "code": "work_state",
            "custom_name": "",
            "dp_id": 7,
            "time": 1716595568441,
            "value": "opening",
            "id": 7,
            "accessMode": "rw",
            "values": "{\"type\": \"enum\", \"range\": [\"opening\", \"closing\"]}"
          },
          "10": {
            "code": "fault",
            "custom_name": "",
            "dp_id": 10,
            "time": 1681672815784,
            "value": 0,
            "id": 10,
            "accessMode": "ro",
            "values": "{\"type\": \"bitmap\", \"label\": [\"motor_fault\"], \"maxlen\": 1}"
          },
          "11": {
            "code": "time_total",
            "custom_name": "",
            "dp_id": 11,
            "time": 1717484994110,
            "value": 30540,
            "id": 11,
            "accessMode": "ro",
            "values": "{\"type\": \"value\", \"max\": 120000, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"ms\"}"
          }
        }
      },
      "bfa0a30d0c09ff862fdsnt": {
        "active_time": 1707504863,
        "biz_type": 18,
        "category": "cl",
        "create_time": 1585069250,
        "icon": "smart/program_category_icon/cl.png",
        "id": "bfa0a30d0c09ff862fdsnt",
        "ip": "1...3",
        "lat": "",
        "local_key": "SIP...xXq",
        "lon": "",
        "model": "",
        "name": "K\u00fcche Rolladen",
        "online": true,
        "owner_id": "10145172",
        "product_id": "h8hit5awxfraops2",
        "product_name": "Wi-Fi Curtain Switch ",
        "status": [
          {
            "code": "control",
            "value": "stop"
          },
          {
            "code": "percent_control",
            "value": 0
          },
          {
            "code": "percent_state",
            "value": 0
          },
          {
            "code": "mode",
            "value": "morning"
          },
          {
            "code": "control_back",
            "value": false
          },
          {
            "code": "work_state",
            "value": "opening"
          },
          {
            "code": "time_total",
            "value": 21130
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484902,
        "uuid": "d7eede729e39fb6c",
        "dps_data": {
          "1": {
            "code": "control",
            "custom_name": "",
            "dp_id": 1,
            "time": 1717478100511,
            "value": "stop",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"open\", \"stop\", \"close\"]}",
            "id": 1,
            "accessMode": "rw"
          },
          "2": {
            "code": "percent_control",
            "custom_name": "",
            "dp_id": 2,
            "time": 1716954477193,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 100, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"%\"}",
            "id": 2,
            "accessMode": "rw"
          },
          "3": {
            "code": "percent_state",
            "custom_name": "",
            "dp_id": 3,
            "time": 1717477278080,
            "value": 0,
            "id": 3,
            "accessMode": "ro",
            "values": "{\"type\": \"value\", \"max\": 100, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"%\"}"
          },
          "4": {
            "code": "mode",
            "custom_name": "",
            "dp_id": 4,
            "time": 1716317520110,
            "value": "morning",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"morning\", \"night\"]}",
            "id": 4,
            "accessMode": "rw"
          },
          "5": {
            "code": "control_back",
            "custom_name": "",
            "dp_id": 5,
            "time": 1716317520112,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 5,
            "accessMode": "rw"
          },
          "7": {
            "code": "work_state",
            "custom_name": "",
            "dp_id": 7,
            "time": 1716317520133,
            "value": "opening",
            "id": 7,
            "accessMode": "rw",
            "values": "{\"type\": \"enum\", \"range\": [\"opening\", \"closing\"]}"
          },
          "10": {
            "code": "fault",
            "custom_name": "",
            "dp_id": 10,
            "time": 1653853427158,
            "value": 0,
            "id": 10,
            "accessMode": "ro",
            "values": "{\"type\": \"bitmap\", \"label\": [\"motor_fault\"], \"maxlen\": 1}"
          },
          "11": {
            "code": "time_total",
            "custom_name": "",
            "dp_id": 11,
            "time": 1716317520135,
            "value": 21130,
            "id": 11,
            "accessMode": "ro",
            "values": "{\"type\": \"value\", \"max\": 120000, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"ms\"}"
          }
        }
      },
      "bf2f86628659932f1ftesr": {
        "active_time": 1707504596,
        "biz_type": 18,
        "category": "kg",
        "create_time": 1581260111,
        "icon": "smart/program_category_icon/kg.png",
        "id": "bf2f86628659932f1ftesr",
        "ip": "1...3",
        "lat": "",
        "local_key": "x(=...-54",
        "lon": "",
        "model": "2G SWITCH",
        "name": "Essbereich Stripe + Spot",
        "online": true,
        "owner_id": "10145172",
        "product_id": "shdbwbr7mjjdwu1f",
        "product_name": "2G SMART WIFI SWITCH  ",
        "status": [
          {
            "code": "switch_1",
            "value": false
          },
          {
            "code": "switch_2",
            "value": false
          },
          {
            "code": "countdown_1",
            "value": 0
          },
          {
            "code": "countdown_2",
            "value": 0
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484902,
        "uuid": "f0d5899b07581b00",
        "dps_data": {
          "1": {
            "code": "switch_1",
            "custom_name": "",
            "dp_id": 1,
            "time": 1717444781147,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 1,
            "accessMode": "rw"
          },
          "2": {
            "code": "switch_2",
            "custom_name": "",
            "dp_id": 2,
            "time": 1717431958132,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 2,
            "accessMode": "rw"
          },
          "7": {
            "code": "countdown_1",
            "custom_name": "",
            "dp_id": 7,
            "time": 1714858598232,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 7,
            "accessMode": "rw"
          },
          "8": {
            "code": "countdown_2",
            "custom_name": "",
            "dp_id": 8,
            "time": 1714858598232,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 8,
            "accessMode": "rw"
          }
        }
      },
      "bf64bd5e381a810e0892ak": {
        "active_time": 1707504596,
        "biz_type": 18,
        "category": "kg",
        "create_time": 1581260175,
        "icon": "smart/program_category_icon/kg.png",
        "id": "bf64bd5e381a810e0892ak",
        "ip": "1...3",
        "lat": "",
        "local_key": "ff8...ZE?",
        "lon": "",
        "model": "1G SWITCH",
        "name": "Essbereich Lampe",
        "online": true,
        "owner_id": "10145172",
        "product_id": "5zhtsrznc7nmk6pe",
        "product_name": "1G SMART WIFI SWITCH",
        "status": [
          {
            "code": "switch_1",
            "value": false
          },
          {
            "code": "countdown_1",
            "value": 0
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484902,
        "uuid": "059616b279b17958",
        "dps_data": {
          "1": {
            "code": "switch_1",
            "custom_name": "",
            "dp_id": 1,
            "time": 1717444726687,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 1,
            "accessMode": "rw"
          },
          "7": {
            "code": "countdown_1",
            "custom_name": "",
            "dp_id": 7,
            "time": 1714858599118,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 7,
            "accessMode": "rw"
          }
        }
      },
      "bfee453a21922b1baavhj4": {
        "active_time": 1707504416,
        "biz_type": 18,
        "category": "kg",
        "create_time": 1584184221,
        "icon": "smart/program_category_icon/kg.png",
        "id": "bfee453a21922b1baavhj4",
        "ip": "1...3",
        "lat": "",
        "local_key": "[6Q...39N",
        "lon": "",
        "model": "3G SWITCH",
        "name": "Wohnbereich Lampen",
        "online": true,
        "owner_id": "10145172",
        "product_id": "arslxyjlf2gzlfqv",
        "product_name": "3G SMART WIFI SWITCH",
        "status": [
          {
            "code": "switch_1",
            "value": false
          },
          {
            "code": "switch_2",
            "value": false
          },
          {
            "code": "switch_3",
            "value": false
          },
          {
            "code": "countdown_1",
            "value": 0
          },
          {
            "code": "countdown_2",
            "value": 0
          },
          {
            "code": "countdown_3",
            "value": 0
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484897,
        "uuid": "664fa5d467215fe3",
        "dps_data": {
          "1": {
            "code": "switch_1",
            "custom_name": "Mittlere L",
            "dp_id": 1,
            "time": 1715712131842,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 1,
            "accessMode": "rw"
          },
          "2": {
            "code": "switch_2",
            "custom_name": "Hintere La",
            "dp_id": 2,
            "time": 1717431958107,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 2,
            "accessMode": "rw"
          },
          "3": {
            "code": "switch_3",
            "custom_name": "TV Lampe",
            "dp_id": 3,
            "time": 1717431958110,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 3,
            "accessMode": "rw"
          },
          "7": {
            "code": "countdown_1",
            "custom_name": "",
            "dp_id": 7,
            "time": 1714858598162,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 7,
            "accessMode": "rw"
          },
          "8": {
            "code": "countdown_2",
            "custom_name": "",
            "dp_id": 8,
            "time": 1714858598162,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 8,
            "accessMode": "rw"
          },
          "9": {
            "code": "countdown_3",
            "custom_name": "",
            "dp_id": 9,
            "time": 1714858598162,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 9,
            "accessMode": "rw"
          }
        }
      },
      "bf99924f169e97c6ddapsy": {
        "active_time": 1707504256,
        "biz_type": 18,
        "category": "cl",
        "create_time": 1580629576,
        "icon": "smart/program_category_icon/cl.png",
        "id": "bf99924f169e97c6ddapsy",
        "ip": "1...3",
        "lat": "",
        "local_key": "rUK...bC!",
        "lon": "",
        "model": "",
        "name": "Esszimmer Rolladen",
        "online": true,
        "owner_id": "10145172",
        "product_id": "h8hit5awxfraops2",
        "product_name": "Wi-Fi Curtain Switch ",
        "status": [
          {
            "code": "control",
            "value": "stop"
          },
          {
            "code": "percent_control",
            "value": 0
          },
          {
            "code": "percent_state",
            "value": 0
          },
          {
            "code": "mode",
            "value": "morning"
          },
          {
            "code": "control_back",
            "value": false
          },
          {
            "code": "work_state",
            "value": "opening"
          },
          {
            "code": "time_total",
            "value": 20140
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484886,
        "uuid": "030feff5e3d6c342",
        "dps_data": {
          "1": {
            "code": "control",
            "custom_name": "",
            "dp_id": 1,
            "time": 1717484895193,
            "value": "stop",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"open\", \"stop\", \"close\"]}",
            "id": 1,
            "accessMode": "rw"
          },
          "2": {
            "code": "percent_control",
            "custom_name": "",
            "dp_id": 2,
            "time": 1716595568776,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 100, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"%\"}",
            "id": 2,
            "accessMode": "rw"
          },
          "3": {
            "code": "percent_state",
            "custom_name": "",
            "dp_id": 3,
            "time": 1717477278806,
            "value": 0,
            "id": 3,
            "accessMode": "ro",
            "values": "{\"type\": \"value\", \"max\": 100, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"%\"}"
          },
          "4": {
            "code": "mode",
            "custom_name": "",
            "dp_id": 4,
            "time": 1717484895193,
            "value": "morning",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"morning\", \"night\"]}",
            "id": 4,
            "accessMode": "rw"
          },
          "5": {
            "code": "control_back",
            "custom_name": "",
            "dp_id": 5,
            "time": 1717484895193,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 5,
            "accessMode": "rw"
          },
          "7": {
            "code": "work_state",
            "custom_name": "",
            "dp_id": 7,
            "time": 1716595568776,
            "value": "opening",
            "id": 7,
            "accessMode": "rw",
            "values": "{\"type\": \"enum\", \"range\": [\"opening\", \"closing\"]}"
          },
          "10": {
            "code": "fault",
            "custom_name": "",
            "dp_id": 10,
            "time": 1653853588516,
            "value": 0,
            "id": 10,
            "accessMode": "ro",
            "values": "{\"type\": \"bitmap\", \"label\": [\"motor_fault\"], \"maxlen\": 1}"
          },
          "11": {
            "code": "time_total",
            "custom_name": "",
            "dp_id": 11,
            "time": 1717484895193,
            "value": 20140,
            "id": 11,
            "accessMode": "ro",
            "values": "{\"type\": \"value\", \"max\": 120000, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"ms\"}"
          }
        }
      },
      "bf90b883743d822723adiz": {
        "active_time": 1707504416,
        "biz_type": 18,
        "category": "kg",
        "create_time": 1584184357,
        "icon": "smart/program_category_icon/kg.png",
        "id": "bf90b883743d822723adiz",
        "ip": "1...3",
        "lat": "",
        "local_key": "e2;...Ak&",
        "lon": "",
        "model": "3G SWITCH",
        "name": "Wohnzimmer Spots & Stripe",
        "online": true,
        "owner_id": "10145172",
        "product_id": "arslxyjlf2gzlfqv",
        "product_name": "3G SMART WIFI SWITCH",
        "status": [
          {
            "code": "switch_1",
            "value": false
          },
          {
            "code": "switch_2",
            "value": false
          },
          {
            "code": "switch_3",
            "value": false
          },
          {
            "code": "countdown_1",
            "value": 0
          },
          {
            "code": "countdown_2",
            "value": 0
          },
          {
            "code": "countdown_3",
            "value": 0
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484883,
        "uuid": "b51e4bd30a6e5cda",
        "dps_data": {
          "1": {
            "code": "switch_1",
            "custom_name": "Spots V",
            "dp_id": 1,
            "time": 1717431958111,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 1,
            "accessMode": "rw"
          },
          "2": {
            "code": "switch_2",
            "custom_name": "Spots H",
            "dp_id": 2,
            "time": 1717431958113,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 2,
            "accessMode": "rw"
          },
          "3": {
            "code": "switch_3",
            "custom_name": "Wohn Led",
            "dp_id": 3,
            "time": 1717447257988,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 3,
            "accessMode": "rw"
          },
          "7": {
            "code": "countdown_1",
            "custom_name": "",
            "dp_id": 7,
            "time": 1714858599150,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 7,
            "accessMode": "rw"
          },
          "8": {
            "code": "countdown_2",
            "custom_name": "",
            "dp_id": 8,
            "time": 1714858599150,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 8,
            "accessMode": "rw"
          },
          "9": {
            "code": "countdown_3",
            "custom_name": "",
            "dp_id": 9,
            "time": 1714858599150,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 9,
            "accessMode": "rw"
          }
        }
      },
      "bf2ec92ceda9c75856lyf5": {
        "active_time": 1707504191,
        "biz_type": 18,
        "category": "kg",
        "create_time": 1615055111,
        "icon": "smart/icon/ay1537426667511AQzA0/b73c71fb6960d2b1b5b1dbe719dad5f3.png",
        "id": "bf2ec92ceda9c75856lyf5",
        "ip": "1...3",
        "lat": "",
        "local_key": "8IX...n0<",
        "lon": "",
        "model": "",
        "name": "Garten Licht",
        "online": true,
        "owner_id": "10145172",
        "product_id": "8sdiuc81kitqcfkz",
        "product_name": "1G Wifi switch :",
        "status": [
          {
            "code": "switch_1",
            "value": false
          },
          {
            "code": "countdown_1",
            "value": 0
          },
          {
            "code": "relay_status",
            "value": "power_off"
          },
          {
            "code": "cycle_time",
            "value": ""
          },
          {
            "code": "random_time",
            "value": ""
          },
          {
            "code": "switch_inching",
            "value": ""
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484883,
        "uuid": "27f3f49821758ca3",
        "dps_data": {
          "1": {
            "code": "switch_1",
            "custom_name": "",
            "dp_id": 1,
            "time": 1717484905273,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 1,
            "accessMode": "rw"
          },
          "7": {
            "code": "countdown_1",
            "custom_name": "",
            "dp_id": 7,
            "time": 1714858599678,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 7,
            "accessMode": "rw"
          },
          "14": {
            "code": "relay_status",
            "custom_name": "",
            "dp_id": 14,
            "time": 1714858599784,
            "value": "off",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"off\", \"on\", \"memory\"]}",
            "id": 14,
            "accessMode": "rw"
          },
          "17": {
            "code": "cycle_time",
            "custom_name": "",
            "dp_id": 17,
            "time": 1714858599705,
            "value": "",
            "type": "String",
            "values": "{\"type\": \"string\", \"maxlen\": 255}",
            "id": 17,
            "accessMode": "rw"
          },
          "18": {
            "code": "random_time",
            "custom_name": "",
            "dp_id": 18,
            "time": 1714858599700,
            "value": "",
            "type": "String",
            "values": "{\"type\": \"string\", \"maxlen\": 255}",
            "id": 18,
            "accessMode": "rw"
          },
          "19": {
            "code": "switch_inching",
            "custom_name": "",
            "dp_id": 19,
            "time": 1654208170219,
            "value": "",
            "type": "String",
            "values": "{\"type\": \"string\", \"maxlen\": 255}",
            "id": 19,
            "accessMode": "rw"
          }
        }
      },
      "bfadd453718c357027ras8": {
        "active_time": 1707493931,
        "biz_type": 18,
        "category": "clkg",
        "create_time": 1653850718,
        "icon": "smart/icon/001461896993159bfIWI/6454b769192ff6257d06f3ec29d31a03.png",
        "id": "bfadd453718c357027ras8",
        "ip": "1...3",
        "lat": "",
        "local_key": "P$s...^)b",
        "lon": "",
        "model": "",
        "name": "Rolladen G\u00e4stezimmer",
        "online": true,
        "owner_id": "10145172",
        "product_id": "df8t7hgufe1le0r1",
        "product_name": "Curtain switch(WIFI+BLE)",
        "status": [
          {
            "code": "control",
            "value": "stop"
          },
          {
            "code": "percent_control",
            "value": 100
          },
          {
            "code": "cur_calibration",
            "value": "start"
          },
          {
            "code": "switch_backlight",
            "value": false
          },
          {
            "code": "control_back_mode",
            "value": "forward"
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484839,
        "uuid": "031fc88148642e16",
        "dps_data": {
          "1": {
            "code": "control",
            "custom_name": "",
            "dp_id": 1,
            "time": 1717477283285,
            "value": "stop",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"open\", \"stop\", \"close\", \"continue\"]}",
            "id": 1,
            "accessMode": "rw"
          },
          "2": {
            "code": "percent_control",
            "custom_name": "",
            "dp_id": 2,
            "time": 1717477283285,
            "value": 100,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 100, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"%\"}",
            "id": 2,
            "accessMode": "rw"
          },
          "3": {
            "code": "cur_calibration",
            "custom_name": "",
            "dp_id": 3,
            "time": 1707493193937,
            "value": "start",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"start\", \"end\"]}",
            "id": 3,
            "accessMode": "rw"
          },
          "7": {
            "code": "switch_backlight",
            "custom_name": "",
            "dp_id": 7,
            "time": 1713959199583,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 7,
            "accessMode": "rw"
          },
          "8": {
            "code": "control_back_mode",
            "custom_name": "",
            "dp_id": 8,
            "time": 1713959199583,
            "value": "forward",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"forward\", \"back\"]}",
            "id": 8,
            "accessMode": "rw"
          },
          "10": {
            "code": "quick_calibration_1",
            "custom_name": "",
            "dp_id": 10,
            "time": 1713959199583,
            "value": 19,
            "id": 10,
            "accessMode": "rw",
            "values": "{\"type\": \"value\", \"max\": 900, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}"
          }
        }
      },
      "bf18309fcad314dcberh6a": {
        "active_time": 1707495245,
        "biz_type": 18,
        "category": "cl",
        "create_time": 1585505219,
        "icon": "smart/program_category_icon/cl.png",
        "id": "bf18309fcad314dcberh6a",
        "ip": "1...3",
        "lat": "",
        "local_key": "qE>...b*`",
        "lon": "",
        "model": "",
        "name": "Schlafzimmer Rolladen",
        "online": true,
        "owner_id": "10145172",
        "product_id": "h8hit5awxfraops2",
        "product_name": "Wi-Fi Curtain Switch ",
        "status": [
          {
            "code": "control",
            "value": "stop"
          },
          {
            "code": "percent_control",
            "value": 0
          },
          {
            "code": "percent_state",
            "value": 0
          },
          {
            "code": "mode",
            "value": "morning"
          },
          {
            "code": "control_back",
            "value": false
          },
          {
            "code": "work_state",
            "value": "opening"
          },
          {
            "code": "time_total",
            "value": 19860
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484838,
        "uuid": "f71c227e10e5c446",
        "dps_data": {
          "1": {
            "code": "control",
            "custom_name": "",
            "dp_id": 1,
            "time": 1717478017651,
            "value": "stop",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"open\", \"stop\", \"close\"]}",
            "id": 1,
            "accessMode": "rw"
          },
          "2": {
            "code": "percent_control",
            "custom_name": "",
            "dp_id": 2,
            "time": 1716105928947,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 100, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"%\"}",
            "id": 2,
            "accessMode": "rw"
          },
          "3": {
            "code": "percent_state",
            "custom_name": "",
            "dp_id": 3,
            "time": 1717478017740,
            "value": 0,
            "id": 3,
            "accessMode": "ro",
            "values": "{\"type\": \"value\", \"max\": 100, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"%\"}"
          },
          "4": {
            "code": "mode",
            "custom_name": "",
            "dp_id": 4,
            "time": 1714858514216,
            "value": "morning",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"morning\", \"night\"]}",
            "id": 4,
            "accessMode": "rw"
          },
          "5": {
            "code": "control_back",
            "custom_name": "",
            "dp_id": 5,
            "time": 1714858514217,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 5,
            "accessMode": "rw"
          },
          "7": {
            "code": "work_state",
            "custom_name": "",
            "dp_id": 7,
            "time": 1714858514236,
            "value": "opening",
            "id": 7,
            "accessMode": "rw",
            "values": "{\"type\": \"enum\", \"range\": [\"opening\", \"closing\"]}"
          },
          "10": {
            "code": "fault",
            "custom_name": "",
            "dp_id": 10,
            "time": 1607767075047,
            "value": 0,
            "id": 10,
            "accessMode": "ro",
            "values": "{\"type\": \"bitmap\", \"label\": [\"motor_fault\"], \"maxlen\": 1}"
          },
          "11": {
            "code": "time_total",
            "custom_name": "",
            "dp_id": 11,
            "time": 1714858514241,
            "value": 19860,
            "id": 11,
            "accessMode": "ro",
            "values": "{\"type\": \"value\", \"max\": 120000, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"ms\"}"
          }
        }
      },
      "bffea7e6ca155bca80xztk": {
        "active_time": 1707495076,
        "biz_type": 18,
        "category": "clkg",
        "create_time": 1649156604,
        "icon": "smart/icon/001461896993159bfIWI/6454b769192ff6257d06f3ec29d31a03.png",
        "id": "bffea7e6ca155bca80xztk",
        "ip": "1...3",
        "lat": "",
        "local_key": "be1...kd8",
        "lon": "",
        "model": "",
        "name": "Kinderzimmer Gartenseite Rolladen",
        "online": true,
        "owner_id": "10145172",
        "product_id": "df8t7hgufe1le0r1",
        "product_name": "Curtain switch(WIFI+BLE)",
        "status": [
          {
            "code": "control",
            "value": "stop"
          },
          {
            "code": "percent_control",
            "value": 100
          },
          {
            "code": "cur_calibration",
            "value": "end"
          },
          {
            "code": "switch_backlight",
            "value": false
          },
          {
            "code": "control_back_mode",
            "value": "forward"
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484822,
        "uuid": "8635f91efd3265ec",
        "dps_data": {
          "1": {
            "code": "control",
            "custom_name": "",
            "dp_id": 1,
            "time": 1717477282117,
            "value": "stop",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"open\", \"stop\", \"close\", \"continue\"]}",
            "id": 1,
            "accessMode": "rw"
          },
          "2": {
            "code": "percent_control",
            "custom_name": "",
            "dp_id": 2,
            "time": 1717477282117,
            "value": 100,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 100, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"%\"}",
            "id": 2,
            "accessMode": "rw"
          },
          "3": {
            "code": "cur_calibration",
            "custom_name": "",
            "dp_id": 3,
            "time": 1653851046822,
            "value": "end",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"start\", \"end\"]}",
            "id": 3,
            "accessMode": "rw"
          },
          "7": {
            "code": "switch_backlight",
            "custom_name": "",
            "dp_id": 7,
            "time": 1713959195619,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 7,
            "accessMode": "rw"
          },
          "8": {
            "code": "control_back_mode",
            "custom_name": "",
            "dp_id": 8,
            "time": 1713959195619,
            "value": "forward",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"forward\", \"back\"]}",
            "id": 8,
            "accessMode": "rw"
          },
          "10": {
            "code": "quick_calibration_1",
            "custom_name": "",
            "dp_id": 10,
            "time": 1713959195619,
            "value": 20,
            "id": 10,
            "accessMode": "rw",
            "values": "{\"type\": \"value\", \"max\": 900, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}"
          }
        }
      },
      "bf26a5cc6790111924flut": {
        "active_time": 1707505062,
        "biz_type": 18,
        "category": "kg",
        "create_time": 1615663049,
        "icon": "smart/program_category_icon/kg.png",
        "id": "bf26a5cc6790111924flut",
        "ip": "1...3",
        "lat": "",
        "local_key": "U/#...M}l",
        "lon": "",
        "model": "1G SWITCH",
        "name": "Abstellraum Licht ",
        "online": true,
        "owner_id": "10145172",
        "product_id": "5zhtsrznc7nmk6pe",
        "product_name": "1G SMART WIFI SWITCH",
        "status": [
          {
            "code": "switch_1",
            "value": false
          },
          {
            "code": "countdown_1",
            "value": 0
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484816,
        "uuid": "9841c010702ad920",
        "dps_data": {
          "1": {
            "code": "switch_1",
            "custom_name": "",
            "dp_id": 1,
            "time": 1717481566244,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 1,
            "accessMode": "rw"
          },
          "7": {
            "code": "countdown_1",
            "custom_name": "",
            "dp_id": 7,
            "time": 1714858598162,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 7,
            "accessMode": "rw"
          }
        }
      },
      "332670202cf432d81bc9": {
        "active_time": 1707504690,
        "biz_type": 18,
        "category": "cz",
        "create_time": 1585503759,
        "icon": "smart/program_category_icon/cz.png",
        "id": "332670202cf432d81bc9",
        "ip": "1...3",
        "lat": "",
        "local_key": "v(H...2A?",
        "lon": "",
        "model": "",
        "name": "K\u00fcche #2",
        "online": true,
        "owner_id": "10145172",
        "product_id": "namu1lshm4jrx1td",
        "product_name": "SMART WIFI SOCKET",
        "status": [
          {
            "code": "switch_1",
            "value": false
          },
          {
            "code": "countdown_1",
            "value": 0
          },
          {
            "code": "relay_status",
            "value": "power_off"
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484813,
        "uuid": "332670202cf432d81bc9",
        "dps_data": {
          "1": {
            "code": "switch_1",
            "custom_name": "",
            "dp_id": 1,
            "time": 1713959201599,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 1,
            "accessMode": "rw"
          },
          "9": {
            "code": "countdown_1",
            "custom_name": "",
            "dp_id": 9,
            "time": 1713959202905,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 9,
            "accessMode": "rw"
          },
          "39": {
            "code": "relay_status",
            "custom_name": "",
            "dp_id": 39,
            "time": 1713959202905,
            "value": "0",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"0\", \"1\", \"2\"]}",
            "id": 39,
            "accessMode": "rw"
          }
        }
      },
      "332670202462ab3aee9f": {
        "active_time": 1707504687,
        "biz_type": 18,
        "category": "cz",
        "create_time": 1585503758,
        "icon": "smart/program_category_icon/cz.png",
        "id": "332670202462ab3aee9f",
        "ip": "1...3",
        "lat": "",
        "local_key": "m5f....SE",
        "lon": "",
        "model": "",
        "name": "K\u00fcche #4",
        "online": true,
        "owner_id": "10145172",
        "product_id": "namu1lshm4jrx1td",
        "product_name": "SMART WIFI SOCKET",
        "status": [
          {
            "code": "switch_1",
            "value": false
          },
          {
            "code": "countdown_1",
            "value": 0
          },
          {
            "code": "relay_status",
            "value": "power_off"
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484813,
        "uuid": "332670202462ab3aee9f",
        "dps_data": {
          "1": {
            "code": "switch_1",
            "custom_name": "",
            "dp_id": 1,
            "time": 1717479342965,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 1,
            "accessMode": "rw"
          },
          "9": {
            "code": "countdown_1",
            "custom_name": "",
            "dp_id": 9,
            "time": 1713959202172,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 9,
            "accessMode": "rw"
          },
          "39": {
            "code": "relay_status",
            "custom_name": "",
            "dp_id": 39,
            "time": 1713959202172,
            "value": "0",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"0\", \"1\", \"2\"]}",
            "id": 39,
            "accessMode": "rw"
          }
        }
      },
      "332670202462ab3afb96": {
        "active_time": 1707504682,
        "biz_type": 18,
        "category": "cz",
        "create_time": 1585503897,
        "icon": "smart/program_category_icon/cz.png",
        "id": "332670202462ab3afb96",
        "ip": "1...3",
        "lat": "",
        "local_key": "3'$...(1S",
        "lon": "",
        "model": "",
        "name": "K\u00fcche #3",
        "online": true,
        "owner_id": "10145172",
        "product_id": "namu1lshm4jrx1td",
        "product_name": "SMART WIFI SOCKET",
        "status": [
          {
            "code": "switch_1",
            "value": false
          },
          {
            "code": "countdown_1",
            "value": 0
          },
          {
            "code": "relay_status",
            "value": "power_off"
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484813,
        "uuid": "332670202462ab3afb96",
        "dps_data": {
          "1": {
            "code": "switch_1",
            "custom_name": "",
            "dp_id": 1,
            "time": 1717410196547,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 1,
            "accessMode": "rw"
          },
          "9": {
            "code": "countdown_1",
            "custom_name": "",
            "dp_id": 9,
            "time": 1713959202134,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 9,
            "accessMode": "rw"
          },
          "39": {
            "code": "relay_status",
            "custom_name": "",
            "dp_id": 39,
            "time": 1713959202134,
            "value": "0",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"0\", \"1\", \"2\"]}",
            "id": 39,
            "accessMode": "rw"
          }
        }
      },
      "332670202462ab3ad608": {
        "active_time": 1707504682,
        "biz_type": 18,
        "category": "cz",
        "create_time": 1585503627,
        "icon": "smart/program_category_icon/cz.png",
        "id": "332670202462ab3ad608",
        "ip": "1...3",
        "lat": "",
        "local_key": "VqF...4kP",
        "lon": "",
        "model": "",
        "name": "K\u00fcche #1",
        "online": true,
        "owner_id": "10145172",
        "product_id": "namu1lshm4jrx1td",
        "product_name": "SMART WIFI SOCKET",
        "status": [
          {
            "code": "switch_1",
            "value": false
          },
          {
            "code": "countdown_1",
            "value": 0
          },
          {
            "code": "relay_status",
            "value": "power_off"
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484813,
        "uuid": "332670202462ab3ad608",
        "dps_data": {
          "1": {
            "code": "switch_1",
            "custom_name": "",
            "dp_id": 1,
            "time": 1717354329064,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 1,
            "accessMode": "rw"
          },
          "9": {
            "code": "countdown_1",
            "custom_name": "",
            "dp_id": 9,
            "time": 1713959219000,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 9,
            "accessMode": "rw"
          },
          "39": {
            "code": "relay_status",
            "custom_name": "",
            "dp_id": 39,
            "time": 1713959219000,
            "value": "0",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"0\", \"1\", \"2\"]}",
            "id": 39,
            "accessMode": "rw"
          }
        }
      },
      "bfd4b2700b2cf5a950qnee": {
        "active_time": 1707505116,
        "biz_type": 18,
        "category": "clkg",
        "create_time": 1659551356,
        "icon": "smart/icon/001461896993159bfIWI/6454b769192ff6257d06f3ec29d31a03.png",
        "id": "bfd4b2700b2cf5a950qnee",
        "ip": "1...3",
        "lat": "",
        "local_key": "b2F...aH)",
        "lon": "",
        "model": "",
        "name": "Rolladen Abstellraum",
        "online": true,
        "owner_id": "10145172",
        "product_id": "df8t7hgufe1le0r1",
        "product_name": "Curtain switch(WIFI+BLE)",
        "status": [
          {
            "code": "control",
            "value": "stop"
          },
          {
            "code": "percent_control",
            "value": 0
          },
          {
            "code": "cur_calibration",
            "value": "end"
          },
          {
            "code": "switch_backlight",
            "value": false
          },
          {
            "code": "control_back_mode",
            "value": "forward"
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484812,
        "uuid": "925cdbe48c2b5e25",
        "dps_data": {
          "1": {
            "code": "control",
            "custom_name": "",
            "dp_id": 1,
            "time": 1714858597560,
            "value": "stop",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"open\", \"stop\", \"close\", \"continue\"]}",
            "id": 1,
            "accessMode": "rw"
          },
          "2": {
            "code": "percent_control",
            "custom_name": "",
            "dp_id": 2,
            "time": 1714858597560,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 100, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"%\"}",
            "id": 2,
            "accessMode": "rw"
          },
          "3": {
            "code": "cur_calibration",
            "custom_name": "",
            "dp_id": 3,
            "time": 1659551532418,
            "value": "end",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"start\", \"end\"]}",
            "id": 3,
            "accessMode": "rw"
          },
          "7": {
            "code": "switch_backlight",
            "custom_name": "",
            "dp_id": 7,
            "time": 1714858597560,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 7,
            "accessMode": "rw"
          },
          "8": {
            "code": "control_back_mode",
            "custom_name": "",
            "dp_id": 8,
            "time": 1714858597560,
            "value": "forward",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"forward\", \"back\"]}",
            "id": 8,
            "accessMode": "rw"
          },
          "10": {
            "code": "quick_calibration_1",
            "custom_name": "",
            "dp_id": 10,
            "time": 1714858597560,
            "value": 21,
            "id": 10,
            "accessMode": "rw",
            "values": "{\"type\": \"value\", \"max\": 900, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}"
          }
        }
      },
      "bfb81a08cac87aa6fbh7zy": {
        "active_time": 1707505062,
        "biz_type": 18,
        "category": "cz",
        "create_time": 1615662973,
        "icon": "smart/icon/001461896993159bfIWI/7bbb722643274c7fce01d2a4efd15478.png",
        "id": "bfb81a08cac87aa6fbh7zy",
        "ip": "1...3",
        "lat": "",
        "local_key": "Zd+...^|$",
        "lon": "",
        "model": "",
        "name": "Abstellraum Strom #1",
        "online": true,
        "owner_id": "10145172",
        "product_id": "tjhs00t4mw2yyitr",
        "product_name": "WIFI Socket(WIFI+BLE)",
        "status": [
          {
            "code": "switch_1",
            "value": true
          },
          {
            "code": "countdown_1",
            "value": 0
          },
          {
            "code": "relay_status",
            "value": "last"
          },
          {
            "code": "light_mode",
            "value": "relay"
          },
          {
            "code": "child_lock",
            "value": false
          },
          {
            "code": "cycle_time",
            "value": ""
          },
          {
            "code": "random_time",
            "value": ""
          },
          {
            "code": "switch_inching",
            "value": ""
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484812,
        "uuid": "79210bbaa22757ba",
        "dps_data": {
          "1": {
            "code": "switch_1",
            "custom_name": "",
            "dp_id": 1,
            "time": 1714858602685,
            "value": true,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 1,
            "accessMode": "rw"
          },
          "9": {
            "code": "countdown_1",
            "custom_name": "",
            "dp_id": 9,
            "time": 1714858602685,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 9,
            "accessMode": "rw"
          },
          "38": {
            "code": "relay_status",
            "custom_name": "",
            "dp_id": 38,
            "time": 1714858602764,
            "value": "memory",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"off\", \"on\", \"memory\"]}",
            "id": 38,
            "accessMode": "rw"
          },
          "40": {
            "code": "light_mode",
            "custom_name": "",
            "dp_id": 40,
            "time": 1714858602766,
            "value": "relay",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"relay\", \"pos\", \"none\"]}",
            "id": 40,
            "accessMode": "rw"
          },
          "41": {
            "code": "child_lock",
            "custom_name": "",
            "dp_id": 41,
            "time": 1714858602735,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 41,
            "accessMode": "rw"
          },
          "42": {
            "code": "cycle_time",
            "custom_name": "",
            "dp_id": 42,
            "time": 1714858602715,
            "value": "",
            "type": "String",
            "values": "{\"type\": \"string\", \"maxlen\": 255}",
            "id": 42,
            "accessMode": "rw"
          },
          "43": {
            "code": "random_time",
            "custom_name": "",
            "dp_id": 43,
            "time": 1714858602710,
            "value": "",
            "type": "String",
            "values": "{\"type\": \"string\", \"maxlen\": 255}",
            "id": 43,
            "accessMode": "rw"
          },
          "44": {
            "code": "switch_inching",
            "custom_name": "",
            "dp_id": 44,
            "time": 1615662973671,
            "value": "",
            "type": "String",
            "values": "{\"type\": \"string\", \"maxlen\": 255}",
            "id": 44,
            "accessMode": "rw"
          }
        }
      },
      "bf581ead47b0a0b568wt2t": {
        "active_time": 1707494774,
        "biz_type": 18,
        "category": "cl",
        "create_time": 1585505458,
        "icon": "smart/program_category_icon/cl.png",
        "id": "bf581ead47b0a0b568wt2t",
        "ip": "1...3",
        "lat": "",
        "local_key": "AyG...Va?",
        "lon": "",
        "model": "",
        "name": "Kinderzimmer Rolladen",
        "online": true,
        "owner_id": "10145172",
        "product_id": "h8hit5awxfraops2",
        "product_name": "Wi-Fi Curtain Switch ",
        "status": [
          {
            "code": "control",
            "value": "stop"
          },
          {
            "code": "percent_control",
            "value": 0
          },
          {
            "code": "percent_state",
            "value": 0
          },
          {
            "code": "mode",
            "value": "morning"
          },
          {
            "code": "control_back",
            "value": false
          },
          {
            "code": "work_state",
            "value": "opening"
          },
          {
            "code": "time_total",
            "value": 20580
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1717484802,
        "uuid": "28442088bd41aadd",
        "dps_data": {
          "1": {
            "code": "control",
            "custom_name": "",
            "dp_id": 1,
            "time": 1717477281267,
            "value": "stop",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"open\", \"stop\", \"close\"]}",
            "id": 1,
            "accessMode": "rw"
          },
          "2": {
            "code": "percent_control",
            "custom_name": "",
            "dp_id": 2,
            "time": 1716105930172,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 100, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"%\"}",
            "id": 2,
            "accessMode": "rw"
          },
          "3": {
            "code": "percent_state",
            "custom_name": "",
            "dp_id": 3,
            "time": 1717477281355,
            "value": 0,
            "id": 3,
            "accessMode": "ro",
            "values": "{\"type\": \"value\", \"max\": 100, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"%\"}"
          },
          "4": {
            "code": "mode",
            "custom_name": "",
            "dp_id": 4,
            "time": 1714858514221,
            "value": "morning",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"morning\", \"night\"]}",
            "id": 4,
            "accessMode": "rw"
          },
          "5": {
            "code": "control_back",
            "custom_name": "",
            "dp_id": 5,
            "time": 1714858514225,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 5,
            "accessMode": "rw"
          },
          "7": {
            "code": "work_state",
            "custom_name": "",
            "dp_id": 7,
            "time": 1714858514246,
            "value": "opening",
            "id": 7,
            "accessMode": "rw",
            "values": "{\"type\": \"enum\", \"range\": [\"opening\", \"closing\"]}"
          },
          "10": {
            "code": "fault",
            "custom_name": "",
            "dp_id": 10,
            "time": 1616148463532,
            "value": 0,
            "id": 10,
            "accessMode": "ro",
            "values": "{\"type\": \"bitmap\", \"label\": [\"motor_fault\"], \"maxlen\": 1}"
          },
          "11": {
            "code": "time_total",
            "custom_name": "",
            "dp_id": 11,
            "time": 1714858514248,
            "value": 20580,
            "id": 11,
            "accessMode": "ro",
            "values": "{\"type\": \"value\", \"max\": 120000, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"ms\"}"
          }
        }
      },
      "bf332491ee5063f644bxrz": {
        "active_time": 1716672077,
        "biz_type": 18,
        "category": "pc",
        "create_time": 1716672077,
        "icon": "smart/icon/ay1544604691909aY1mQ/da5b7078a15dc7f078bea143d521f5f2.jpg",
        "id": "bf332491ee5063f644bxrz",
        "ip": "1...3",
        "lat": "",
        "local_key": "^&....|Nq",
        "lon": "",
        "model": "739-730",
        "name": "Dachgeschoss-Power-Stripe",
        "online": false,
        "owner_id": "10145172",
        "product_id": "6hi2mv7epbcq2qsg",
        "product_name": "smart power strip 730F",
        "status": [
          {
            "code": "switch_1",
            "value": false
          },
          {
            "code": "switch_2",
            "value": false
          },
          {
            "code": "switch_3",
            "value": false
          },
          {
            "code": "switch_4",
            "value": false
          },
          {
            "code": "switch_5",
            "value": false
          },
          {
            "code": "countdown_1",
            "value": 0
          },
          {
            "code": "countdown_2",
            "value": 0
          },
          {
            "code": "countdown_3",
            "value": 0
          },
          {
            "code": "countdown_4",
            "value": 0
          },
          {
            "code": "countdown_5",
            "value": 0
          },
          {
            "code": "relay_status",
            "value": "last"
          }
        ],
        "sub": false,
        "time_zone": "+02:00",
        "uid": "eu1...VPE",
        "update_time": 1716749009,
        "uuid": "46a11ce7ca02c501",
        "dps_data": {
          "1": {
            "code": "switch_1",
            "custom_name": "",
            "dp_id": 1,
            "time": 1716749007039,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 1,
            "accessMode": "rw"
          },
          "2": {
            "code": "switch_2",
            "custom_name": "",
            "dp_id": 2,
            "time": 1716749007039,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 2,
            "accessMode": "rw"
          },
          "3": {
            "code": "switch_3",
            "custom_name": "",
            "dp_id": 3,
            "time": 1716749007039,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 3,
            "accessMode": "rw"
          },
          "4": {
            "code": "switch_4",
            "custom_name": "",
            "dp_id": 4,
            "time": 1716749007039,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 4,
            "accessMode": "rw"
          },
          "5": {
            "code": "switch_5",
            "custom_name": "",
            "dp_id": 5,
            "time": 1716749007039,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 5,
            "accessMode": "rw"
          },
          "9": {
            "code": "countdown_1",
            "custom_name": "",
            "dp_id": 9,
            "time": 1716749007039,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 9,
            "accessMode": "rw"
          },
          "10": {
            "code": "countdown_2",
            "custom_name": "",
            "dp_id": 10,
            "time": 1716749007039,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 10,
            "accessMode": "rw"
          },
          "11": {
            "code": "countdown_3",
            "custom_name": "",
            "dp_id": 11,
            "time": 1716749007039,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 11,
            "accessMode": "rw"
          },
          "12": {
            "code": "countdown_4",
            "custom_name": "",
            "dp_id": 12,
            "time": 1716749007039,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 12,
            "accessMode": "rw"
          },
          "13": {
            "code": "countdown_5",
            "custom_name": "",
            "dp_id": 13,
            "time": 1716749007039,
            "value": 0,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 86400, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"s\"}",
            "id": 13,
            "accessMode": "rw"
          },
          "38": {
            "code": "relay_status",
            "custom_name": "",
            "dp_id": 38,
            "time": 1716749007108,
            "value": "memory",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"off\", \"on\", \"memory\"]}",
            "id": 38,
            "accessMode": "rw"
          }
        }
      },
      "bfbc5b0bbb18527682jykd": {
        "active_time": 1707504494,
        "biz_type": 18,
        "category": "fs",
        "create_time": 1700598786,
        "icon": "smart/icon/ay1496817426256Ai7Np/752e18239d1776498f53818784107b51.png",
        "id": "bfbc5b0bbb18527682jykd",
        "ip": "1...3",
        "lat": "",
        "local_key": "7y0....wT",
        "lon": "",
        "model": "FP9805_TAIDE",
        "name": "Deckenventilator",
        "online": false,
        "owner_id": "10145172",
        "product_id": "g0ewlb1vmwqljzji",
        "product_name": "Ceiling Fan With Light",
        "status": [
          {
            "code": "switch",
            "value": true
          },
          {
            "code": "mode",
            "value": "normal"
          },
          {
            "code": "fan_speed",
            "value": 1
          },
          {
            "code": "fan_direction",
            "value": "forward"
          },
          {
            "code": "light",
            "value": false
          },
          {
            "code": "bright_value",
            "value": 100
          },
          {
            "code": "temp_value",
            "value": 100
          },
          {
            "code": "countdown_set",
            "value": "off"
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1715712298,
        "uuid": "27658623f70c937a",
        "dps_data": {
          "1": {
            "code": "switch",
            "custom_name": "",
            "dp_id": 1,
            "time": 1715704499025,
            "value": true,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 1,
            "accessMode": "rw"
          },
          "2": {
            "code": "mode",
            "custom_name": "",
            "dp_id": 2,
            "time": 1715704499191,
            "value": "normal",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"normal\", \"sleep\", \"nature\"]}",
            "id": 2,
            "accessMode": "rw"
          },
          "3": {
            "code": "fan_speed",
            "custom_name": "",
            "dp_id": 3,
            "time": 1715704503493,
            "value": 1,
            "type": "Enum",
            "values": "{\"type\": \"value\", \"max\": 6, \"min\": 1, \"scale\": 0, \"step\": 1, \"unit\": \"\u6863\"}",
            "id": 3,
            "accessMode": "rw"
          },
          "8": {
            "code": "fan_direction",
            "custom_name": "",
            "dp_id": 8,
            "time": 1715704499054,
            "value": "forward",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"forward\", \"reverse\"]}",
            "id": 8,
            "accessMode": "rw"
          },
          "15": {
            "code": "light",
            "custom_name": "",
            "dp_id": 15,
            "time": 1715704499193,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 15,
            "accessMode": "rw"
          },
          "16": {
            "code": "bright_value",
            "custom_name": "",
            "dp_id": 16,
            "time": 1715704499206,
            "value": 100,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 100, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"\"}",
            "id": 16,
            "accessMode": "rw"
          },
          "17": {
            "code": "temp_value",
            "custom_name": "",
            "dp_id": 17,
            "time": 1715704498924,
            "value": 100,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 100, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"\"}",
            "id": 17,
            "accessMode": "rw"
          },
          "22": {
            "code": "countdown_set",
            "custom_name": "",
            "dp_id": 22,
            "time": 1715704499195,
            "value": "off",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"off\", \"1hour\", \"2hour\", \"4hour\", \"8hour\"]}",
            "id": 22,
            "accessMode": "rw"
          }
        }
      },
      "46402071483fda80dca5": {
        "active_time": 1708360388,
        "biz_type": 18,
        "category": "ywbj",
        "create_time": 1617281484,
        "icon": "smart/icon/ay1537847617560vAgbw/98dd275e7b0720f5b691906080b7651b.png",
        "id": "46402071483fda80dca5",
        "ip": "1...3",
        "lat": "",
        "local_key": "GE*...12F",
        "lon": "",
        "model": "DY-YG400A",
        "name": "Rauchalarm",
        "online": true,
        "owner_id": "10145172",
        "product_id": "4w4a6noxfgk0yktc",
        "product_name": "Smoke Alarm",
        "status": [
          {
            "code": "smoke_sensor_status",
            "value": "normal"
          },
          {
            "code": "temper_alarm",
            "value": false
          },
          {
            "code": "battery_state",
            "value": "low"
          }
        ],
        "sub": false,
        "time_zone": "+01:00",
        "uid": "eu1...VPE",
        "update_time": 1708360418,
        "uuid": "46402071483fda80dca5",
        "dps_data": {
          "1": {
            "code": "smoke_sensor_state",
            "custom_name": "",
            "dp_id": 1,
            "time": 1708360420228,
            "value": "normal",
            "id": 1,
            "accessMode": "ro",
            "values": "{\"type\": \"enum\", \"range\": [\"alarm\", \"normal\"]}"
          },
          "4": {
            "code": "temper_alarm",
            "custom_name": "",
            "dp_id": 4,
            "time": 1708360426801,
            "value": false,
            "id": 4,
            "accessMode": "ro",
            "values": "{\"type\": \"bool\"}"
          },
          "14": {
            "code": "battery_state",
            "custom_name": "",
            "dp_id": 14,
            "time": 1708360427780,
            "value": "low",
            "id": 14,
            "accessMode": "ro",
            "values": "{\"type\": \"enum\", \"range\": [\"low\", \"middle\", \"high\"]}"
          }
        }
      },
      "bffe7e1ce6249fd879yqb8": {
        "active_time": 1658237020,
        "biz_type": 18,
        "category": "kt",
        "create_time": 1658237020,
        "icon": "smart/icon/bay16075088262914ZcU/73cf62dc09ed5ddb1876bfed1b0c5d53.png",
        "id": "bffe7e1ce6249fd879yqb8",
        "ip": "8...6",
        "lat": "",
        "local_key": "4fe...c9b",
        "lon": "",
        "model": "MZKA1000",
        "name": "Klima",
        "online": false,
        "owner_id": "10145172",
        "product_id": "k8rowuusifd1v92f",
        "product_name": "MONZANA Klimaanlage 4in1",
        "status": [
          {
            "code": "switch",
            "value": false
          },
          {
            "code": "temp_set",
            "value": 23
          },
          {
            "code": "temp_current",
            "value": 27
          },
          {
            "code": "lock",
            "value": false
          },
          {
            "code": "temp_unit_convert",
            "value": "c"
          },
          {
            "code": "fault",
            "value": 0
          },
          {
            "code": "temp_set_f",
            "value": 61
          },
          {
            "code": "temp_current_f",
            "value": 71
          }
        ],
        "sub": false,
        "time_zone": "+02:00",
        "uid": "eu1...VPE",
        "update_time": 1692559434,
        "uuid": "e53ca133f78209e6",
        "dps_data": {
          "1": {
            "code": "switch",
            "custom_name": "",
            "dp_id": 1,
            "time": 1694973970409,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 1,
            "accessMode": "rw"
          },
          "2": {
            "code": "temp_set",
            "custom_name": "",
            "dp_id": 2,
            "time": 1694965021806,
            "value": 23,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 32, \"min\": 16, \"scale\": 0, \"step\": 1, \"unit\": \"\u2103\"}",
            "id": 2,
            "accessMode": "rw"
          },
          "3": {
            "code": "temp_current",
            "custom_name": "",
            "dp_id": 3,
            "time": 1695056837789,
            "value": 27,
            "id": 3,
            "accessMode": "ro",
            "values": "{\"type\": \"value\", \"max\": 99, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"\u2103\"}"
          },
          "4": {
            "code": "mode",
            "custom_name": "",
            "dp_id": 4,
            "time": 1694965021848,
            "value": "Fan",
            "id": 4,
            "accessMode": "rw",
            "values": "{\"type\": \"enum\", \"range\": [\"Cool\", \"Dyr\", \"Fan\", \"Heat\"]}"
          },
          "5": {
            "code": "fan_speed_enum",
            "custom_name": "",
            "dp_id": 5,
            "time": 1694971359421,
            "value": "High",
            "id": 5,
            "accessMode": "rw",
            "values": "{\"type\": \"enum\", \"range\": [\"Low\", \"High\"]}"
          },
          "14": {
            "code": "lock",
            "custom_name": "",
            "dp_id": 14,
            "time": 1694965021859,
            "value": false,
            "type": "Boolean",
            "values": "{\"type\": \"bool\"}",
            "id": 14,
            "accessMode": "rw"
          },
          "19": {
            "code": "temp_unit_convert",
            "custom_name": "",
            "dp_id": 19,
            "time": 1694965021866,
            "value": "c",
            "type": "Enum",
            "values": "{\"type\": \"enum\", \"range\": [\"c\", \"f\"]}",
            "id": 19,
            "accessMode": "rw"
          },
          "22": {
            "code": "fault",
            "custom_name": "",
            "dp_id": 22,
            "time": 1694965021843,
            "value": 0,
            "id": 22,
            "accessMode": "ro",
            "values": "{\"type\": \"bitmap\", \"label\": [\"Rtemp_fault\", \"IPtemp_fault\", \"Water_FULL\"], \"maxlen\": 3}"
          },
          "23": {
            "code": "temp_set_f",
            "custom_name": "",
            "dp_id": 23,
            "time": 1686208144915,
            "value": 61,
            "type": "Integer",
            "values": "{\"type\": \"value\", \"max\": 90, \"min\": 61, \"scale\": 0, \"step\": 1, \"unit\": \"\u2109\"}",
            "id": 23,
            "accessMode": "rw"
          },
          "24": {
            "code": "temp_current_f",
            "custom_name": "",
            "dp_id": 24,
            "time": 1686208148283,
            "value": 71,
            "id": 24,
            "accessMode": "ro",
            "values": "{\"type\": \"value\", \"max\": 99, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"\u2109\"}"
          },
          "101": {
            "code": "Sleep",
            "custom_name": "",
            "dp_id": 101,
            "time": 1694965021850,
            "value": false,
            "id": 101,
            "accessMode": "rw",
            "values": "{\"type\": \"bool\"}"
          },
          "102": {
            "code": "Client_ID",
            "custom_name": "",
            "dp_id": 102,
            "time": 1694965022227,
            "value": 0,
            "id": 102,
            "accessMode": "ro",
            "values": "{\"type\": \"value\", \"max\": 99, \"min\": 0, \"scale\": 0, \"step\": 1, \"unit\": \"\"}"
          },
          "103": {
            "code": "Model_ID",
            "custom_name": "",
            "dp_id": 103,
            "time": 1694965021872,
            "value": "C_H",
            "id": 103,
            "accessMode": "rw",
            "values": "{\"type\": \"enum\", \"range\": [\"C\", \"C_H\"]}"
          }
        }
      }
    }
  }
}```
xZetsubou commented 5 months ago

It's probably because I revert the change I made back then in the old issue.

gomble commented 5 months ago

can you take it back in ?šŸ˜…

xZetsubou commented 5 months ago

I change it because It wasn't kinda ideal ^^, Can you try to re-configure the cover and change the protocol to 3.2 instead of 3.3

gomble commented 5 months ago

I change it because It wasn't kinda ideal ^^, Can you try to re-configure the cover and change the protocol to 3.2 instead of 3.3

does not work, changed to 3.2 reload local tuya and i am getting: image

xZetsubou commented 5 months ago

Can you update to master version and test if it will fix it. "Stay on 3.2 protocol"

Install Master Version

Go HACS -> Local Tuya -> On top right corner click on the ā‹® and choose redownload and select master ![image](https://github.com/xZetsubou/hass-localtuya/assets/46300268/e326b0b6-74cf-49e0-9696-3b444178083b) And restart HA then re-add your device

gomble commented 5 months ago

Can you update to master version and test if it will fix it. "Stay on 3.2 protocol"

Install Master Version

Okay installed master and changed the 3 covers to 3.2. Did a reload of local tuya, seems to work. I will test a few days and come back again for feedback

gomble commented 5 months ago

@xZetsubou seems to work. Covers are available all the time. Can you merge your change into production?

xZetsubou commented 5 months ago

it's already merged with master and should be fixed on next releases as well.

gomble commented 5 months ago

it's already merged with master and should be fixed on next releases as well.

thank you šŸ‘

github-actions[bot] commented 5 months ago

This issue was closed because it was resolved on the release: 2024.6.0