Sinope Line Voltage Thermostats

Bonjour,

Je me suis amusé à créer un carte pour les thermostats Sinopé. La carte contient un contrôle pour le thermostat, le wattage utilisé et la consommation d’énergie.

Si ça vous intéresse:

Il faut installer Swiss Army Knife : GitHub - AmoebeLabs/swiss-army-knife-card: The versatile custom Swiss Army Knife card for Home Assistant allows you to create your unique visualization using several graphical tools, styling options and animations..

Les fichiers yaml sont ici. Ajouter la carte et la template. GitHub - MichelJourdain/Thermostats-Sinope

2 Likes

I’ve added preliminary support for TH1123ZB-G2 or a TH1124ZB-G2 in my

If anybody have one of those and is willing to test in zHA please test. Just copy thermostat.py file in your config/zhaquirks and restart HA to see if those thermostats are properly detected and loaded in ZHA. Let me know

1 Like

Bonjour M. Gelinas,
Tout d’abord, merci pour votre support et votre intégration des produits Sinope dans HA. Je dois vous dire que je suis nouveau dans ce type de forum mais un peu moins avec l’utilisation de Home Assistant. Mon premier Thermostat Sinope était un TH1124WF. Depuis, j’ai migré au modèle Zigbee car plus simple pour soutirer des données et même d’en pousser sur l’écran ainsi qu’à les exploiter dans HA.

Depuis quelques semaines j’ai installé votre intégration. J’ai suivi à la lettre toutes les indications sur GitHub mais je n’arrive pas à voir apparaître des données en provenance de la plateforme Neviweb. Dans les logs de HA, je vois (et je confirme) que mes codes d’accès sont bons et que la connexion est réussie. J’y vois toute une série de données.

Actuellement, avec les infos saisie dans le fichier configuration.yaml (section Neviweb et Template) cela ne génère pas de données dans la section Énergie de HA. Je vois toujours la mention «Inconnu». Ce que je n’arrive pas à comprendre, c’est comment les données en provenance de Neviweb font pour être associées aux éléments de la section Template et atterrir dans la section Énergie. J’ai comme l’impression qu’il me manque quelques choses pour assurer la liaison entre Neviweb et les données de mon thermostats, le template et sa configuration et, enfin, l’infos dans le panneau Énergie. Tout mes autres thermostats Sinope Zigbee sont présents dans cette section et j’y accumule des données fort intéressantes depuis déjà des mois.

Grand merci pour votre aide ou celle des participants à ce forum.
Richard

I have updated to v1.7.0 in HACS and my TH1123ZB-G2 now seem to function correctly. I’ll do some tests and provide updates.

If by chance you have a TH1124ZB-G2 please test. Tel me what is the model number for this one.
let me know if you find something about the TH1123ZB-G2 support

Bonjour @rikray02 je n’ai pas joué beaucoup avec le module Énergie. Je vais le configurer et vérifier comment les données des appareils Sinopé sur neviweb130 se chargent.
Avez-vous utilisé les templates sensor comme ci-dessous:

template:
  - sensor:
    - name: Basement energy usage
      unit_of_measurement: kWh
      device_class: energy
      state_class: total_increasing
      state: >
        {{ state_attr("climate.th1124zb_basement","hourly_kwh_count") }}
template:
  - sensor:
    - name: Basement energy usage
      unit_of_measurement: kWh
      device_class: energy
      state_class: total
      state: >
        {{ state_attr("climate.th1124zb_basement","hourly_kwh") }}

Hi @rikray02 I’ve created a branch kwh-stat on
https://github.com/claudegel/sinope-130/tree/kwh-stat
to fix the stats. Now when you restart HA, all hourly_kwh_count, daily_kwh_count, monthly_kwh_count, hourly_kwh, daily_kwh and monthly_kwh for each device are set to 0. Then the stats are populated with value from Neviweb each 30 minutes.
To get them for energy just create sensors like this in configuration.yaml

template:
  - sensor:
      - name: "cuisine_energy_count"
        unit_of_measurement: "kWh"
        device_class: energy
        state_class: total_increasing
        state: >-
          {{ state_attr("climate.neviweb130_climate_plancher_cuisin","hourly_kwh_count") }}
      - name: "cuisine_energy"
        unit_of_measurement: "kWh"
        device_class: energy
        state_class: total
        state: >-
          {{ state_attr("climate.neviweb130_climate_plancher_cuisin","hourly_kwh") }}

