Hi! I have a Catit Pixi pet fountain that is missing some sensors. The entities to reset filter and water pump is there even though they are a bit odd compared to the PIXI app/diagnostics. Can anyone help me add the sensors and is it possible to change the configuration from switch to button to clarify their usage?
Any guidance to do it myself would be great since I dont really understand how to work with the tuya implementation.
{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2025.5.1",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.13.3",
"docker": true,
"arch": "aarch64",
"timezone": "Europe/Stockholm",
"os_name": "Linux",
"os_version": "6.6.74-haos-raspi",
"supervisor": "2025.04.1",
"host_os": "Home Assistant OS 15.2",
"docker_version": "28.0.4",
"chassis": "embedded",
"run_as_root": true
},
"custom_components": {
"xiaomi_cloud_map_extractor": {
"documentation": "https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor",
"version": "v2.2.0",
"requirements": [
"pillow",
"pybase64",
"python-miio",
"requests",
"pycryptodome"
]
},
"browser_mod": {
"documentation": "https://github.com/thomasloven/hass-browser_mod/blob/b35685fe705541f94f5f12233924a735349fa5a4/README.md",
"version": "2.3.3",
"requirements": []
},
"scheduler": {
"documentation": "https://github.com/nielsfaber/scheduler-component",
"version": "v0.0.0",
"requirements": []
},
"hacs": {
"documentation": "https://hacs.xyz/docs/use/",
"version": "2.0.5",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"tuya_local": {
"documentation": "https://github.com/make-all/tuya-local",
"version": "2024.12.0",
"requirements": [
"tinytuya==1.15.1",
"tuya-device-sharing-sdk>=0.1.9,<=0.2.99"
]
},
"cleverio_pf100": {
"documentation": "https://link_to_documentation",
"version": "1.0.0",
"requirements": []
},
"sureha": {
"documentation": "https://github.com/benleb/sureha",
"version": "0.2.0",
"requirements": [
"surepy>=0.9.0"
]
},
"ui_lovelace_minimalist": {
"documentation": "https://ui-lovelace-minimalist.github.io/UI/",
"version": "v1.3.18",
"requirements": [
"aiofiles>=0.8.0",
"aiogithubapi>=22.2.4"
]
},
"roborock_custom_map": {
"documentation": "https://github.com/Lash-L/RoborockCustomMap",
"version": "0.1.1",
"requirements": []
},
"your_pet_feeder": {
"documentation": null,
"version": "1.0.0",
"requirements": []
}
},
"integration_manifest": {
"domain": "tuya",
"name": "Tuya",
"codeowners": [
"Tuya",
"zlinoliver"
],
"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.2.1"
],
"is_built_in": true,
"overwrites_built_in": false
},
"setup_times": {
"null": {
"setup": 2.5038999979187793e-05
},
"01JBVMQA2MEXE4RVN0HTMCHVD7": {
"wait_import_platforms": -1.9531916170000159,
"wait_base_component": -0.0008648929999708344,
"config_entry_setup": 2.74167055800001
}
},
"data": {
"endpoint": "https://apigw.tuyaeu.com",
"terminal_id": "1746541185655f9dLsl",
"mqtt_connected": true,
"disabled_by": null,
"disabled_polling": false,
"id": "23536058083a8dc57d96",
"name": "PIXI Smart Drinking Fountain",
"category": "cwysj",
"product_id": "z3rpyvznfcch99aa",
"product_name": "",
"online": true,
"sub": false,
"time_zone": "+01:00",
"active_time": "2024-10-20T13:04:09+00:00",
"create_time": "2024-10-20T13:04:09+00:00",
"update_time": "2024-10-20T13:04:09+00:00",
"function": {
"switch": {
"type": "Boolean",
"value": {}
},
"water_reset": {
"type": "Boolean",
"value": {}
},
"filter_reset": {
"type": "Boolean",
"value": {}
},
"pump_reset": {
"type": "Boolean",
"value": {}
},
"uv": {
"type": "Boolean",
"value": {}
},
"uv_runtime": {
"type": "Integer",
"value": {
"unit": "s",
"min": 0,
"max": 10800,
"scale": 0,
"step": 1
}
}
},
"status_range": {
"switch": {
"type": "Boolean",
"value": {}
},
"water_time": {
"type": "Integer",
"value": {
"unit": "min",
"min": 0,
"max": 7200,
"scale": 0,
"step": 1
}
},
"filter_life": {
"type": "Integer",
"value": {
"unit": "min",
"min": 0,
"max": 43200,
"scale": 0,
"step": 1
}
},
"pump_time": {
"type": "Integer",
"value": {
"unit": "min",
"min": 0,
"max": 86400,
"scale": 0,
"step": 1
}
},
"water_reset": {
"type": "Boolean",
"value": {}
},
"filter_reset": {
"type": "Boolean",
"value": {}
},
"pump_reset": {
"type": "Boolean",
"value": {}
},
"uv": {
"type": "Boolean",
"value": {}
},
"uv_runtime": {
"type": "Integer",
"value": {
"unit": "s",
"min": 0,
"max": 10800,
"scale": 0,
"step": 1
}
},
"water_level": {
"type": "Enum",
"value": {
"range": [
"level_1",
"level_2",
"level_3"
]
}
}
},
"status": {
"switch": true,
"water_time": 0,
"filter_life": 43200,
"pump_time": 86400,
"water_reset": false,
"filter_reset": false,
"pump_reset": false,
"uv": false,
"uv_runtime": 0,
"water_level": "level_3"
},
"home_assistant": {
"name": "PIXI Smart Drinking Fountain",
"name_by_user": null,
"disabled": false,
"disabled_by": null,
"entities": [
{
"disabled": false,
"disabled_by": null,
"entity_category": "config",
"device_class": null,
"original_device_class": null,
"icon": null,
"original_icon": null,
"unit_of_measurement": null,
"state": {
"entity_id": "switch.pixi_smart_drinking_fountain_filter_reset",
"state": "off",
"attributes": {
"friendly_name": "PIXI Smart Drinking Fountain Filter reset"
},
"last_changed": "2025-05-11T16:24:46.359621+00:00",
"last_reported": "2025-05-11T16:24:46.359621+00:00",
"last_updated": "2025-05-11T16:24:46.359621+00:00"
}
},
{
"disabled": false,
"disabled_by": null,
"entity_category": "config",
"device_class": null,
"original_device_class": null,
"icon": null,
"original_icon": null,
"unit_of_measurement": null,
"state": {
"entity_id": "switch.pixi_smart_drinking_fountain_water_pump_reset",
"state": "off",
"attributes": {
"friendly_name": "PIXI Smart Drinking Fountain Water pump reset"
},
"last_changed": "2025-05-11T16:24:46.360407+00:00",
"last_reported": "2025-05-11T16:24:46.360407+00:00",
"last_updated": "2025-05-11T16:24:46.360407+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": "switch.pixi_smart_drinking_fountain_power",
"state": "on",
"attributes": {
"friendly_name": "PIXI Smart Drinking Fountain Power"
},
"last_changed": "2025-05-11T16:24:46.360589+00:00",
"last_reported": "2025-05-11T16:24:46.360589+00:00",
"last_updated": "2025-05-11T16:24:46.360589+00:00"
}
},
{
"disabled": false,
"disabled_by": null,
"entity_category": "config",
"device_class": null,
"original_device_class": null,
"icon": null,
"original_icon": null,
"unit_of_measurement": null,
"state": {
"entity_id": "switch.pixi_smart_drinking_fountain_reset_of_water_usage_days",
"state": "off",
"attributes": {
"friendly_name": "PIXI Smart Drinking Fountain Reset of water usage days"
},
"last_changed": "2025-05-11T16:24:46.360729+00:00",
"last_reported": "2025-05-11T16:24:46.360729+00:00",
"last_updated": "2025-05-11T16:24:46.360729+00:00"
}
},
{
"disabled": false,
"disabled_by": null,
"entity_category": "config",
"device_class": null,
"original_device_class": null,
"icon": null,
"original_icon": null,
"unit_of_measurement": null,
"state": {
"entity_id": "switch.pixi_smart_drinking_fountain_uv_sterilisation",
"state": "off",
"attributes": {
"friendly_name": "PIXI Smart Drinking Fountain UV sterilisation"
},
"last_changed": "2025-05-12T05:48:51.303702+00:00",
"last_reported": "2025-05-12T05:48:51.303702+00:00",
"last_updated": "2025-05-12T05:48:51.303702+00:00"
}
}
]
},
"set_up": true,
"support_local": true
}
}