Skip to content

Commit

Permalink
manufacturer_attributes is replaced by attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
pdecat committed Oct 1, 2022
1 parent a15a5ef commit 606cf3f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions zhaquirks/lixee/zlinky.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import zigpy.types as t
from zigpy.zcl.clusters.general import Basic, GreenPowerProxy, Identify, Ota
from zigpy.zcl.clusters.homeautomation import ElectricalMeasurement, MeterIdentification
from zigpy.zcl.clusters.manufacturer_specific import ManufacturerSpecificCluster
from zigpy.zcl.clusters.smartenergy import Metering

from zhaquirks.const import (
Expand All @@ -17,13 +18,13 @@
from zhaquirks.lixee import LIXEE, ZLINKY_MANUFACTURER_CLUSTER_ID


class ZLinkyTICManufacturerCluster(CustomCluster):
class ZLinkyTICManufacturerCluster(CustomCluster, ManufacturerSpecificCluster):
"""ZLinkyTICManufacturerCluster manufacturer cluster."""

cluster_id = ZLINKY_MANUFACTURER_CLUSTER_ID
name = "ZLinky_TIC Manufacturer specific"
ep_attribute = "zlinky_cluster"
manufacturer_attributes = {
ep_attribute = "zlinky_manufacturer_specific"
attributes = {
0x0000: ("histo_optarif_or_standard_ngtf", t.LimitedCharString(16)),
0x0001: ("histo_demain", t.LimitedCharString(4)),
0x0002: ("histo_hhphc", t.uint8_t),
Expand Down

0 comments on commit 606cf3f

Please sign in to comment.