You will have those sensors available for the energy module.
Please test. and let me know.
Update
branch kwh-stat have been merged in new release v1.7.1.

1 Like

DISREGARD, I think I’ve got it. For anyone else, this seems to work now using:
temperature: "{{ trigger.to_state.attributes.temperature }}"


Hi Folks, I’m trying to synchronize two thermostats in the same room, so that if someone manually adjusts the set-temp on one thermostat, the other one will update its set-temp to match. I actually had the automation working but I lost it due to a SSD crash on my RP4, and I can’t remember the proper YAML!

This is my current automation, it triggers correctly but I’m not sending the right temperature value.

alias: Thermostats - Living Room Sync
description: ""
trigger:
  - platform: state
    entity_id:
      - climate.thermostat_living_room_stove_wall_sinopetechnologiesthermostat
      - climate.thermostat_living_room_couch_wall_sinopetechnologiesthermostat
condition: []
action:
  - service: climate.set_temperature
    data:
      temperature: "{{ state_attr('trigger.to_state', 'temperature') }}"    <== This is my issue!
    target:
      device_id:
        - b138e6a78abbd8d0db516118a7dc2e9c
        - a7162647a664414c31482434c7e88f8e
mode: single

Really appreciate any thoughts you might have.

Your problem was state_attr() requires two arguments : entity_id (not state) and attribute.
You could try "{{ state_attr('trigger.entity_id', 'temperature') }}"
But accessing the state object directly without the helper works as well, your call.

1 Like

Thank you Etienne! That was helpful. I was also able to update the automation to only trigger on a change to the set-temperature, and only send it to the other thermostat and not the one that triggered it.

posting it here in case I ever need this again.

alias: Thermostats - Living Room Sync
description: ""
trigger:
  - platform: state
    entity_id:
      - climate.thermostat_living_room_stove_wall_sinopetechnologiesthermostat
      - climate.thermostat_living_room_couch_wall_sinopetechnologiesthermostat
    attribute: temperature
condition: []
action:
  - service: climate.set_temperature
    data:
      temperature: "{{ trigger.to_state.attributes.temperature }}"
    target:
      entity_id: >
        {% if trigger.to_state.entity_id ==
        "climate.thermostat_living_room_couch_wall_sinopetechnologiesthermostat"
        %}
        climate.thermostat_living_room_stove_wall_sinopetechnologiesthermostat
        {% else %}
        climate.thermostat_living_room_couch_wall_sinopetechnologiesthermostat
        {% endif %}
mode: single

Bonjour,

À vrais dire, non. J’ai utilisé celui-ci:

template:
  - sensor:
    - name: Salon energy usage
      unit_of_measurement: kWh
      device_class: energy
      state_class: total
      state: >
        {{ state_attr("climate.neviweb_climate_Salon","hourly_kwh") }}

Je vais faire quelques tests cette semaine à partir de vos exemples pour voir comment cela se comporte.

Merci

Merci @claudegel. Je vais faire la mise à jour et le mettre à l’essai. Je vous reviens aussitôt mes essais complétés.

Merci encore.

@claudegel I had some issues setting up my TH1123ZB-G2 with the custom quirks. This was what I had in the logs:

2022-11-01 00:30:05.761 DEBUG (MainThread) [zigpy.application] Device is initialized <Device model='TH1123ZB-G2' manuf='Sinope Technologies' nwk=0x4499 ieee=00:3c:84:ff:fe:96:6e:72 is_initialized=True>
2022-11-01 00:30:05.764 DEBUG (MainThread) [zigpy.quirks.registry] Checking quirks for Sinope Technologies TH1123ZB-G2 (00:3c:84:ff:fe:96:6e:72)
2022-11-01 00:30:05.764 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'thermostat.SinopeLineThermostats'>
2022-11-01 00:30:05.765 DEBUG (MainThread) [zigpy.quirks.registry] Fail because output cluster mismatch on at least one endpoint

Took some time to figure out, but I got it to work by changing the OUTPUT_CLUSTERS in the signature to:

                OUTPUT_CLUSTERS: [
                    Identify.cluster_id,
                    Time.cluster_id,
                    Ota.cluster_id
                ],

Let me know if ever you’d like to test other things for the TH1123ZB-G2, thanks!

Thank you @atessier I’ll update my quirk. Can you post your thermostat signature in ZHA ?

