mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Dont expose garbage entity in myuplink (#155278)
This commit is contained in:
@@ -110,6 +110,9 @@ PARAMETER_ID_TO_INCLUDE_SMO20 = (
|
||||
|
||||
def skip_entity(model: str, device_point: DevicePoint) -> bool:
|
||||
"""Check if entity should be skipped for this device model."""
|
||||
if device_point.parameter_id == "65535":
|
||||
# Garbage entity showing up on several firmware versions
|
||||
return True
|
||||
if model == "SMO 20":
|
||||
if (
|
||||
len(device_point.smart_home_categories) > 0
|
||||
|
||||
@@ -1108,5 +1108,22 @@
|
||||
"enumValues": [],
|
||||
"scaleValue": "0.1",
|
||||
"zoneId": null
|
||||
},
|
||||
{
|
||||
"category": "Garbage",
|
||||
"parameterId": "65535",
|
||||
"parameterName": "Text not found: id[], fw[noem-e8], lang[en-GB]",
|
||||
"parameterUnit": "",
|
||||
"writable": false,
|
||||
"timestamp": "2025-07-23T08:33:38+00:00",
|
||||
"value": 0.0,
|
||||
"strVal": "0",
|
||||
"smartHomeCategories": [],
|
||||
"minValue": null,
|
||||
"maxValue": null,
|
||||
"stepValue": 1.0,
|
||||
"enumValues": [],
|
||||
"scaleValue": "1",
|
||||
"zoneId": null
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1169,6 +1169,23 @@
|
||||
"enumValues": [],
|
||||
"scaleValue": "0.1",
|
||||
"zoneId": null
|
||||
},
|
||||
{
|
||||
"category": "Garbage",
|
||||
"parameterId": "65535",
|
||||
"parameterName": "Text not found: id[], fw[noem-e8], lang[en-GB]",
|
||||
"parameterUnit": "",
|
||||
"writable": false,
|
||||
"timestamp": "2025-07-23T08:33:38+00:00",
|
||||
"value": 0.0,
|
||||
"strVal": "0",
|
||||
"smartHomeCategories": [],
|
||||
"minValue": null,
|
||||
"maxValue": null,
|
||||
"stepValue": 1.0,
|
||||
"enumValues": [],
|
||||
"scaleValue": "1",
|
||||
"zoneId": null
|
||||
}
|
||||
]
|
||||
|
||||
@@ -2331,6 +2348,23 @@
|
||||
"enumValues": [],
|
||||
"scaleValue": "0.1",
|
||||
"zoneId": null
|
||||
},
|
||||
{
|
||||
"category": "Garbage",
|
||||
"parameterId": "65535",
|
||||
"parameterName": "Text not found: id[], fw[noem-e8], lang[en-GB]",
|
||||
"parameterUnit": "",
|
||||
"writable": false,
|
||||
"timestamp": "2025-07-23T08:33:38+00:00",
|
||||
"value": 0.0,
|
||||
"strVal": "0",
|
||||
"smartHomeCategories": [],
|
||||
"minValue": null,
|
||||
"maxValue": null,
|
||||
"stepValue": 1.0,
|
||||
"enumValues": [],
|
||||
"scaleValue": "1",
|
||||
"zoneId": null
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user