mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 06:05:10 +02:00
Add TICMeter Energy Metering sensors (#107956)
This commit is contained in:
@@ -585,7 +585,7 @@ class SmartEnergySummation(SmartEnergyMetering):
|
||||
|
||||
@MULTI_MATCH(
|
||||
cluster_handler_names=CLUSTER_HANDLER_SMARTENERGY_METERING,
|
||||
models={"TS011F", "ZLinky_TIC"},
|
||||
models={"TS011F", "ZLinky_TIC", "TICMeter"},
|
||||
stop_on_match_group=CLUSTER_HANDLER_SMARTENERGY_METERING,
|
||||
)
|
||||
# pylint: disable-next=hass-invalid-inheritance # needs fixing
|
||||
@@ -597,7 +597,7 @@ class PolledSmartEnergySummation(SmartEnergySummation):
|
||||
|
||||
@MULTI_MATCH(
|
||||
cluster_handler_names=CLUSTER_HANDLER_SMARTENERGY_METERING,
|
||||
models={"ZLinky_TIC"},
|
||||
models={"ZLinky_TIC", "TICMeter"},
|
||||
)
|
||||
# pylint: disable-next=hass-invalid-inheritance # needs fixing
|
||||
class Tier1SmartEnergySummation(PolledSmartEnergySummation):
|
||||
@@ -611,7 +611,7 @@ class Tier1SmartEnergySummation(PolledSmartEnergySummation):
|
||||
|
||||
@MULTI_MATCH(
|
||||
cluster_handler_names=CLUSTER_HANDLER_SMARTENERGY_METERING,
|
||||
models={"ZLinky_TIC"},
|
||||
models={"ZLinky_TIC", "TICMeter"},
|
||||
)
|
||||
# pylint: disable-next=hass-invalid-inheritance # needs fixing
|
||||
class Tier2SmartEnergySummation(PolledSmartEnergySummation):
|
||||
@@ -625,7 +625,7 @@ class Tier2SmartEnergySummation(PolledSmartEnergySummation):
|
||||
|
||||
@MULTI_MATCH(
|
||||
cluster_handler_names=CLUSTER_HANDLER_SMARTENERGY_METERING,
|
||||
models={"ZLinky_TIC"},
|
||||
models={"ZLinky_TIC", "TICMeter"},
|
||||
)
|
||||
# pylint: disable-next=hass-invalid-inheritance # needs fixing
|
||||
class Tier3SmartEnergySummation(PolledSmartEnergySummation):
|
||||
@@ -639,7 +639,7 @@ class Tier3SmartEnergySummation(PolledSmartEnergySummation):
|
||||
|
||||
@MULTI_MATCH(
|
||||
cluster_handler_names=CLUSTER_HANDLER_SMARTENERGY_METERING,
|
||||
models={"ZLinky_TIC"},
|
||||
models={"ZLinky_TIC", "TICMeter"},
|
||||
)
|
||||
# pylint: disable-next=hass-invalid-inheritance # needs fixing
|
||||
class Tier4SmartEnergySummation(PolledSmartEnergySummation):
|
||||
@@ -653,7 +653,7 @@ class Tier4SmartEnergySummation(PolledSmartEnergySummation):
|
||||
|
||||
@MULTI_MATCH(
|
||||
cluster_handler_names=CLUSTER_HANDLER_SMARTENERGY_METERING,
|
||||
models={"ZLinky_TIC"},
|
||||
models={"ZLinky_TIC", "TICMeter"},
|
||||
)
|
||||
# pylint: disable-next=hass-invalid-inheritance # needs fixing
|
||||
class Tier5SmartEnergySummation(PolledSmartEnergySummation):
|
||||
@@ -667,7 +667,7 @@ class Tier5SmartEnergySummation(PolledSmartEnergySummation):
|
||||
|
||||
@MULTI_MATCH(
|
||||
cluster_handler_names=CLUSTER_HANDLER_SMARTENERGY_METERING,
|
||||
models={"ZLinky_TIC"},
|
||||
models={"ZLinky_TIC", "TICMeter"},
|
||||
)
|
||||
# pylint: disable-next=hass-invalid-inheritance # needs fixing
|
||||
class Tier6SmartEnergySummation(PolledSmartEnergySummation):
|
||||
|
Reference in New Issue
Block a user