Update
I’ve added a branch GitHub - claudegel/sinope-zha at G2 for your G2 thermostat
Please test and send me your thermostat signature.

1 Like

I’m pretty new to this but I think this should be it:

"signature":{
   "node_descriptor":"NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=4508, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
   "endpoints":{
      "1":{
         "profile_id":260,
         "device_type":"0x0301",
         "in_clusters":[
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0201",
            "0x0204",
            "0x0402",
            "0x0702",
            "0x0b04",
            "0x0b05",
            "0xff01"
         ],
         "out_clusters":[
            "0x0003",
            "0x000a",
            "0x0019"
         ]
      }
   }
}

I did test what you have on the branch, I didn’t map it correctly at first (same error in the logs as before) but removing sinope-zha/thermostat.py at ffac3631cc74fdc825a3a12658b6a436a58509aa · claudegel/sinope-zha · GitHub made it work. I’m not sure though if having it not listed in the signature but present in the replacement makes any difference.

I’ve removed it it the G2 branch
Could you add this in your configuration.yaml to see if you get more cluster info when the thermostat is detected and loaded

logger:
  default: warning
  logs:
    homeassistant.custom_components: debug
    homeassistant.components.zha: debug

Then restart HA and check your log

For sure! Let me know if this wasn’t what you were looking for, but it does seem to match what you have in your code:

2022-11-01 03:18:16.740 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SimpleDescRsp.Callback(Src=0xE60D, Status=<Status.SUCCESS: 0>, NWK=0xE60D, SimpleDescriptor=SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=769, device_version=1, input_clusters=[0, 3, 4, 5, 513, 516, 1026, 1794, 2820, 2821, 65281], output_clusters=[3, 10, 25]))

And some more excerpts:

