Centralite 3315-G

I am new to Home Assistant and trying to configure my first automation. I have a Centralite 3315-G water detector. I can’t seem to get it to fire an event when moisture is detected. I have watched the logs trying to determine what changes between detecting moisture and no moisture.

These are the lines in the logger that change between the two states:

[zigpy_deconz.api] APS data indication response: [32, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x9ca3>, 1, 260, 1280, b'\tW\x00 \x00\x00\x00\x00\x00', 0, 175, 236, 77, 129, 0, 0, -88]
[zigpy.zcl] [0x9CA3:1:0x0500] Received ZCL frame: b'\tW\x00 \x00\x00\x00\x00\x00'
[zigpy.zcl] [0x9CA3:1:0x0500] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=87, command_id=0, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
[zigpy.zcl] [0x9CA3:1:0x0500] Decoded ZCL frame: IasZone:status_change_notification(zone_status=<ZoneStatus.Restore_reports: 32>, extended_status=<bitmap8.0: 0>, zone_id=0, delay=0)
[zigpy.zcl] [0x9CA3:1:0x0500] Received command 0x00 (TSN 87): status_change_notification(zone_status=<ZoneStatus.Restore_reports: 32>, extended_status=<bitmap8.0: 0>, zone_id=0, delay=0)
[zigpy.zcl] [0x9CA3:1:0x0500] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=87, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
[zigpy.zcl] [0x9CA3:1:0x0500] Sending reply: Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
[homeassistant.components.zha.core.channels.base] [0x9CA3:1:0x0500]: Updated alarm state: ZoneStatus.0
[zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 87 under 101 request id, data: b'18570b0000'
[zigpy_deconz.api] 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x9ca3>, ep: 1, profile: 0x0104, cluster_id: 0x0500, data: b'095700200000000000'
[zigpy_deconz.api] Command Command.aps_data_request (20, 101, <DeconzSendDataFlags.NONE: 0>, <DeconzAddressEndpoint address_mode=2 address=0x9CA3 endpoint=1>, 260, 1280, 1, b'\x18W\x0b\x00\x00', <DeconzTransmitOptions.USE_NWK_KEY_SECURITY: 2>, 0)
[zigpy_deconz.uart] Send: 0x121a001b001400650002a39c010401000501050018570b00000200

and this:

[zigpy_deconz.api] APS data indication response: [32, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x9ca3>, 1, 260, 1280, b'\tV\x00!\x00\x00\x00\x00\x00', 0, 175, 188, 77, 129, 0, 0, -89]
[zigpy.zcl] [0x9CA3:1:0x0500] Received ZCL frame: b'\tV\x00!\x00\x00\x00\x00\x00'
[zigpy.zcl] [0x9CA3:1:0x0500] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False, *is_reply=True), tsn=86, command_id=0, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
[zigpy.zcl] [0x9CA3:1:0x0500] Decoded ZCL frame: IasZone:status_change_notification(zone_status=<ZoneStatus.Restore_reports|Alarm_1: 33>, extended_status=<bitmap8.0: 0>, zone_id=0, delay=0)
[zigpy.zcl] [0x9CA3:1:0x0500] Received command 0x00 (TSN 86): status_change_notification(zone_status=<ZoneStatus.Restore_reports|Alarm_1: 33>, extended_status=<bitmap8.0: 0>, zone_id=0, delay=0)
[zigpy.zcl] [0x9CA3:1:0x0500] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=86, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
[zigpy.zcl] [0x9CA3:1:0x0500] Sending reply: Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
[homeassistant.components.zha.core.channels.base] [0x9CA3:1:0x0500]: Updated alarm state: ZoneStatus.Alarm_1
[zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 86 under 100 request id, data: b'18560b0000'
[zigpy_deconz.api] 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x9ca3>, ep: 1, profile: 0x0104, cluster_id: 0x0500, data: b'095600210000000000'
[zigpy_deconz.api] Command Command.aps_data_request (20, 100, <DeconzSendDataFlags.NONE: 0>, <DeconzAddressEndpoint address_mode=2 address=0x9CA3 endpoint=1>, 260, 1280, 1, b'\x18V\x0b\x00\x00', <DeconzTransmitOptions.USE_NWK_KEY_SECURITY: 2>, 0)
[zigpy_deconz.uart] Send: 0x1217001b001400640002a39c010401000501050018560b00000200

I see that the alarm state: ZoneStatus goes between ZoneStatus.0 to ZoneStatus.Alarm_1

When setting up the automation the only entities that I have are:

image

There is not an alarm state.

This is my current yaml configuration:

platform: state
entity_id:
  - binary_sensor.water_heater_iaszone
to: Alarm_1
from: "0"

Am I going about this the wrong way?

Thanks

You can see the states in developer tools, states tab. (Click here Open your Home Assistant instance and show your state developer tools.

Also in Open your Home Assistant instance and show your integrations. you can probably click on the deconz devices and get a list of the entites. (I don’t use deconz, so I am not 100% sure what will be shown)