Goldair GPSQ-K Electric Blanket - unsupported by Tuya

Please can anyone help me to get this working. (I failed miserably at localtuya, couldn’t even get a light to work using cloud api and it still didn’t pull in data hah)

Forgot to mention that from the tuyasmart app I can adjust everything normally.

Thank you much

I have no idea if this code is relevant but I pulled it from the diagnostics

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2024.6.2",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.12.2",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Pacific/Auckland",
    "os_name": "Linux",
    "os_version": "6.6.29-haos",
    "supervisor": "2024.06.0",
    "host_os": "Home Assistant OS 12.3",
    "docker_version": "25.0.5",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "hacs": {
      "documentation": "https://hacs.xyz/docs/configuration/start",
      "version": "1.34.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "localtuya": {
      "documentation": "https://github.com/rospogrigio/localtuya/",
      "version": "5.2.1",
      "requirements": []
    },
    "aarlo": {
      "documentation": "https://github.com/twrecked/hass-aarlo/blob/0a1aad0a7b07f1a5acf521f0abd6b2708958681f/README.md",
      "version": "0.8.1.3",
      "requirements": [
        "unidecode",
        "pyaarlo>=0.8.0.7"
      ]
    },
    "tapo": {
      "documentation": "https://github.com/petretiandrea/home-assistant-tapo-p100",
      "version": "3.1.2",
      "requirements": [
        "plugp100==5.1.3"
      ]
    },
    "metservice_weather": {
      "documentation": "https://github.com/ciejer/metservice-weather",
      "version": "v0.6.0",
      "requirements": []
    }
  },
  "integration_manifest": {
    "domain": "tuya",
    "name": "Tuya",
    "codeowners": [
      "Tuya",
      "zlinoliver",
      "frenck"
    ],
    "config_flow": true,
    "dependencies": [
      "ffmpeg"
    ],
    "dhcp": [
      {
        "macaddress": "105A17*"
      },
      {
        "macaddress": "10D561*"
      },
      {
        "macaddress": "1869D8*"
      },
      {
        "macaddress": "381F8D*"
      },
      {
        "macaddress": "508A06*"
      },
      {
        "macaddress": "68572D*"
      },
      {
        "macaddress": "708976*"
      },
      {
        "macaddress": "7CF666*"
      },
      {
        "macaddress": "84E342*"
      },
      {
        "macaddress": "D4A651*"
      },
      {
        "macaddress": "D81F12*"
      }
    ],
    "documentation": "https://www.home-assistant.io/integrations/tuya",
    "integration_type": "hub",
    "iot_class": "cloud_push",
    "loggers": [
      "tuya_iot"
    ],
    "requirements": [
      "tuya-device-sharing-sdk==0.1.9"
    ],
    "is_built_in": true
  },
  "setup_times": {
    "null": {
      "setup": 3.1235977075994015e-05
    },
    "766ab4b49848ccb109840b413917e37d": {
      "wait_import_platforms": -0.10585630696732551,
      "wait_base_component": -0.002192946965806186,
      "config_entry_setup": 5.013859258033335
    }
  },
  "data": {
    "endpoint": "https://apigw.tuyaus.com",
    "terminal_id": "1717562043271RumAZY",
    "mqtt_connected": true,
    "disabled_by": null,
    "disabled_polling": false,
    "id": "ebae3763a807df3ac9fphc",
    "name": "Goldair blanket",
    "category": "dr",
    "product_id": "mqcffjumdpuahxmi",
    "product_name": "multi-zone electric blanket",
    "online": true,
    "sub": false,
    "time_zone": "+12:00",
    "active_time": "2024-06-11T05:26:59+00:00",
    "create_time": "2024-06-11T05:26:59+00:00",
    "update_time": "2024-06-11T05:26:59+00:00",
    "function": {
      "switch": {
        "type": "Boolean",
        "value": {}
      },
      "level_1": {
        "type": "Enum",
        "value": {
          "range": [
            "level_1",
            "level_2",
            "level_3",
            "level_4",
            "level_5",
            "level_6",
            "level_7"
          ]
        }
      },
      "level_2": {
        "type": "Enum",
        "value": {
          "range": [
            "level_1",
            "level_2",
            "level_3",
            "level_4",
            "level_5",
            "level_6",
            "level_7"
          ]
        }
      },
      "countdown_set_1": {
        "type": "Enum",
        "value": {
          "range": [
            "1h",
            "2h",
            "3h",
            "4h",
            "5h",
            "6h"
          ]
        }
      },
      "countdown_set_2": {
        "type": "Enum",
        "value": {
          "range": [
            "1h",
            "2h",
            "3h",
            "4h",
            "5h",
            "6h"
          ]
        }
      }
    },
    "status_range": {
      "switch": {
        "type": "Boolean",
        "value": {}
      },
      "level_1": {
        "type": "Enum",
        "value": {
          "range": [
            "level_1",
            "level_2",
            "level_3",
            "level_4",
            "level_5",
            "level_6",
            "level_7"
          ]
        }
      },
      "level_2": {
        "type": "Enum",
        "value": {
          "range": [
            "level_1",
            "level_2",
            "level_3",
            "level_4",
            "level_5",
            "level_6",
            "level_7"
          ]
        }
      },
      "countdown_set_1": {
        "type": "Enum",
        "value": {
          "range": [
            "1h",
            "2h",
            "3h",
            "4h",
            "5h",
            "6h"
          ]
        }
      },
      "countdown_set_2": {
        "type": "Enum",
        "value": {
          "range": [
            "1h",
            "2h",
            "3h",
            "4h",
            "5h",
            "6h"
          ]
        }
      },
      "countdown_left_1": {
        "type": "Integer",
        "value": {
          "unit": "s",
          "min": 0,
          "max": 86400,
          "scale": 0,
          "step": 1
        }
      },
      "countdown_left_2": {
        "type": "Integer",
        "value": {
          "unit": "s",
          "min": 0,
          "max": 86400,
          "scale": 0,
          "step": 1
        }
      }
    },
    "status": {
      "switch": false,
      "level_1": "level_1",
      "level_2": "level_1",
      "countdown_set_1": "1h",
      "countdown_set_2": "1h",
      "countdown_left_1": 0,
      "countdown_left_2": 0
    },
    "home_assistant": {
      "name": "Goldair blanket",
      "name_by_user": null,
      "disabled": false,
      "disabled_by": null,
      "entities": []
    },
    "set_up": false,
    "support_local": true
  }
}

For some reason Localtuya decided to play ball today so I managed to get my api data in correctly.

This model goldair blanket has 2 separate sides. I have only configured mine

ID  Name        Type    Valid options                                               Friendly options
1 	Power 	    switch  
14 	Heat - Body	select 	level_1;level_2;level_3;level_4;level_5;level_6;level_7 	Off;1;2;3;4;5;6
15 	Heat - Feet	select 	level_1;level_2;level_3;level_4;level_5;level_6;level_7 	Off;1;2;3;4;5;6
16 	BodyTimer 	select 	1h;2h;3h;4h;5h;6h
17 	FeetTimer 	select 	1h;2h;3h;4h;5h;6h

This is now in my dashboard
image

Done with the help of Calvin Bui with clear layouts.

The other 2 entities are I’m assuming the countdown remaining on the timers for head and feet perhaps. At this point I’m just stoked to have it in the dashboard yayyy