022-11-01 03:18:16.901 INFO (MainThread) [zigpy.device] [0xe60d] Discovered basic device information for <Device model='TH1123ZB-G2' manuf='Sinope Technologies' nwk=0xE60D ieee=00:3c:84:ff:fe:96:6b:c0 is_initialized=True>
2022-11-01 03:18:16.902 DEBUG (MainThread) [zigpy.application] Device is initialized <Device model='TH1123ZB-G2' manuf='Sinope Technologies' nwk=0xE60D ieee=00:3c:84:ff:fe:96:6b:c0 is_initialized=True>
2022-11-01 03:18:16.906 DEBUG (MainThread) [zigpy.quirks.registry] Checking quirks for Sinope Technologies TH1123ZB-G2 (00:3c:84:ff:fe:96:6b:c0)
2022-11-01 03:18:16.907 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'thermostat.SinopeG2Thermostats'>
2022-11-01 03:18:16.908 DEBUG (MainThread) [zigpy.quirks.registry] Found custom device replacement for 00:3c:84:ff:fe:96:6b:c0: <class 'thermostat.SinopeG2Thermostats'>
2022-11-01 03:18:16.925 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'button' component -> 'ZHAIdentifyButton' using ['identify']
2022-11-01 03:18:16.925 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'climate' component -> 'SinopeTechnologiesThermostat' using ['thermostat', 'sinope_manufacturer_specific']
2022-11-01 03:18:16.926 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'ElectricalMeasurement' using ['electrical_measurement']
2022-11-01 03:18:16.926 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'ElectricalMeasurementApparentPower' using ['electrical_measurement']
2022-11-01 03:18:16.927 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'ElectricalMeasurementRMSCurrent' using ['electrical_measurement']
2022-11-01 03:18:16.928 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'ElectricalMeasurementRMSVoltage' using ['electrical_measurement']
2022-11-01 03:18:16.928 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'ElectricalMeasurementFrequency' using ['electrical_measurement']
2022-11-01 03:18:16.929 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'ElectricalMeasurementPowerFactor' using ['electrical_measurement']
2022-11-01 03:18:16.929 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'Temperature' using ['temperature']
2022-11-01 03:18:16.930 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'RSSISensor' using ['basic']
2022-11-01 03:18:16.930 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'LQISensor' using ['basic']
2022-11-01 03:18:16.931 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'SmartEnergyMetering' using ['smartenergy_metering']
2022-11-01 03:18:16.931 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'SmartEnergySummation' using ['smartenergy_metering']
2022-11-01 03:18:16.932 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'SinopeHVACAction' using ['thermostat']
2022-11-01 03:18:16.939 DEBUG (MainThread) [homeassistant.components.zha.core.gateway] device - 0xE60D:00:3c:84:ff:fe:96:6b:c0 entering async_device_initialized - is_new_join: True
2022-11-01 03:18:16.940 DEBUG (MainThread) [homeassistant.components.zha.core.gateway] device - 0xE60D:00:3c:84:ff:fe:96:6b:c0 has joined the ZHA zigbee network
2022-11-01 03:18:16.942 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xE60D](TH1123ZB-G2): started configuration
2022-11-01 03:18:16.943 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:ZDO](TH1123ZB-G2): 'async_configure' stage succeeded
2022-11-01 03:18:16.959 DEBUG (MainThread) [zigpy.appdb] Error handling '_save_attribute' event with (00:3c:84:ff:fe:96:6b:c0, 1, 0, 4, 'Sinope Technologies') params: FOREIGN KEY constraint failed
2022-11-01 03:18:16.960 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0x0402]: Performing cluster binding
2022-11-01 03:18:16.962 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE60D), dst_ep=0, source_route=None, extended_timeout=False, tsn=38, profile_id=0, cluster_id=<ZDOCmd.Bind_req: 0x0021>, data=Serialized[b'&\xc0k\x96\xfe\xff\x84<\x00\x01\x02\x04\x03\xafe\xd1&\x00K\x12\x00\x01'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-01 03:18:16.964 DEBUG (MainThread) [zigpy_znp.api] Sending request: ZDO.ExtRouteChk.Req(Dst=0xE60D, RtStatus=<RouteStatus.ACTIVE: 1>, Options=<RouteOptions.NO_ROUTE_CACHE|MTO_ROUTE: 3>)
2022-11-01 03:18:16.966 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0x0702]: Performing cluster binding
2022-11-01 03:18:16.968 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE60D), dst_ep=0, source_route=None, extended_timeout=False, tsn=39, profile_id=0, cluster_id=<ZDOCmd.Bind_req: 0x0021>, data=Serialized[b"'\xc0k\x96\xfe\xff\x84<\x00\x01\x02\x07\x03\xafe\xd1&\x00K\x12\x00\x01"], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-01 03:18:16.970 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0x0003]: Configuring cluster attribute reporting
2022-11-01 03:18:16.970 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0x0003]: finished channel configuration
2022-11-01 03:18:16.971 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0x0201]: Performing cluster binding
2022-11-01 03:18:16.973 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE60D), dst_ep=0, source_route=None, extended_timeout=False, tsn=40, profile_id=0, cluster_id=<ZDOCmd.Bind_req: 0x0021>, data=Serialized[b'(\xc0k\x96\xfe\xff\x84<\x00\x01\x01\x02\x03\xafe\xd1&\x00K\x12\x00\x01'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-01 03:18:16.975 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0x0b04]: Performing cluster binding
2022-11-01 03:18:16.977 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE60D), dst_ep=0, source_route=None, extended_timeout=False, tsn=41, profile_id=0, cluster_id=<ZDOCmd.Bind_req: 0x0021>, data=Serialized[b')\xc0k\x96\xfe\xff\x84<\x00\x01\x04\x0b\x03\xafe\xd1&\x00K\x12\x00\x01'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-01 03:18:16.978 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0xff01]: Performing cluster binding
2022-11-01 03:18:16.981 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE60D), dst_ep=0, source_route=None, extended_timeout=False, tsn=42, profile_id=0, cluster_id=<ZDOCmd.Bind_req: 0x0021>, data=Serialized[b'*\xc0k\x96\xfe\xff\x84<\x00\x01\x01\xff\x03\xafe\xd1&\x00K\x12\x00\x01'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-01 03:18:16.982 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0x0000]: Configuring cluster attribute reporting
2022-11-01 03:18:16.983 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0x0000]: finished channel configuration
2022-11-01 03:18:16.984 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0x0019]: finished channel configuration
2022-11-01 03:18:16.990 DEBUG (MainThread) [zigpy.appdb] Error handling '_save_attribute' event with (00:3c:84:ff:fe:96:6b:c0, 1, 0, 5, 'TH1123ZB-G2') params: FOREIGN KEY constraint failed
2022-11-01 03:18:16.996 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.ExtRouteChk.Rsp(Status=<RoutingStatus.SUCCESS: 0>)
2022-11-01 03:18:16.998 DEBUG (MainThread) [zigpy_znp.api] Sending request: ZDO.ExtRouteChk.Req(Dst=0xE60D, RtStatus=<RouteStatus.ACTIVE: 1>, Options=<RouteOptions.NO_ROUTE_CACHE|MTO_ROUTE: 3>)
2022-11-01 03:18:17.002 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.ExtRouteChk.Rsp(Status=<RoutingStatus.SUCCESS: 0>)
2022-11-01 03:18:17.003 DEBUG (MainThread) [zigpy_znp.api] Sending request: ZDO.ExtRouteChk.Req(Dst=0xE60D, RtStatus=<RouteStatus.ACTIVE: 1>, Options=<RouteOptions.NO_ROUTE_CACHE|MTO_ROUTE: 3>)
2022-11-01 03:18:17.008 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.ExtRouteChk.Rsp(Status=<RoutingStatus.SUCCESS: 0>)
2022-11-01 03:18:17.009 DEBUG (MainThread) [zigpy_znp.api] Sending request: ZDO.ExtRouteChk.Req(Dst=0xE60D, RtStatus=<RouteStatus.ACTIVE: 1>, Options=<RouteOptions.NO_ROUTE_CACHE|MTO_ROUTE: 3>)
2022-11-01 03:18:17.014 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.ExtRouteChk.Rsp(Status=<RoutingStatus.SUCCESS: 0>)
2022-11-01 03:18:17.015 DEBUG (MainThread) [zigpy_znp.api] Sending request: ZDO.ExtRouteChk.Req(Dst=0xE60D, RtStatus=<RouteStatus.ACTIVE: 1>, Options=<RouteOptions.NO_ROUTE_CACHE|MTO_ROUTE: 3>)
2022-11-01 03:18:17.019 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.ExtRouteChk.Rsp(Status=<RoutingStatus.SUCCESS: 0>)
2022-11-01 03:18:17.021 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xE60D), DstEndpoint=0, DstPanId=0x0000, SrcEndpoint=0, ClusterId=33, TSN=38, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST: 48>, Radius=0, Data=b'\x26\xC0\x6B\x96\xFE\xFF\x84\x3C\x00\x01\x02\x04\x03\xAF\x65\xD1\x26\x00\x4B\x12\x00\x01')
2022-11-01 03:18:17.029 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2022-11-01 03:18:17.030 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xE60D), DstEndpoint=0, DstPanId=0x0000, SrcEndpoint=0, ClusterId=33, TSN=39, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST: 48>, Radius=0, Data=b'\x27\xC0\x6B\x96\xFE\xFF\x84\x3C\x00\x01\x02\x07\x03\xAF\x65\xD1\x26\x00\x4B\x12\x00\x01')
2022-11-01 03:18:17.044 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2022-11-01 03:18:17.046 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xE60D), DstEndpoint=0, DstPanId=0x0000, SrcEndpoint=0, ClusterId=33, TSN=40, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST: 48>, Radius=0, Data=b'\x28\xC0\x6B\x96\xFE\xFF\x84\x3C\x00\x01\x01\x02\x03\xAF\x65\xD1\x26\x00\x4B\x12\x00\x01')
2022-11-01 03:18:17.072 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2022-11-01 03:18:17.073 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xE60D), DstEndpoint=0, DstPanId=0x0000, SrcEndpoint=0, ClusterId=33, TSN=41, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST: 48>, Radius=0, Data=b'\x29\xC0\x6B\x96\xFE\xFF\x84\x3C\x00\x01\x04\x0B\x03\xAF\x65\xD1\x26\x00\x4B\x12\x00\x01')
2022-11-01 03:18:17.075 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0xE60D, Relays=[])
2022-11-01 03:18:17.075 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0xE60D, Relays=[])
2022-11-01 03:18:17.081 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0xE60D, Relays=[])
2022-11-01 03:18:17.213 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2022-11-01 03:18:17.214 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xE60D), DstEndpoint=0, DstPanId=0x0000, SrcEndpoint=0, ClusterId=33, TSN=42, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST: 48>, Radius=0, Data=b'\x2A\xC0\x6B\x96\xFE\xFF\x84\x3C\x00\x01\x01\xFF\x03\xAF\x65\xD1\x26\x00\x4B\x12\x00\x01')
2022-11-01 03:18:17.217 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0xE60D, Relays=[])
2022-11-01 03:18:17.217 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0xE60D, Relays=[])
2022-11-01 03:18:17.219 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0xE60D, Relays=[])
2022-11-01 03:18:17.219 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0xE60D, Relays=[])
2022-11-01 03:18:17.220 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0xE60D, Relays=[])
2022-11-01 03:18:17.222 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.BindRsp.Callback(Src=0xE60D, Status=<Status.SUCCESS: 0>)
2022-11-01 03:18:17.223 DEBUG (MainThread) [zigpy_znp.api] Command was not handled
2022-11-01 03:18:17.224 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.BindRsp.Callback(Src=0xE60D, Status=<Status.SUCCESS: 0>)
2022-11-01 03:18:17.224 DEBUG (MainThread) [zigpy_znp.api] Command was not handled
2022-11-01 03:18:17.227 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.BindRsp.Callback(Src=0xE60D, Status=<Status.SUCCESS: 0>)
2022-11-01 03:18:17.228 DEBUG (MainThread) [zigpy_znp.api] Command was not handled
2022-11-01 03:18:17.234 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.BindRsp.Callback(Src=0xE60D, Status=<Status.SUCCESS: 0>)
2022-11-01 03:18:17.234 DEBUG (MainThread) [zigpy_znp.api] Command was not handled
2022-11-01 03:18:17.236 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.MsgCbIncoming.Callback(Src=0xE60D, IsBroadcast=<Bool.false: 0>, ClusterId=32801, SecurityUse=0, TSN=38, MacDst=0x0000, Data=b'\x00')
2022-11-01 03:18:17.237 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE60D), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=38, profile_id=0, cluster_id=32801, data=Serialized[b'&\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-01 03:18:17.239 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.MsgCbIncoming.Callback(Src=0xE60D, IsBroadcast=<Bool.false: 0>, ClusterId=32801, SecurityUse=0, TSN=39, MacDst=0x0000, Data=b'\x00')
2022-11-01 03:18:17.240 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.MsgCbIncoming.Callback(Src=0xE60D, IsBroadcast=<Bool.false: 0>, ClusterId=32801, SecurityUse=0, TSN=40, MacDst=0x0000, Data=b'\x00')
2022-11-01 03:18:17.241 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE60D), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=39, profile_id=0, cluster_id=32801, data=Serialized[b"'\x00"], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-01 03:18:17.242 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE60D), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=40, profile_id=0, cluster_id=32801, data=Serialized[b'(\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-01 03:18:17.243 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.MsgCbIncoming.Callback(Src=0xE60D, IsBroadcast=<Bool.false: 0>, ClusterId=32801, SecurityUse=0, TSN=41, MacDst=0x0000, Data=b'\x00')
2022-11-01 03:18:17.244 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2022-11-01 03:18:17.246 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0x0402]: bound 'temperature' cluster: Status.SUCCESS
2022-11-01 03:18:17.247 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0x0402]: Configuring cluster attribute reporting
2022-11-01 03:18:17.248 DEBUG (MainThread) [zigpy.zcl] [0xE60D:1:0x0402] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=43, command_id=<GeneralCommand.Configure_Reporting: 6>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-01 03:18:17.249 DEBUG (MainThread) [zigpy.zcl] [0xE60D:1:0x0402] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=41, min_interval=30, max_interval=900, reportable_change=50)])
2022-11-01 03:18:17.250 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE60D), dst_ep=1, source_route=None, extended_timeout=False, tsn=43, profile_id=260, cluster_id=1026, data=Serialized[b'\x00+\x06\x00\x00\x00)\x1e\x00\x84\x032\x00'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-01 03:18:17.252 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE60D), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=41, profile_id=0, cluster_id=32801, data=Serialized[b')\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-01 03:18:17.254 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xE60D), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=1026, TSN=43, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST: 48>, Radius=0, Data=b'\x00\x2B\x06\x00\x00\x00\x29\x1E\x00\x84\x03\x32\x00')
2022-11-01 03:18:17.256 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0x0702]: bound 'smartenergy_metering' cluster: Status.SUCCESS
2022-11-01 03:18:17.256 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0x0702]: Configuring cluster attribute reporting
2022-11-01 03:18:17.257 DEBUG (MainThread) [zigpy.zcl] [0xE60D:1:0x0702] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=44, command_id=<GeneralCommand.Configure_Reporting: 6>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-01 03:18:17.258 DEBUG (MainThread) [zigpy.zcl] [0xE60D:1:0x0702] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0400, datatype=42, min_interval=5, max_interval=900, reportable_change=1), AttributeReportingConfig(direction=0, attrid=0x0000, datatype=37, min_interval=30, max_interval=900, reportable_change=1), AttributeReportingConfig(direction=0, attrid=0x0200, datatype=24, min_interval=1, max_interval=900, reportable_change=1)])
2022-11-01 03:18:17.259 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE60D), dst_ep=1, source_route=None, extended_timeout=False, tsn=44, profile_id=260, cluster_id=1794, data=Serialized[b'\x00,\x06\x00\x00\x04*\x05\x00\x84\x03\x01\x00\x00\x00\x00\x00%\x1e\x00\x84\x03\x01\x00\x00\x00\x00\x00\x00\x00\x02\x18\x01\x00\x84\x03'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-01 03:18:17.260 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0x0201]: bound 'thermostat' cluster: Status.SUCCESS
2022-11-01 03:18:17.261 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0x0201]: Configuring cluster attribute reporting
2022-11-01 03:18:17.262 DEBUG (MainThread) [zigpy.zcl] [0xE60D:1:0x0201] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=45, command_id=<GeneralCommand.Configure_Reporting: 6>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-01 03:18:17.263 DEBUG (MainThread) [zigpy.zcl] [0xE60D:1:0x0201] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=41, min_interval=30, max_interval=900, reportable_change=25), AttributeReportingConfig(direction=0, attrid=0x0011, datatype=41, min_interval=30, max_interval=900, reportable_change=25), AttributeReportingConfig(direction=0, attrid=0x0012, datatype=41, min_interval=30, max_interval=900, reportable_change=25)])
2022-11-01 03:18:17.264 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE60D), dst_ep=1, source_route=None, extended_timeout=False, tsn=45, profile_id=260, cluster_id=513, data=Serialized[b'\x00-\x06\x00\x00\x00)\x1e\x00\x84\x03\x19\x00\x00\x11\x00)\x1e\x00\x84\x03\x19\x00\x00\x12\x00)\x1e\x00\x84\x03\x19\x00'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-01 03:18:17.268 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0x0b04]: bound 'electrical_measurement' cluster: Status.SUCCESS
2022-11-01 03:18:17.268 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0x0b04]: Configuring cluster attribute reporting
2022-11-01 03:18:17.269 DEBUG (MainThread) [zigpy.zcl] [0xE60D:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=46, command_id=<GeneralCommand.Configure_Reporting: 6>, *direction=<Direction.Server_to_Client: 0>, *is_reply=False)
2022-11-01 03:18:17.271 DEBUG (MainThread) [zigpy.zcl] [0xE60D:1:0x0b04] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x050B, datatype=41, min_interval=5, max_interval=900, reportable_change=1), AttributeReportingConfig(direction=0, attrid=0x050D, datatype=41, min_interval=30, max_interval=900, reportable_change=1), AttributeReportingConfig(direction=0, attrid=0x050F, datatype=33, min_interval=5, max_interval=900, reportable_change=1)])
2022-11-01 03:18:17.272 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE60D), dst_ep=1, source_route=None, extended_timeout=False, tsn=46, profile_id=260, cluster_id=2820, data=Serialized[b'\x00.\x06\x00\x0b\x05)\x05\x00\x84\x03\x01\x00\x00\r\x05)\x1e\x00\x84\x03\x01\x00\x00\x0f\x05!\x05\x00\x84\x03\x01\x00'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-01 03:18:17.281 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0xE60D, Relays=[])
2022-11-01 03:18:17.288 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0xE60D, Relays=[])
2022-11-01 03:18:17.288 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2022-11-01 03:18:17.290 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xE60D), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=1794, TSN=44, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST: 48>, Radius=0, Data=b'\x00\x2C\x06\x00\x00\x04\x2A\x05\x00\x84\x03\x01\x00\x00\x00\x00\x00\x25\x1E\x00\x84\x03\x01\x00\x00\x00\x00\x00\x00\x00\x02\x18\x01\x00\x84\x03')
2022-11-01 03:18:17.312 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2022-11-01 03:18:17.314 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xE60D), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=513, TSN=45, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST: 48>, Radius=0, Data=b'\x00\x2D\x06\x00\x00\x00\x29\x1E\x00\x84\x03\x19\x00\x00\x11\x00\x29\x1E\x00\x84\x03\x19\x00\x00\x12\x00\x29\x1E\x00\x84\x03\x19\x00')
2022-11-01 03:18:17.315 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0xE60D, Relays=[])
2022-11-01 03:18:17.329 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2022-11-01 03:18:17.330 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xE60D), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=2820, TSN=46, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST: 48>, Radius=0, Data=b'\x00\x2E\x06\x00\x0B\x05\x29\x05\x00\x84\x03\x01\x00\x00\x0D\x05\x29\x1E\x00\x84\x03\x01\x00\x00\x0F\x05\x21\x05\x00\x84\x03\x01\x00')
2022-11-01 03:18:17.349 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0xE60D, Relays=[])
2022-11-01 03:18:17.350 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.BindRsp.Callback(Src=0xE60D, Status=<Status.SUCCESS: 0>)
2022-11-01 03:18:17.351 DEBUG (MainThread) [zigpy_znp.api] Command was not handled
2022-11-01 03:18:17.377 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.MsgCbIncoming.Callback(Src=0xE60D, IsBroadcast=<Bool.false: 0>, ClusterId=32801, SecurityUse=0, TSN=42, MacDst=0x0000, Data=b'\x00')
2022-11-01 03:18:17.378 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE60D), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=42, profile_id=0, cluster_id=32801, data=Serialized[b'*\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2022-11-01 03:18:17.381 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0xff01]: bound 'sinope_manufacturer_specific' cluster: Status.SUCCESS
2022-11-01 03:18:17.382 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0xff01]: Configuring cluster attribute reporting
2022-11-01 03:18:17.382 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0xff01]: finished channel configuration
2022-11-01 03:18:17.384 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2022-11-01 03:18:17.384 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0xE60D, Relays=[])
2022-11-01 03:18:17.387 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0xE60D, Relays=[])
2022-11-01 03:18:17.387 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0xE60D, Relays=[])
2022-11-01 03:18:17.393 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0xE60D, Relays=[])
2022-11-01 03:18:17.414 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.SUCCESS: 0>, Endpoint=1, TSN=43)
2022-11-01 03:18:17.417 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=1026, SrcAddr=0xE60D, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=<Bool.false: 0>, LQI=153, SecurityUse=<Bool.false: 0>, TimeStamp=2774025, TSN=0, Data=b'\x18\x2B\x07\x00', MacSrcAddr=0xE60D, MsgResultRadius=29)
2022-11-01 03:18:17.418 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE60D), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=1026, data=Serialized[b'\x18+\x07\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=29, non_member_radius=0, lqi=153, rssi=None)
2022-11-01 03:18:17.419 DEBUG (MainThread) [zigpy.zcl] [0xE60D:1:0x0402] Received ZCL frame: b'\x18+\x07\x00'
2022-11-01 03:18:17.419 DEBUG (MainThread) [zigpy.zcl] [0xE60D:1:0x0402] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=43, command_id=7, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2022-11-01 03:18:17.421 DEBUG (MainThread) [zigpy.zcl] [0xE60D:1:0x0402] Decoded ZCL frame: TemperatureMeasurement:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=<Status.SUCCESS: 0>)])
2022-11-01 03:18:17.423 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0x0402]: Successfully configured reporting for '{'measured_value': (30, 900, 50)}' on 'temperature' cluster: [ConfigureReportingResponseRecord(status=<Status.SUCCESS: 0>)]
2022-11-01 03:18:17.424 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xE60D:1:0x0402]: finished channel configuration

Hi,

Any idea why since the october 30 my consumption in energy dashboard isnt correctly reported under individual consumption.

Here is a screenshot of my board the 29, we can see that HA reported a daily consumption around 1,2kwh for the Véranda, which is correct.

But now and since, HA reported the total count of my consumption for all devices

I have not made any changes to my templates which are the following

template:
  - sensor:
    - name: Consommation chauffage véranda
      unit_of_measurement: kWh
      device_class: energy
      state_class: total_increasing
      state: >
        {{ state_attr("climate.neviweb130_climate_thermostat","hourly_kwh_count") }}

Thanks for the help

> EDIT : Just read above that a change was made on values at restart from null to 0 could this be the cause?

I don’t know if it may cause the problem so to test I’ll change back to None instead of 0
please test branch GitHub - claudegel/sinope-130 at test. you can just replace climate.py if it is only for your thermostats.
If it is effectively the source of the problem I’ll push a release

@atessier thank’s for all that stuff. I’ll send a PR to zha-device-handlers to add support for G2 thermostats in ZHA. Before it is merged you can stay with my sinope-zha quircks. I’ll merge the patch to my master branch.

2 Likes