File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -666,10 +666,12 @@ def _all_appliances(self) -> None:
666666
667667 for appliance in self ._appliances .findall ("./appliance" ):
668668 appl = Munch ()
669-
670669 appl .pwclass = appliance .find ("type" ).text
671- # Nothing useful in opentherm so skip it
672- if appl .pwclass == "open_therm_gateway" :
670+ # Skip thermostats that have this key, should be an orphaned device (Core #81712)
671+ if (
672+ appl .pwclass == "thermostat"
673+ and appliance .find ("actuator_functionalities/" ) is None
674+ ):
673675 continue
674676
675677 appl .location = None
@@ -701,7 +703,7 @@ def _all_appliances(self) -> None:
701703 if appl .pwclass == "gateway" and self .smile_type == "power" :
702704 appl .dev_id = appl .location
703705
704- # Don't show orphaned non-legacy thermostat-types.
706+ # Don't show orphaned non-legacy thermostat-types or the OpenTherm Gateway .
705707 if (
706708 not self ._smile_legacy
707709 and appl .pwclass in THERMOSTAT_CLASSES
You can’t perform that action at this time.
0 commit comments