home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.74k stars 30k forks source link

Smartlife (Tuya) missing entities/scenes #122495

Open FredrikM97 opened 2 months ago

FredrikM97 commented 2 months ago

The problem

My cleverio cat feeder is missing multiple entities from sensors. Only entity that is availiable is feeder count and a custom made tap scene (Cleverio PF100 Mata). All scenes I created in the smartlife app is not visible in home assistant.

What version of Home Assistant Core has the issue?

core-2024.7.3

What was the last working version of Home Assistant Core?

core-2024.7.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Smartlife/tuya

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tuya/

Diagnostics information

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2024.7.3",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.12.4",
    "docker": true,
    "arch": "aarch64",
    "timezone": "Europe/Stockholm",
    "os_name": "Linux",
    "os_version": "6.6.31-haos-raspi",
    "supervisor": "2024.06.2",
    "host_os": "Home Assistant OS 12.4",
    "docker_version": "26.1.4",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {},
  "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": {},
  "data": {
    "endpoint": "https://apigw.tuyaeu.com",
    "terminal_id": "1721672406856ZZD6Tw",
    "mqtt_connected": true,
    "disabled_by": null,
    "disabled_polling": false,
    "id": "bfd0273e59494eb34esvrx",
    "name": "Cleverio PF100",
    "category": "cwwsq",
    "product_id": "wfkzyy0evslzsmoi",
    "product_name": "Cleverio PF100",
    "online": true,
    "sub": false,
    "time_zone": "+02:00",
    "active_time": "2024-05-08T15:27:53+00:00",
    "create_time": "2024-05-08T15:27:53+00:00",
    "update_time": "2024-05-08T15:27:53+00:00",
    "function": {
      "meal_plan": {
        "type": "Raw",
        "value": {}
      },
      "manual_feed": {
        "type": "Integer",
        "value": {
          "unit": "",
          "min": 1,
          "max": 20,
          "scale": 0,
          "step": 1
        }
      },
      "factory_reset": {
        "type": "Boolean",
        "value": {}
      },
      "light": {
        "type": "Boolean",
        "value": {}
      }
    },
    "status_range": {
      "meal_plan": {
        "type": "Raw",
        "value": {}
      },
      "manual_feed": {
        "type": "Integer",
        "value": {
          "unit": "",
          "min": 1,
          "max": 20,
          "scale": 0,
          "step": 1
        }
      },
      "factory_reset": {
        "type": "Boolean",
        "value": {}
      },
      "battery_percentage": {
        "type": "Integer",
        "value": {
          "unit": "%",
          "min": 0,
          "max": 100,
          "scale": 0,
          "step": 1
        }
      },
      "charge_state": {
        "type": "Boolean",
        "value": {}
      },
      "feed_report": {
        "type": "Integer",
        "value": {
          "unit": "",
          "min": 0,
          "max": 20,
          "scale": 0,
          "step": 1
        }
      },
      "light": {
        "type": "Boolean",
        "value": {}
      }
    },
    "status": {
      "meal_plan": "fwQAAgF/CQACAX8PAAIBKBIAAQB/FQADAQ==",
      "manual_feed": 1,
      "factory_reset": false,
      "battery_percentage": 70,
      "charge_state": false,
      "feed_report": 3,
      "light": true
    },
    "home_assistant": {
      "name": "Cleverio PF100",
      "name_by_user": null,
      "disabled": false,
      "disabled_by": null,
      "entities": [
        {
          "disabled": false,
          "disabled_by": null,
          "entity_category": null,
          "device_class": null,
          "original_device_class": null,
          "icon": null,
          "original_icon": null,
          "unit_of_measurement": "",
          "state": {
            "entity_id": "sensor.cleverio_pf100_senaste_mangd",
            "state": "3.0",
            "attributes": {
              "state_class": "measurement",
              "unit_of_measurement": "",
              "friendly_name": "Cleverio PF100 Senaste m\u00e4ngd"
            },
            "last_changed": "2024-07-23T19:00:20.200686+00:00",
            "last_reported": "2024-07-23T19:00:20.200686+00:00",
            "last_updated": "2024-07-23T19:00:20.200686+00:00"
          }
        },
        {
          "disabled": false,
          "disabled_by": null,
          "entity_category": null,
          "device_class": null,
          "original_device_class": null,
          "icon": null,
          "original_icon": null,
          "unit_of_measurement": null,
          "state": {
            "entity_id": "number.cleverio_pf100_mata",
            "state": "1.0",
            "attributes": {
              "min": 1.0,
              "max": 20.0,
              "step": 1.0,
              "mode": "auto",
              "friendly_name": "Cleverio PF100 Mata"
            },
            "last_changed": "2024-07-22T18:20:08.488911+00:00",
            "last_reported": "2024-07-23T19:00:20.201324+00:00",
            "last_updated": "2024-07-22T18:20:08.488911+00:00"
          }
        }
      ]
    },
    "set_up": true,
    "support_local": true
  }
}

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 2 months ago

Hey there @tuya, @zlinoliver, @frenck, mind taking a look at this issue as it has been labeled with an integration (tuya) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `tuya` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign tuya` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


tuya documentation tuya source (message by IssueLinks)