Skip to content

Update fingerprints.yml for aqara lock u250 - #3198

Open
feiyeep wants to merge 1 commit into
SmartThingsCommunity:mainfrom
feiyeep:main
Open

Update fingerprints.yml for aqara lock u250#3198
feiyeep wants to merge 1 commit into
SmartThingsCommunity:mainfrom
feiyeep:main

Update fingerprints.yml for aqara lock u250

3183663
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / Test Results failed Aug 27, 2026 in 0s

444 errors, 2 817 pass in 0s

   73 files    541 suites   0s ⏱️
3 261 tests 2 817 ✅ 0 💤 0 ❌ 444 🔥
5 250 runs  4 662 ✅ 0 💤 0 ❌ 588 🔥

Results for commit 3183663.

Annotations

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 7 runs with error: Capability command setLevel should be handled

tests/zigbee-dimmer-remote_test_output.xml
tests/zigbee-switch_test_output.xml
tests/zigbee-vent_test_output.xml
Raw output
ERROR
Running test "Capability command setLevel should be handled" (15 of 17)
-----------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee_dimmer_remote with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee_dimmer_remote
  default_handlers:
    init:
    driverSwitched:
    doConfigure:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Capability handlers:
CapabilityCommandDispatcher: zigbee_dimmer_remote
  default_handlers:
    switch:
      on
      off
    switchLevel:
      setLevel
    refresh:
      refresh
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee_dimmer_remote
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee_dimmer_remote] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aurora Model: Remote50AU
	[1]: server: Identify, Groups, Scenes, OnOff, Level, TouchlinkCommissioning, OTAUpgrade
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: zigbee-accessory-dimmer
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote
WARN  || Device does not support cluster 0x0001 not adding configured attribute
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Switch Level.setLevel
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:40: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...-dimmer-remote/src/test/test_zigbee_accessory_dimmer.lua:348: in main chunk
	[C]: in ?
FAILED
Running test "Capability command setLevel should be handled" (15 of 17)
-----------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee_dimmer_remote with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee_dimmer_remote
  default_handlers:
    init:
    driverSwitched:
    doConfigure:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Capability handlers:
CapabilityCommandDispatcher: zigbee_dimmer_remote
  default_handlers:
    switch:
      on
      off
    switchLevel:
      setLevel
    refresh:
      refresh
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee_dimmer_remote
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee_dimmer_remote] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aurora Model: Remote50AU
	[1]: server: Identify, Groups, Scenes, OnOff, Level, TouchlinkCommissioning, OTAUpgrade
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: zigbee-accessory-dimmer
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote
WARN  || Device does not support cluster 0x0001 not adding configured attribute
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Switch Level.setLevel
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:40: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...-dimmer-remote/src/test/test_zigbee_accessory_dimmer.lua:348: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

Capability command setLevel 0 should restore previous level with error

tests/zigbee-dimmer-remote_test_output.xml
Raw output
ERROR
Running test "Capability command setLevel 0 should restore previous level" (16 of 17)
-------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee_dimmer_remote with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee_dimmer_remote
  default_handlers:
    init:
    driverSwitched:
    doConfigure:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Capability handlers:
CapabilityCommandDispatcher: zigbee_dimmer_remote
  default_handlers:
    switch:
      on
      off
    switchLevel:
      setLevel
    refresh:
      refresh
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee_dimmer_remote
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee_dimmer_remote] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aurora Model: Remote50AU
	[1]: server: Identify, Groups, Scenes, OnOff, Level, TouchlinkCommissioning, OTAUpgrade
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: zigbee-accessory-dimmer
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote
WARN  || Device does not support cluster 0x0001 not adding configured attribute
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Switch Level.setLevel
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:40: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...-dimmer-remote/src/test/test_zigbee_accessory_dimmer.lua:348: in main chunk
	[C]: in ?
FAILED
Running test "Capability command setLevel 0 should restore previous level" (16 of 17)
-------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee_dimmer_remote with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee_dimmer_remote
  default_handlers:
    init:
    driverSwitched:
    doConfigure:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Capability handlers:
CapabilityCommandDispatcher: zigbee_dimmer_remote
  default_handlers:
    switch:
      on
      off
    switchLevel:
      setLevel
    refresh:
      refresh
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee_dimmer_remote
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee_dimmer_remote] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aurora Model: Remote50AU
	[1]: server: Identify, Groups, Scenes, OnOff, Level, TouchlinkCommissioning, OTAUpgrade
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: zigbee-accessory-dimmer
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote
WARN  || Device does not support cluster 0x0001 not adding configured attribute
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Switch Level.setLevel
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:40: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...-dimmer-remote/src/test/test_zigbee_accessory_dimmer.lua:348: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 9 runs with error: manufacturer(sengled) specific clster command() should be handled

tests/zigbee-dimmer-remote_test_output.xml
Raw output
ERROR
Running test "manufacturer(sengled) specific clster command() should be handled" (9 of 30)
----------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}, {"00000000-1111-2222-3333-000000000003", "init"}, {"00000000-1111-2222-3333-000000000005", "init"}}
TRACE || Setup driver zigbee_dimmer_remote with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee_dimmer_remote
  default_handlers:
    doConfigure:
    init:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Capability handlers:
CapabilityCommandDispatcher: zigbee_dimmer_remote
  default_handlers:
    refresh:
      refresh
    switchLevel:
      setLevel
    switch:
      on
      off
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee_dimmer_remote
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001","00000000-1111-2222-3333-000000000003","00000000-1111-2222-3333-000000000005"]}
INFO  || Starting driver[zigbee_dimmer_remote] with 3 device IDs
DEBUG || Waiting on init messages
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: sengled Model: E1E-G7F
	[1]: server: Basic, PowerConfiguration, Identify, PollControl, 0xFC11 | client: Identify, Groups, OnOff, Level, 0xFC10
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000003
Manufacturer: IKEA of Sweden Model: TRADFRI wireless dimmer
	[1]: server: Basic, PowerConfiguration, Identify, Alarms, Diagnostics, TouchlinkCommissioning
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> received lifecycle event: init
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.sengled
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote
DEBUG || _devices_thread device thread event handled
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000005
Manufacturer: Centralite Systems Model: 3131-G
	[1]: server: Basic, PowerConfiguration, Identify, PollControl, Diagnostics
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.IKEAofSweden
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote
DEBUG || _devices_thread device thread event handled
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.CentraliteSystems
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Switch Level.setLevel
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:40: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...remote/src/test/test_zigbee_battery_accessory_dimmer.lua:736: in main chunk
	[C]: in ?
FAILED
Running test "manufacturer(sengled) specific clster command() should be handled" (9 of 30)
----------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}, {"00000000-1111-2222-3333-000000000003", "init"}, {"00000000-1111-2222-3333-000000000005", "init"}}
TRACE || Setup driver zigbee_dimmer_remote with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee_dimmer_remote
  default_handlers:
    doConfigure:
    init:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Capability handlers:
CapabilityCommandDispatcher: zigbee_dimmer_remote
  default_handlers:
    refresh:
      refresh
    switchLevel:
      setLevel
    switch:
      on
      off
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee_dimmer_remote
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001","00000000-1111-2222-3333-000000000003","00000000-1111-2222-3333-000000000005"]}
INFO  || Starting driver[zigbee_dimmer_remote] with 3 device IDs
DEBUG || Waiting on init messages
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: sengled Model: E1E-G7F
	[1]: server: Basic, PowerConfiguration, Identify, PollControl, 0xFC11 | client: Identify, Groups, OnOff, Level, 0xFC10
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000003
Manufacturer: IKEA of Sweden Model: TRADFRI wireless dimmer
	[1]: server: Basic, PowerConfiguration, Identify, Alarms, Diagnostics, TouchlinkCommissioning
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> received lifecycle event: init
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.sengled
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote
DEBUG || _devices_thread device thread event handled
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000005
Manufacturer: Centralite Systems Model: 3131-G
	[1]: server: Basic, PowerConfiguration, Identify, PollControl, Diagnostics
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.IKEAofSweden
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote
DEBUG || _devices_thread device thread event handled
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.CentraliteSystems
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Switch Level.setLevel
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:40: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...remote/src/test/test_zigbee_battery_accessory_dimmer.lua:736: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

OnOff cluster On command when level is 0 should emit level reset and switch on with error

tests/zigbee-dimmer-remote_test_output.xml
Raw output
ERROR
Running test "OnOff cluster On command when level is 0 should emit level reset and switch on" (26 of 30)
--------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}, {"00000000-1111-2222-3333-000000000003", "init"}, {"00000000-1111-2222-3333-000000000005", "init"}}
TRACE || Setup driver zigbee_dimmer_remote with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee_dimmer_remote
  default_handlers:
    doConfigure:
    init:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Capability handlers:
CapabilityCommandDispatcher: zigbee_dimmer_remote
  default_handlers:
    refresh:
      refresh
    switchLevel:
      setLevel
    switch:
      on
      off
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee_dimmer_remote
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001","00000000-1111-2222-3333-000000000003","00000000-1111-2222-3333-000000000005"]}
INFO  || Starting driver[zigbee_dimmer_remote] with 3 device IDs
DEBUG || Waiting on init messages
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: sengled Model: E1E-G7F
	[1]: server: Basic, PowerConfiguration, Identify, PollControl, 0xFC11 | client: Identify, Groups, OnOff, Level, 0xFC10
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000003
Manufacturer: IKEA of Sweden Model: TRADFRI wireless dimmer
	[1]: server: Basic, PowerConfiguration, Identify, Alarms, Diagnostics, TouchlinkCommissioning
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> received lifecycle event: init
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.sengled
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote
DEBUG || _devices_thread device thread event handled
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000005
Manufacturer: Centralite Systems Model: 3131-G
	[1]: server: Basic, PowerConfiguration, Identify, PollControl, Diagnostics
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.IKEAofSweden
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote
DEBUG || _devices_thread device thread event handled
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.CentraliteSystems
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Switch Level.setLevel
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:40: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...remote/src/test/test_zigbee_battery_accessory_dimmer.lua:736: in main chunk
	[C]: in ?
FAILED
Running test "OnOff cluster On command when level is 0 should emit level reset and switch on" (26 of 30)
--------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}, {"00000000-1111-2222-3333-000000000003", "init"}, {"00000000-1111-2222-3333-000000000005", "init"}}
TRACE || Setup driver zigbee_dimmer_remote with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee_dimmer_remote
  default_handlers:
    doConfigure:
    init:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Capability handlers:
CapabilityCommandDispatcher: zigbee_dimmer_remote
  default_handlers:
    refresh:
      refresh
    switchLevel:
      setLevel
    switch:
      on
      off
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee_dimmer_remote
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001","00000000-1111-2222-3333-000000000003","00000000-1111-2222-3333-000000000005"]}
INFO  || Starting driver[zigbee_dimmer_remote] with 3 device IDs
DEBUG || Waiting on init messages
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: sengled Model: E1E-G7F
	[1]: server: Basic, PowerConfiguration, Identify, PollControl, 0xFC11 | client: Identify, Groups, OnOff, Level, 0xFC10
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000003
Manufacturer: IKEA of Sweden Model: TRADFRI wireless dimmer
	[1]: server: Basic, PowerConfiguration, Identify, Alarms, Diagnostics, TouchlinkCommissioning
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> received lifecycle event: init
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.sengled
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote
DEBUG || _devices_thread device thread event handled
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000005
Manufacturer: Centralite Systems Model: 3131-G
	[1]: server: Basic, PowerConfiguration, Identify, PollControl, Diagnostics
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.IKEAofSweden
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote
DEBUG || _devices_thread device thread event handled
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.CentraliteSystems
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Switch Level.setLevel
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:40: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...remote/src/test/test_zigbee_battery_accessory_dimmer.lua:736: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

MoveToLevelWithOnOff level=0xFF when current level is 0 should emit level reset for IKEA device with error

tests/zigbee-dimmer-remote_test_output.xml
Raw output
ERROR
Running test "MoveToLevelWithOnOff level=0xFF when current level is 0 should emit level reset for IKEA device" (29 of 30)
-------------------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}, {"00000000-1111-2222-3333-000000000003", "init"}, {"00000000-1111-2222-3333-000000000005", "init"}}
TRACE || Setup driver zigbee_dimmer_remote with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee_dimmer_remote
  default_handlers:
    doConfigure:
    init:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Capability handlers:
CapabilityCommandDispatcher: zigbee_dimmer_remote
  default_handlers:
    refresh:
      refresh
    switchLevel:
      setLevel
    switch:
      on
      off
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee_dimmer_remote
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001","00000000-1111-2222-3333-000000000003","00000000-1111-2222-3333-000000000005"]}
INFO  || Starting driver[zigbee_dimmer_remote] with 3 device IDs
DEBUG || Waiting on init messages
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: sengled Model: E1E-G7F
	[1]: server: Basic, PowerConfiguration, Identify, PollControl, 0xFC11 | client: Identify, Groups, OnOff, Level, 0xFC10
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000003
Manufacturer: IKEA of Sweden Model: TRADFRI wireless dimmer
	[1]: server: Basic, PowerConfiguration, Identify, Alarms, Diagnostics, TouchlinkCommissioning
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> received lifecycle event: init
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.sengled
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote
DEBUG || _devices_thread device thread event handled
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000005
Manufacturer: Centralite Systems Model: 3131-G
	[1]: server: Basic, PowerConfiguration, Identify, PollControl, Diagnostics
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.IKEAofSweden
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote
DEBUG || _devices_thread device thread event handled
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.CentraliteSystems
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Switch Level.setLevel
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:40: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...remote/src/test/test_zigbee_battery_accessory_dimmer.lua:736: in main chunk
	[C]: in ?
FAILED
Running test "MoveToLevelWithOnOff level=0xFF when current level is 0 should emit level reset for IKEA device" (29 of 30)
-------------------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}, {"00000000-1111-2222-3333-000000000003", "init"}, {"00000000-1111-2222-3333-000000000005", "init"}}
TRACE || Setup driver zigbee_dimmer_remote with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee_dimmer_remote
  default_handlers:
    doConfigure:
    init:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Capability handlers:
CapabilityCommandDispatcher: zigbee_dimmer_remote
  default_handlers:
    refresh:
      refresh
    switchLevel:
      setLevel
    switch:
      on
      off
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee_dimmer_remote
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001","00000000-1111-2222-3333-000000000003","00000000-1111-2222-3333-000000000005"]}
INFO  || Starting driver[zigbee_dimmer_remote] with 3 device IDs
DEBUG || Waiting on init messages
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: sengled Model: E1E-G7F
	[1]: server: Basic, PowerConfiguration, Identify, PollControl, 0xFC11 | client: Identify, Groups, OnOff, Level, 0xFC10
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000003
Manufacturer: IKEA of Sweden Model: TRADFRI wireless dimmer
	[1]: server: Basic, PowerConfiguration, Identify, Alarms, Diagnostics, TouchlinkCommissioning
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> received lifecycle event: init
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.sengled
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote
DEBUG || _devices_thread device thread event handled
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000005
Manufacturer: Centralite Systems Model: 3131-G
	[1]: server: Basic, PowerConfiguration, Identify, PollControl, Diagnostics
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.IKEAofSweden
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote
DEBUG || _devices_thread device thread event handled
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.CentraliteSystems
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Switch Level.setLevel
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:40: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...remote/src/test/test_zigbee_battery_accessory_dimmer.lua:736: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

Centralite Move command DOWN when level is at DOUBLE_STEP should emit switch off with error

tests/zigbee-dimmer-remote_test_output.xml
Raw output
ERROR
Running test "Centralite Move command DOWN when level is at DOUBLE_STEP should emit switch off" (30 of 30)
----------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}, {"00000000-1111-2222-3333-000000000003", "init"}, {"00000000-1111-2222-3333-000000000005", "init"}}
TRACE || Setup driver zigbee_dimmer_remote with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee_dimmer_remote
  default_handlers:
    doConfigure:
    init:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Capability handlers:
CapabilityCommandDispatcher: zigbee_dimmer_remote
  default_handlers:
    refresh:
      refresh
    switchLevel:
      setLevel
    switch:
      on
      off
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee_dimmer_remote
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001","00000000-1111-2222-3333-000000000003","00000000-1111-2222-3333-000000000005"]}
INFO  || Starting driver[zigbee_dimmer_remote] with 3 device IDs
DEBUG || Waiting on init messages
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: sengled Model: E1E-G7F
	[1]: server: Basic, PowerConfiguration, Identify, PollControl, 0xFC11 | client: Identify, Groups, OnOff, Level, 0xFC10
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000003
Manufacturer: IKEA of Sweden Model: TRADFRI wireless dimmer
	[1]: server: Basic, PowerConfiguration, Identify, Alarms, Diagnostics, TouchlinkCommissioning
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> received lifecycle event: init
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.sengled
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote
DEBUG || _devices_thread device thread event handled
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000005
Manufacturer: Centralite Systems Model: 3131-G
	[1]: server: Basic, PowerConfiguration, Identify, PollControl, Diagnostics
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.IKEAofSweden
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote
DEBUG || _devices_thread device thread event handled
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.CentraliteSystems
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Switch Level.setLevel
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:40: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...remote/src/test/test_zigbee_battery_accessory_dimmer.lua:736: in main chunk
	[C]: in ?
FAILED
Running test "Centralite Move command DOWN when level is at DOUBLE_STEP should emit switch off" (30 of 30)
----------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}, {"00000000-1111-2222-3333-000000000003", "init"}, {"00000000-1111-2222-3333-000000000005", "init"}}
TRACE || Setup driver zigbee_dimmer_remote with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee_dimmer_remote
  default_handlers:
    doConfigure:
    init:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Capability handlers:
CapabilityCommandDispatcher: zigbee_dimmer_remote
  default_handlers:
    refresh:
      refresh
    switchLevel:
      setLevel
    switch:
      on
      off
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee_dimmer_remote with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee_dimmer_remote
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.IKEAofSweden
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.sengled
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001","00000000-1111-2222-3333-000000000003","00000000-1111-2222-3333-000000000005"]}
INFO  || Starting driver[zigbee_dimmer_remote] with 3 device IDs
DEBUG || Waiting on init messages
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: sengled Model: E1E-G7F
	[1]: server: Basic, PowerConfiguration, Identify, PollControl, 0xFC11 | client: Identify, Groups, OnOff, Level, 0xFC10
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000003
Manufacturer: IKEA of Sweden Model: TRADFRI wireless dimmer
	[1]: server: Basic, PowerConfiguration, Identify, Alarms, Diagnostics, TouchlinkCommissioning
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> received lifecycle event: init
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.sengled
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote
DEBUG || _devices_thread device thread event handled
WARN  || Device does not support cluster 0x0006 not adding configured attribute
WARN  || Device does not support cluster 0x0008 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000005
Manufacturer: Centralite Systems Model: 3131-G
	[1]: server: Basic, PowerConfiguration, Identify, PollControl, Diagnostics
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.IKEAofSweden
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote
DEBUG || _devices_thread device thread event handled
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> Lazy loaded driver into dispatcher: zigbee-battery-accessory-dimmer.CentraliteSystems
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee_dimmer_remote -> zigbee-battery-accessory-dimmer -> zigbee-battery-accessory-dimmer.CentraliteSystems
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Switch Level.setLevel
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:40: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...remote/src/test/test_zigbee_battery_accessory_dimmer.lua:736: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

Capability thermostatMode 'off' should send AC off code and emit event with error

tests/aqara-bath-heater_test_output.xml
Raw output
ERROR
Running test "Capability thermostatMode 'off' should send AC off code and emit event" (1 of 33)
-----------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Mode.setThermostatMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED
Running test "Capability thermostatMode 'off' should send AC off code and emit event" (1 of 33)
-----------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Mode.setThermostatMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

Capability thermostatMode 'heat' should send AC code and restore defaults with error

tests/aqara-bath-heater_test_output.xml
Raw output
ERROR
Running test "Capability thermostatMode 'heat' should send AC code and restore defaults" (2 of 33)
--------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Mode.setThermostatMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED
Running test "Capability thermostatMode 'heat' should send AC code and restore defaults" (2 of 33)
--------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Mode.setThermostatMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

Capability thermostatMode 'cool' should send AC code (mode=4) with error

tests/aqara-bath-heater_test_output.xml
Raw output
ERROR
Running test "Capability thermostatMode 'cool' should send AC code (mode=4)" (3 of 33)
--------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Mode.setThermostatMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED
Running test "Capability thermostatMode 'cool' should send AC code (mode=4)" (3 of 33)
--------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Mode.setThermostatMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

Capability thermostatMode 'dryair' should send AC code (mode=3) with error

tests/aqara-bath-heater_test_output.xml
Raw output
ERROR
Running test "Capability thermostatMode 'dryair' should send AC code (mode=3)" (4 of 33)
----------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Mode.setThermostatMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED
Running test "Capability thermostatMode 'dryair' should send AC code (mode=3)" (4 of 33)
----------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Mode.setThermostatMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

Capability thermostatMode 'fanonly' should send AC code (mode=5) and restore only fan with error

tests/aqara-bath-heater_test_output.xml
Raw output
ERROR
Running test "Capability thermostatMode 'fanonly' should send AC code (mode=5) and restore only fan" (5 of 33)
--------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Mode.setThermostatMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED
Running test "Capability thermostatMode 'fanonly' should send AC code (mode=5) and restore only fan" (5 of 33)
--------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Mode.setThermostatMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

Capability heatingSetpoint 28 in non-heat mode produces no observable output with error

tests/aqara-bath-heater_test_output.xml
Raw output
ERROR
Running test "Capability heatingSetpoint 28 in non-heat mode produces no observable output" (6 of 33)
-----------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Heating Setpoint.setHeatingSetpoint
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED
Running test "Capability heatingSetpoint 28 in non-heat mode produces no observable output" (6 of 33)
-----------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Heating Setpoint.setHeatingSetpoint
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

Capability heatingSetpoint in heat mode should send AC code with setpoint with error

tests/aqara-bath-heater_test_output.xml
Raw output
ERROR
Running test "Capability heatingSetpoint in heat mode should send AC code with setpoint" (7 of 33)
--------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Heating Setpoint.setHeatingSetpoint
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED
Running test "Capability heatingSetpoint in heat mode should send AC code with setpoint" (7 of 33)
--------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Heating Setpoint.setHeatingSetpoint
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

Capability fanOscillationMode 'swing' sends AC code with swing bits=0 with error

tests/aqara-bath-heater_test_output.xml
Raw output
ERROR
Running test "Capability fanOscillationMode 'swing' sends AC code with swing bits=0" (8 of 33)
----------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Fan Oscillation Mode.setFanOscillationMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED
Running test "Capability fanOscillationMode 'swing' sends AC code with swing bits=0" (8 of 33)
----------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Fan Oscillation Mode.setFanOscillationMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

Capability fanOscillationMode 'fixed' sends AC code with swing bits=1 with error

tests/aqara-bath-heater_test_output.xml
Raw output
ERROR
Running test "Capability fanOscillationMode 'fixed' sends AC code with swing bits=1" (9 of 33)
----------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Fan Oscillation Mode.setFanOscillationMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED
Running test "Capability fanOscillationMode 'fixed' sends AC code with swing bits=1" (9 of 33)
----------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Fan Oscillation Mode.setFanOscillationMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

Capability fanMode 'low' sends AC code with fan bits=0 with error

tests/aqara-bath-heater_test_output.xml
Raw output
ERROR
Running test "Capability fanMode 'low' sends AC code with fan bits=0" (10 of 33)
--------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Fan Mode.setFanMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED
Running test "Capability fanMode 'low' sends AC code with fan bits=0" (10 of 33)
--------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Fan Mode.setFanMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

Capability fanMode 'medium' sends AC code with fan bits=1 with error

tests/aqara-bath-heater_test_output.xml
Raw output
ERROR
Running test "Capability fanMode 'medium' sends AC code with fan bits=1" (11 of 33)
-----------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Fan Mode.setFanMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED
Running test "Capability fanMode 'medium' sends AC code with fan bits=1" (11 of 33)
-----------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Fan Mode.setFanMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

Capability fanMode 'high' sends AC code with fan bits=2 with error

tests/aqara-bath-heater_test_output.xml
Raw output
ERROR
Running test "Capability fanMode 'high' sends AC code with fan bits=2" (12 of 33)
---------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Fan Mode.setFanMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED
Running test "Capability fanMode 'high' sends AC code with fan bits=2" (12 of 33)
---------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Fan Mode.setFanMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

setHeatingSetpoint while mode is 'off' produces no observable output with error

tests/aqara-bath-heater_test_output.xml
Raw output
ERROR
Running test "setHeatingSetpoint while mode is 'off' produces no observable output" (31 of 33)
----------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Heating Setpoint.setHeatingSetpoint
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED
Running test "setHeatingSetpoint while mode is 'off' produces no observable output" (31 of 33)
----------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Heating Setpoint.setHeatingSetpoint
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

setFanOscillationMode while mode is 'fanonly' still sends AC code with error

tests/aqara-bath-heater_test_output.xml
Raw output
ERROR
Running test "setFanOscillationMode while mode is 'fanonly' still sends AC code" (32 of 33)
-------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Fan Oscillation Mode.setFanOscillationMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED
Running test "setFanOscillationMode while mode is 'fanonly' still sends AC code" (32 of 33)
-------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Fan Oscillation Mode.setFanOscillationMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

setThermostatMode heat should restore saved swing/fan from mode_state with error

tests/aqara-bath-heater_test_output.xml
Raw output
ERROR
Running test "setThermostatMode heat should restore saved swing/fan from mode_state" (33 of 33)
-----------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Mode.setThermostatMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED
Running test "setThermostatMode heat should restore saved swing/fan from mode_state" (33 of 33)
-----------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver aqara-bathroom-heater-t1 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    doConfigure:
    infoChanged:
    driverSwitched:
    added:
    init:
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Capability handlers:
CapabilityCommandDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    fanMode:
      setFanMode
    switch:
      off
      on
    fanOscillationMode:
      setFanOscillationMode
    refresh:
      refresh
    colorTemperature:
      setColorTemperature
    thermostatMode:
      setThermostatMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    switchLevel:
      setLevel
  child_dispatchers:

TRACE || Setup driver aqara-bathroom-heater-t1 with Zigbee handlers:
ZigbeeMessageDispatcher: aqara-bathroom-heater-t1
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 64704, attribute: 591
      ZclClusterAttributeValueHandler: cluster: 513, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16396
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 16395
      ZclClusterAttributeValueHandler: cluster: 768, attribute: 7
      ZclClusterAttributeValueHandler: cluster: 6, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 8, attribute: 0
    global:
      ZclGlobalCommandHandler: cluster: 6, command: 11
    cluster:
    zdo:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[aqara-bathroom-heater-t1] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Aqara Model: lumi.bhf_light.acn001
	[1]: server: OnOff, Level, ColorControl, 0xFCC0
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in aqara-bathroom-heater-t1
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatMode","attribute_id":"supportedThermostatModes","state":{"value":["off","heat","dryair","cool","fanonly"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanOscillationMode","attribute_id":"supportedFanOscillationModes","state":{"value":["swing","fixed"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"fanMode","attribute_id":"supportedFanModes","state":{"value":["low","medium","high"]},"component_id":"main","visibility":{"displayed":false}}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"thermostatHeatingSetpoint","attribute_id":"heatingSetpointRange","state":{"value":{"minimum":16,"step":1,"maximum":45},"unit":"C"},"component_id":"main"}
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: Level >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0000 > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x0001, dest_endpoint: 0x01, profile: 0x0104, cluster: ColorControl >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x00 >, < ReadAttribute || AttributeId: 0x0007 > > >
DEBUG || aqara-bathroom-heater-t1 device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Mode.setThermostatMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:538: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...ra/aqara-bath-heater/src/test/test_aqara_bath_heater.lua:854: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

Setting the heating setpoint to a Fahrenheit value should send the appropriate commands with error

tests/matter-thermostat_test_output.xml
Raw output
ERROR
Running test "Setting the heating setpoint to a Fahrenheit value should send the appropriate commands" (1 of 1)
---------------------------------------------------------------------------------------------------------------
TRACE || Setup driver matter-thermostat with lifecycle handlers:
DeviceLifecycleDispatcher: matter-thermostat
  default_handlers:
    infoChanged:
    doConfigure:
    driverSwitched:
    init:
    added:
    removed:
  child_dispatchers:

TRACE || Setup driver matter-thermostat with Capability handlers:
CapabilityCommandDispatcher: matter-thermostat
  default_handlers:
    airPurifierFanMode:
      setAirPurifierFanMode
    thermostatFanMode:
      fanAuto
      setThermostatFanMode
      fanOn
    mode:
      setMode
    airConditionerFanMode:
      setFanMode
    refresh:
      refresh
    windMode:
      setWindMode
    thermostatMode:
      setThermostatMode
      cool
      off
      emergencyHeat
      auto
      heat
    fanOscillationMode:
      setFanOscillationMode
    switch:
      off
      on
    filterState:
      resetFilter
    fanSpeedPercent:
      setPercent
    thermostatCoolingSetpoint:
      setCoolingSetpoint
    fanMode:
      setFanMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
  child_dispatchers:

TRACE || Setup driver matter-thermostat with Matter handlers:
MatterMessageDispatcher: matter-thermostat
  default_handlers:
    attr:
      AttributeReportHandler: cluster: 513, attribute: 0
      AttributeReportHandler: cluster: 513, attribute: 17
      AttributeReportHandler: cluster: 513, attribute: 18
      AttributeReportHandler: cluster: 513, attribute: 3
      AttributeReportHandler: cluster: 513, attribute: 4
      AttributeReportHandler: cluster: 513, attribute: 5
      AttributeReportHandler: cluster: 513, attribute: 6
      AttributeReportHandler: cluster: 513, attribute: 25
      AttributeReportHandler: cluster: 513, attribute: 65531
      AttributeReportHandler: cluster: 513, attribute: 28
      AttributeReportHandler: cluster: 513, attribute: 27
      AttributeReportHandler: cluster: 513, attribute: 41
      AttributeReportHandler: cluster: 514, attribute: 1
      AttributeReportHandler: cluster: 514, attribute: 0
      AttributeReportHandler: cluster: 514, attribute: 9
      AttributeReportHandler: cluster: 514, attribute: 10
      AttributeReportHandler: cluster: 514, attribute: 3
      AttributeReportHandler: cluster: 514, attribute: 8
      AttributeReportHandler: cluster: 514, attribute: 7
      AttributeReportHandler: cluster: 1029, attribute: 0
      AttributeReportHandler: cluster: 6, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 10
      AttributeReportHandler: cluster: 1066, attribute: 8
      AttributeReportHandler: cluster: 1067, attribute: 0
      AttributeReportHandler: cluster: 1067, attribute: 10
      AttributeReportHandler: cluster: 1067, attribute: 8
      AttributeReportHandler: cluster: 1036, attribute: 0
      AttributeReportHandler: cluster: 1036, attribute: 10
      AttributeReportHandler: cluster: 1036, attribute: 8
      AttributeReportHandler: cluster: 1037, attribute: 0
      AttributeReportHandler: cluster: 1037, attribute: 10
      AttributeReportHandler: cluster: 1037, attribute: 8
      AttributeReportHandler: cluster: 1070, attribute: 0
      AttributeReportHandler: cluster: 1070, attribute: 10
      AttributeReportHandler: cluster: 1070, attribute: 8
      AttributeReportHandler: cluster: 47, attribute: 12
      AttributeReportHandler: cluster: 47, attribute: 14
      AttributeReportHandler: cluster: 47, attribute: 65531
      AttributeReportHandler: cluster: 144, attribute: 8
      AttributeReportHandler: cluster: 145, attribute: 1
      AttributeReportHandler: cluster: 145, attribute: 3
      AttributeReportHandler: cluster: 114, attribute: 2
      AttributeReportHandler: cluster: 114, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 10
      AttributeReportHandler: cluster: 1043, attribute: 8
      AttributeReportHandler: cluster: 1045, attribute: 0
      AttributeReportHandler: cluster: 1045, attribute: 10
      AttributeReportHandler: cluster: 1045, attribute: 8
      AttributeReportHandler: cluster: 113, attribute: 2
      AttributeReportHandler: cluster: 113, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 10
      AttributeReportHandler: cluster: 1069, attribute: 8
      AttributeReportHandler: cluster: 91, attribute: 0
      AttributeReportHandler: cluster: 1026, attribute: 1
      AttributeReportHandler: cluster: 1026, attribute: 2
      AttributeReportHandler: cluster: 1026, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 10
      AttributeReportHandler: cluster: 1068, attribute: 8
      AttributeReportHandler: cluster: 158, attribute: 1
      AttributeReportHandler: cluster: 158, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 10
      AttributeReportHandler: cluster: 1071, attribute: 8
    event:
    cmd_response:
  child_dispatchers:

INFO  || Starting matter-thermostat driver, with dispatcher: MatterMessageDispatcher: matter-thermostat
  default_handlers:
    attr:
      AttributeReportHandler: cluster: 513, attribute: 0
      AttributeReportHandler: cluster: 513, attribute: 17
      AttributeReportHandler: cluster: 513, attribute: 18
      AttributeReportHandler: cluster: 513, attribute: 3
      AttributeReportHandler: cluster: 513, attribute: 4
      AttributeReportHandler: cluster: 513, attribute: 5
      AttributeReportHandler: cluster: 513, attribute: 6
      AttributeReportHandler: cluster: 513, attribute: 25
      AttributeReportHandler: cluster: 513, attribute: 65531
      AttributeReportHandler: cluster: 513, attribute: 28
      AttributeReportHandler: cluster: 513, attribute: 27
      AttributeReportHandler: cluster: 513, attribute: 41
      AttributeReportHandler: cluster: 514, attribute: 1
      AttributeReportHandler: cluster: 514, attribute: 0
      AttributeReportHandler: cluster: 514, attribute: 9
      AttributeReportHandler: cluster: 514, attribute: 10
      AttributeReportHandler: cluster: 514, attribute: 3
      AttributeReportHandler: cluster: 514, attribute: 8
      AttributeReportHandler: cluster: 514, attribute: 7
      AttributeReportHandler: cluster: 1029, attribute: 0
      AttributeReportHandler: cluster: 6, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 10
      AttributeReportHandler: cluster: 1066, attribute: 8
      AttributeReportHandler: cluster: 1067, attribute: 0
      AttributeReportHandler: cluster: 1067, attribute: 10
      AttributeReportHandler: cluster: 1067, attribute: 8
      AttributeReportHandler: cluster: 1036, attribute: 0
      AttributeReportHandler: cluster: 1036, attribute: 10
      AttributeReportHandler: cluster: 1036, attribute: 8
      AttributeReportHandler: cluster: 1037, attribute: 0
      AttributeReportHandler: cluster: 1037, attribute: 10
      AttributeReportHandler: cluster: 1037, attribute: 8
      AttributeReportHandler: cluster: 1070, attribute: 0
      AttributeReportHandler: cluster: 1070, attribute: 10
      AttributeReportHandler: cluster: 1070, attribute: 8
      AttributeReportHandler: cluster: 47, attribute: 12
      AttributeReportHandler: cluster: 47, attribute: 14
      AttributeReportHandler: cluster: 47, attribute: 65531
      AttributeReportHandler: cluster: 144, attribute: 8
      AttributeReportHandler: cluster: 145, attribute: 1
      AttributeReportHandler: cluster: 145, attribute: 3
      AttributeReportHandler: cluster: 114, attribute: 2
      AttributeReportHandler: cluster: 114, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 10
      AttributeReportHandler: cluster: 1043, attribute: 8
      AttributeReportHandler: cluster: 1045, attribute: 0
      AttributeReportHandler: cluster: 1045, attribute: 10
      AttributeReportHandler: cluster: 1045, attribute: 8
      AttributeReportHandler: cluster: 113, attribute: 2
      AttributeReportHandler: cluster: 113, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 10
      AttributeReportHandler: cluster: 1069, attribute: 8
      AttributeReportHandler: cluster: 91, attribute: 0
      AttributeReportHandler: cluster: 1026, attribute: 1
      AttributeReportHandler: cluster: 1026, attribute: 2
      AttributeReportHandler: cluster: 1026, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 10
      AttributeReportHandler: cluster: 1068, attribute: 8
      AttributeReportHandler: cluster: 158, attribute: 1
      AttributeReportHandler: cluster: 158, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 10
      AttributeReportHandler: cluster: 1071, attribute: 8
    event:
    cmd_response:
  child_dispatchers:

DEBUG || Found DeviceLifecycleDispatcher handler in matter-thermostat
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: Thermostat, attribute: LocalTemperature>, <InteractionInfoBlock || cluster: Thermostat, attribute: OccupiedCoolingSetpoint>, <InteractionInfoBlock || cluster: Thermostat, attribute: OccupiedHeatingSetpoint>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMinHeatSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMaxHeatSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMinCoolSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMaxCoolSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: ThermostatRunningState>, <InteractionInfoBlock || cluster: Thermostat, attribute: ControlSequenceOfOperation>, <InteractionInfoBlock || cluster: Thermostat, attribute: SystemMode>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MinMeasuredValue>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MaxMeasuredValue>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MeasuredValue>, <InteractionInfoBlock || cluster: RelativeHumidityMeasurement, attribute: MeasuredValue>, <InteractionInfoBlock || cluster: FanControl, attribute: FanModeSequence>, <InteractionInfoBlock || cluster: FanControl, attribute: FanMode>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["idle","heating","cooling"]},"visibility":{"displayed":false},"attribute_id":"supportedThermostatOperatingStates","capability_id":"thermostatOperatingState","component_id":"main"}
DEBUG || matter-thermostat device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Heating Setpoint.setHeatingSetpoint
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:518: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...tter-thermostat/src/test/test_matter_thermostat_rpc5.lua:144: in main chunk
	[C]: in ?
FAILED
Running test "Setting the heating setpoint to a Fahrenheit value should send the appropriate commands" (1 of 1)
---------------------------------------------------------------------------------------------------------------
TRACE || Setup driver matter-thermostat with lifecycle handlers:
DeviceLifecycleDispatcher: matter-thermostat
  default_handlers:
    infoChanged:
    doConfigure:
    driverSwitched:
    init:
    added:
    removed:
  child_dispatchers:

TRACE || Setup driver matter-thermostat with Capability handlers:
CapabilityCommandDispatcher: matter-thermostat
  default_handlers:
    airPurifierFanMode:
      setAirPurifierFanMode
    thermostatFanMode:
      fanAuto
      setThermostatFanMode
      fanOn
    mode:
      setMode
    airConditionerFanMode:
      setFanMode
    refresh:
      refresh
    windMode:
      setWindMode
    thermostatMode:
      setThermostatMode
      cool
      off
      emergencyHeat
      auto
      heat
    fanOscillationMode:
      setFanOscillationMode
    switch:
      off
      on
    filterState:
      resetFilter
    fanSpeedPercent:
      setPercent
    thermostatCoolingSetpoint:
      setCoolingSetpoint
    fanMode:
      setFanMode
    thermostatHeatingSetpoint:
      setHeatingSetpoint
  child_dispatchers:

TRACE || Setup driver matter-thermostat with Matter handlers:
MatterMessageDispatcher: matter-thermostat
  default_handlers:
    attr:
      AttributeReportHandler: cluster: 513, attribute: 0
      AttributeReportHandler: cluster: 513, attribute: 17
      AttributeReportHandler: cluster: 513, attribute: 18
      AttributeReportHandler: cluster: 513, attribute: 3
      AttributeReportHandler: cluster: 513, attribute: 4
      AttributeReportHandler: cluster: 513, attribute: 5
      AttributeReportHandler: cluster: 513, attribute: 6
      AttributeReportHandler: cluster: 513, attribute: 25
      AttributeReportHandler: cluster: 513, attribute: 65531
      AttributeReportHandler: cluster: 513, attribute: 28
      AttributeReportHandler: cluster: 513, attribute: 27
      AttributeReportHandler: cluster: 513, attribute: 41
      AttributeReportHandler: cluster: 514, attribute: 1
      AttributeReportHandler: cluster: 514, attribute: 0
      AttributeReportHandler: cluster: 514, attribute: 9
      AttributeReportHandler: cluster: 514, attribute: 10
      AttributeReportHandler: cluster: 514, attribute: 3
      AttributeReportHandler: cluster: 514, attribute: 8
      AttributeReportHandler: cluster: 514, attribute: 7
      AttributeReportHandler: cluster: 1029, attribute: 0
      AttributeReportHandler: cluster: 6, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 10
      AttributeReportHandler: cluster: 1066, attribute: 8
      AttributeReportHandler: cluster: 1067, attribute: 0
      AttributeReportHandler: cluster: 1067, attribute: 10
      AttributeReportHandler: cluster: 1067, attribute: 8
      AttributeReportHandler: cluster: 1036, attribute: 0
      AttributeReportHandler: cluster: 1036, attribute: 10
      AttributeReportHandler: cluster: 1036, attribute: 8
      AttributeReportHandler: cluster: 1037, attribute: 0
      AttributeReportHandler: cluster: 1037, attribute: 10
      AttributeReportHandler: cluster: 1037, attribute: 8
      AttributeReportHandler: cluster: 1070, attribute: 0
      AttributeReportHandler: cluster: 1070, attribute: 10
      AttributeReportHandler: cluster: 1070, attribute: 8
      AttributeReportHandler: cluster: 47, attribute: 12
      AttributeReportHandler: cluster: 47, attribute: 14
      AttributeReportHandler: cluster: 47, attribute: 65531
      AttributeReportHandler: cluster: 144, attribute: 8
      AttributeReportHandler: cluster: 145, attribute: 1
      AttributeReportHandler: cluster: 145, attribute: 3
      AttributeReportHandler: cluster: 114, attribute: 2
      AttributeReportHandler: cluster: 114, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 10
      AttributeReportHandler: cluster: 1043, attribute: 8
      AttributeReportHandler: cluster: 1045, attribute: 0
      AttributeReportHandler: cluster: 1045, attribute: 10
      AttributeReportHandler: cluster: 1045, attribute: 8
      AttributeReportHandler: cluster: 113, attribute: 2
      AttributeReportHandler: cluster: 113, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 10
      AttributeReportHandler: cluster: 1069, attribute: 8
      AttributeReportHandler: cluster: 91, attribute: 0
      AttributeReportHandler: cluster: 1026, attribute: 1
      AttributeReportHandler: cluster: 1026, attribute: 2
      AttributeReportHandler: cluster: 1026, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 10
      AttributeReportHandler: cluster: 1068, attribute: 8
      AttributeReportHandler: cluster: 158, attribute: 1
      AttributeReportHandler: cluster: 158, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 10
      AttributeReportHandler: cluster: 1071, attribute: 8
    event:
    cmd_response:
  child_dispatchers:

INFO  || Starting matter-thermostat driver, with dispatcher: MatterMessageDispatcher: matter-thermostat
  default_handlers:
    attr:
      AttributeReportHandler: cluster: 513, attribute: 0
      AttributeReportHandler: cluster: 513, attribute: 17
      AttributeReportHandler: cluster: 513, attribute: 18
      AttributeReportHandler: cluster: 513, attribute: 3
      AttributeReportHandler: cluster: 513, attribute: 4
      AttributeReportHandler: cluster: 513, attribute: 5
      AttributeReportHandler: cluster: 513, attribute: 6
      AttributeReportHandler: cluster: 513, attribute: 25
      AttributeReportHandler: cluster: 513, attribute: 65531
      AttributeReportHandler: cluster: 513, attribute: 28
      AttributeReportHandler: cluster: 513, attribute: 27
      AttributeReportHandler: cluster: 513, attribute: 41
      AttributeReportHandler: cluster: 514, attribute: 1
      AttributeReportHandler: cluster: 514, attribute: 0
      AttributeReportHandler: cluster: 514, attribute: 9
      AttributeReportHandler: cluster: 514, attribute: 10
      AttributeReportHandler: cluster: 514, attribute: 3
      AttributeReportHandler: cluster: 514, attribute: 8
      AttributeReportHandler: cluster: 514, attribute: 7
      AttributeReportHandler: cluster: 1029, attribute: 0
      AttributeReportHandler: cluster: 6, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 10
      AttributeReportHandler: cluster: 1066, attribute: 8
      AttributeReportHandler: cluster: 1067, attribute: 0
      AttributeReportHandler: cluster: 1067, attribute: 10
      AttributeReportHandler: cluster: 1067, attribute: 8
      AttributeReportHandler: cluster: 1036, attribute: 0
      AttributeReportHandler: cluster: 1036, attribute: 10
      AttributeReportHandler: cluster: 1036, attribute: 8
      AttributeReportHandler: cluster: 1037, attribute: 0
      AttributeReportHandler: cluster: 1037, attribute: 10
      AttributeReportHandler: cluster: 1037, attribute: 8
      AttributeReportHandler: cluster: 1070, attribute: 0
      AttributeReportHandler: cluster: 1070, attribute: 10
      AttributeReportHandler: cluster: 1070, attribute: 8
      AttributeReportHandler: cluster: 47, attribute: 12
      AttributeReportHandler: cluster: 47, attribute: 14
      AttributeReportHandler: cluster: 47, attribute: 65531
      AttributeReportHandler: cluster: 144, attribute: 8
      AttributeReportHandler: cluster: 145, attribute: 1
      AttributeReportHandler: cluster: 145, attribute: 3
      AttributeReportHandler: cluster: 114, attribute: 2
      AttributeReportHandler: cluster: 114, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 10
      AttributeReportHandler: cluster: 1043, attribute: 8
      AttributeReportHandler: cluster: 1045, attribute: 0
      AttributeReportHandler: cluster: 1045, attribute: 10
      AttributeReportHandler: cluster: 1045, attribute: 8
      AttributeReportHandler: cluster: 113, attribute: 2
      AttributeReportHandler: cluster: 113, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 10
      AttributeReportHandler: cluster: 1069, attribute: 8
      AttributeReportHandler: cluster: 91, attribute: 0
      AttributeReportHandler: cluster: 1026, attribute: 1
      AttributeReportHandler: cluster: 1026, attribute: 2
      AttributeReportHandler: cluster: 1026, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 10
      AttributeReportHandler: cluster: 1068, attribute: 8
      AttributeReportHandler: cluster: 158, attribute: 1
      AttributeReportHandler: cluster: 158, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 10
      AttributeReportHandler: cluster: 1071, attribute: 8
    event:
    cmd_response:
  child_dispatchers:

DEBUG || Found DeviceLifecycleDispatcher handler in matter-thermostat
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: Thermostat, attribute: LocalTemperature>, <InteractionInfoBlock || cluster: Thermostat, attribute: OccupiedCoolingSetpoint>, <InteractionInfoBlock || cluster: Thermostat, attribute: OccupiedHeatingSetpoint>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMinHeatSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMaxHeatSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMinCoolSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMaxCoolSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: ThermostatRunningState>, <InteractionInfoBlock || cluster: Thermostat, attribute: ControlSequenceOfOperation>, <InteractionInfoBlock || cluster: Thermostat, attribute: SystemMode>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MinMeasuredValue>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MaxMeasuredValue>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MeasuredValue>, <InteractionInfoBlock || cluster: RelativeHumidityMeasurement, attribute: MeasuredValue>, <InteractionInfoBlock || cluster: FanControl, attribute: FanModeSequence>, <InteractionInfoBlock || cluster: FanControl, attribute: FanMode>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"state":{"value":["idle","heating","cooling"]},"visibility":{"displayed":false},"attribute_id":"supportedThermostatOperatingStates","capability_id":"thermostatOperatingState","component_id":"main"}
DEBUG || matter-thermostat device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Heating Setpoint.setHeatingSetpoint
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:518: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...tter-thermostat/src/test/test_matter_thermostat_rpc5.lua:144: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 2 runs with error: Test fan speed commands

tests/matter-thermostat_test_output.xml
Raw output
ERROR
Running test "Test fan speed commands" (3 of 8)
-----------------------------------------------
TRACE || Setup driver matter-thermostat with lifecycle handlers:
DeviceLifecycleDispatcher: matter-thermostat
  default_handlers:
    doConfigure:
    added:
    removed:
    infoChanged:
    driverSwitched:
    init:
  child_dispatchers:

TRACE || Setup driver matter-thermostat with Capability handlers:
CapabilityCommandDispatcher: matter-thermostat
  default_handlers:
    windMode:
      setWindMode
    thermostatMode:
      auto
      heat
      cool
      emergencyHeat
      off
      setThermostatMode
    fanMode:
      setFanMode
    filterState:
      resetFilter
    thermostatFanMode:
      fanAuto
      setThermostatFanMode
      fanOn
    refresh:
      refresh
    airPurifierFanMode:
      setAirPurifierFanMode
    airConditionerFanMode:
      setFanMode
    fanSpeedPercent:
      setPercent
    mode:
      setMode
    switch:
      off
      on
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    fanOscillationMode:
      setFanOscillationMode
    thermostatCoolingSetpoint:
      setCoolingSetpoint
  child_dispatchers:

TRACE || Setup driver matter-thermostat with Matter handlers:
MatterMessageDispatcher: matter-thermostat
  default_handlers:
    attr:
      AttributeReportHandler: cluster: 513, attribute: 0
      AttributeReportHandler: cluster: 513, attribute: 17
      AttributeReportHandler: cluster: 513, attribute: 18
      AttributeReportHandler: cluster: 513, attribute: 3
      AttributeReportHandler: cluster: 513, attribute: 4
      AttributeReportHandler: cluster: 513, attribute: 5
      AttributeReportHandler: cluster: 513, attribute: 6
      AttributeReportHandler: cluster: 513, attribute: 25
      AttributeReportHandler: cluster: 513, attribute: 65531
      AttributeReportHandler: cluster: 513, attribute: 28
      AttributeReportHandler: cluster: 513, attribute: 27
      AttributeReportHandler: cluster: 513, attribute: 41
      AttributeReportHandler: cluster: 514, attribute: 1
      AttributeReportHandler: cluster: 514, attribute: 0
      AttributeReportHandler: cluster: 514, attribute: 9
      AttributeReportHandler: cluster: 514, attribute: 10
      AttributeReportHandler: cluster: 514, attribute: 3
      AttributeReportHandler: cluster: 514, attribute: 8
      AttributeReportHandler: cluster: 514, attribute: 7
      AttributeReportHandler: cluster: 1029, attribute: 0
      AttributeReportHandler: cluster: 6, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 10
      AttributeReportHandler: cluster: 1066, attribute: 8
      AttributeReportHandler: cluster: 1067, attribute: 0
      AttributeReportHandler: cluster: 1067, attribute: 10
      AttributeReportHandler: cluster: 1067, attribute: 8
      AttributeReportHandler: cluster: 1036, attribute: 0
      AttributeReportHandler: cluster: 1036, attribute: 10
      AttributeReportHandler: cluster: 1036, attribute: 8
      AttributeReportHandler: cluster: 1037, attribute: 0
      AttributeReportHandler: cluster: 1037, attribute: 10
      AttributeReportHandler: cluster: 1037, attribute: 8
      AttributeReportHandler: cluster: 1070, attribute: 0
      AttributeReportHandler: cluster: 1070, attribute: 10
      AttributeReportHandler: cluster: 1070, attribute: 8
      AttributeReportHandler: cluster: 47, attribute: 12
      AttributeReportHandler: cluster: 47, attribute: 14
      AttributeReportHandler: cluster: 47, attribute: 65531
      AttributeReportHandler: cluster: 144, attribute: 8
      AttributeReportHandler: cluster: 145, attribute: 1
      AttributeReportHandler: cluster: 145, attribute: 3
      AttributeReportHandler: cluster: 114, attribute: 2
      AttributeReportHandler: cluster: 114, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 10
      AttributeReportHandler: cluster: 1043, attribute: 8
      AttributeReportHandler: cluster: 1045, attribute: 0
      AttributeReportHandler: cluster: 1045, attribute: 10
      AttributeReportHandler: cluster: 1045, attribute: 8
      AttributeReportHandler: cluster: 113, attribute: 2
      AttributeReportHandler: cluster: 113, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 10
      AttributeReportHandler: cluster: 1069, attribute: 8
      AttributeReportHandler: cluster: 91, attribute: 0
      AttributeReportHandler: cluster: 1026, attribute: 1
      AttributeReportHandler: cluster: 1026, attribute: 2
      AttributeReportHandler: cluster: 1026, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 10
      AttributeReportHandler: cluster: 1068, attribute: 8
      AttributeReportHandler: cluster: 158, attribute: 1
      AttributeReportHandler: cluster: 158, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 10
      AttributeReportHandler: cluster: 1071, attribute: 8
    event:
    cmd_response:
  child_dispatchers:

INFO  || Starting matter-thermostat driver, with dispatcher: MatterMessageDispatcher: matter-thermostat
  default_handlers:
    attr:
      AttributeReportHandler: cluster: 513, attribute: 0
      AttributeReportHandler: cluster: 513, attribute: 17
      AttributeReportHandler: cluster: 513, attribute: 18
      AttributeReportHandler: cluster: 513, attribute: 3
      AttributeReportHandler: cluster: 513, attribute: 4
      AttributeReportHandler: cluster: 513, attribute: 5
      AttributeReportHandler: cluster: 513, attribute: 6
      AttributeReportHandler: cluster: 513, attribute: 25
      AttributeReportHandler: cluster: 513, attribute: 65531
      AttributeReportHandler: cluster: 513, attribute: 28
      AttributeReportHandler: cluster: 513, attribute: 27
      AttributeReportHandler: cluster: 513, attribute: 41
      AttributeReportHandler: cluster: 514, attribute: 1
      AttributeReportHandler: cluster: 514, attribute: 0
      AttributeReportHandler: cluster: 514, attribute: 9
      AttributeReportHandler: cluster: 514, attribute: 10
      AttributeReportHandler: cluster: 514, attribute: 3
      AttributeReportHandler: cluster: 514, attribute: 8
      AttributeReportHandler: cluster: 514, attribute: 7
      AttributeReportHandler: cluster: 1029, attribute: 0
      AttributeReportHandler: cluster: 6, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 10
      AttributeReportHandler: cluster: 1066, attribute: 8
      AttributeReportHandler: cluster: 1067, attribute: 0
      AttributeReportHandler: cluster: 1067, attribute: 10
      AttributeReportHandler: cluster: 1067, attribute: 8
      AttributeReportHandler: cluster: 1036, attribute: 0
      AttributeReportHandler: cluster: 1036, attribute: 10
      AttributeReportHandler: cluster: 1036, attribute: 8
      AttributeReportHandler: cluster: 1037, attribute: 0
      AttributeReportHandler: cluster: 1037, attribute: 10
      AttributeReportHandler: cluster: 1037, attribute: 8
      AttributeReportHandler: cluster: 1070, attribute: 0
      AttributeReportHandler: cluster: 1070, attribute: 10
      AttributeReportHandler: cluster: 1070, attribute: 8
      AttributeReportHandler: cluster: 47, attribute: 12
      AttributeReportHandler: cluster: 47, attribute: 14
      AttributeReportHandler: cluster: 47, attribute: 65531
      AttributeReportHandler: cluster: 144, attribute: 8
      AttributeReportHandler: cluster: 145, attribute: 1
      AttributeReportHandler: cluster: 145, attribute: 3
      AttributeReportHandler: cluster: 114, attribute: 2
      AttributeReportHandler: cluster: 114, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 10
      AttributeReportHandler: cluster: 1043, attribute: 8
      AttributeReportHandler: cluster: 1045, attribute: 0
      AttributeReportHandler: cluster: 1045, attribute: 10
      AttributeReportHandler: cluster: 1045, attribute: 8
      AttributeReportHandler: cluster: 113, attribute: 2
      AttributeReportHandler: cluster: 113, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 10
      AttributeReportHandler: cluster: 1069, attribute: 8
      AttributeReportHandler: cluster: 91, attribute: 0
      AttributeReportHandler: cluster: 1026, attribute: 1
      AttributeReportHandler: cluster: 1026, attribute: 2
      AttributeReportHandler: cluster: 1026, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 10
      AttributeReportHandler: cluster: 1068, attribute: 8
      AttributeReportHandler: cluster: 158, attribute: 1
      AttributeReportHandler: cluster: 158, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 10
      AttributeReportHandler: cluster: 1071, attribute: 8
    event:
    cmd_response:
  child_dispatchers:

DEBUG || Found DeviceLifecycleDispatcher handler in matter-thermostat
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: Thermostat, attribute: LocalTemperature>, <InteractionInfoBlock || cluster: Thermostat, attribute: OccupiedCoolingSetpoint>, <InteractionInfoBlock || cluster: Thermostat, attribute: OccupiedHeatingSetpoint>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMinHeatSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMaxHeatSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMinCoolSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMaxCoolSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: ThermostatRunningState>, <InteractionInfoBlock || cluster: Thermostat, attribute: ControlSequenceOfOperation>, <InteractionInfoBlock || cluster: Thermostat, attribute: SystemMode>, <InteractionInfoBlock || cluster: FanControl, attribute: FanModeSequence>, <InteractionInfoBlock || cluster: FanControl, attribute: FanMode>, <InteractionInfoBlock || cluster: FanControl, attribute: WindSupport>, <InteractionInfoBlock || cluster: FanControl, attribute: WindSetting>, <InteractionInfoBlock || cluster: FanControl, attribute: PercentCurrent>, <InteractionInfoBlock || cluster: RelativeHumidityMeasurement, attribute: MeasuredValue>, <InteractionInfoBlock || cluster: OnOff, attribute: OnOff>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MinMeasuredValue>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MaxMeasuredValue>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MeasuredValue>]>
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"attribute_id":"supportedThermostatOperatingStates","state":{"value":["idle"]},"component_id":"main","visibility":{"displayed":false},"capability_id":"thermostatOperatingState"}
DEBUG || matter-thermostat device thread event handled
DEBUG || Received event with handler matter
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x01, cluster: FanControl, attribute: PercentCurrent, data: Uint8: \x0A>>]>
DEBUG || Found MatterMessageDispatcher handler in matter-thermostat
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"attribute_id":"percent","state":{"value":10},"component_id":"main","capability_id":"fanSpeedPercent"}
DEBUG || matter-thermostat device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Fan Speed Percent.setPercent
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:518: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...hings/matter-thermostat/src/test/test_matter_room_ac.lua:592: in main chunk
	[C]: in ?
FAILED
Running test "Test fan speed commands" (3 of 8)
-----------------------------------------------
TRACE || Setup driver matter-thermostat with lifecycle handlers:
DeviceLifecycleDispatcher: matter-thermostat
  default_handlers:
    doConfigure:
    added:
    removed:
    infoChanged:
    driverSwitched:
    init:
  child_dispatchers:

TRACE || Setup driver matter-thermostat with Capability handlers:
CapabilityCommandDispatcher: matter-thermostat
  default_handlers:
    windMode:
      setWindMode
    thermostatMode:
      auto
      heat
      cool
      emergencyHeat
      off
      setThermostatMode
    fanMode:
      setFanMode
    filterState:
      resetFilter
    thermostatFanMode:
      fanAuto
      setThermostatFanMode
      fanOn
    refresh:
      refresh
    airPurifierFanMode:
      setAirPurifierFanMode
    airConditionerFanMode:
      setFanMode
    fanSpeedPercent:
      setPercent
    mode:
      setMode
    switch:
      off
      on
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    fanOscillationMode:
      setFanOscillationMode
    thermostatCoolingSetpoint:
      setCoolingSetpoint
  child_dispatchers:

TRACE || Setup driver matter-thermostat with Matter handlers:
MatterMessageDispatcher: matter-thermostat
  default_handlers:
    attr:
      AttributeReportHandler: cluster: 513, attribute: 0
      AttributeReportHandler: cluster: 513, attribute: 17
      AttributeReportHandler: cluster: 513, attribute: 18
      AttributeReportHandler: cluster: 513, attribute: 3
      AttributeReportHandler: cluster: 513, attribute: 4
      AttributeReportHandler: cluster: 513, attribute: 5
      AttributeReportHandler: cluster: 513, attribute: 6
      AttributeReportHandler: cluster: 513, attribute: 25
      AttributeReportHandler: cluster: 513, attribute: 65531
      AttributeReportHandler: cluster: 513, attribute: 28
      AttributeReportHandler: cluster: 513, attribute: 27
      AttributeReportHandler: cluster: 513, attribute: 41
      AttributeReportHandler: cluster: 514, attribute: 1
      AttributeReportHandler: cluster: 514, attribute: 0
      AttributeReportHandler: cluster: 514, attribute: 9
      AttributeReportHandler: cluster: 514, attribute: 10
      AttributeReportHandler: cluster: 514, attribute: 3
      AttributeReportHandler: cluster: 514, attribute: 8
      AttributeReportHandler: cluster: 514, attribute: 7
      AttributeReportHandler: cluster: 1029, attribute: 0
      AttributeReportHandler: cluster: 6, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 10
      AttributeReportHandler: cluster: 1066, attribute: 8
      AttributeReportHandler: cluster: 1067, attribute: 0
      AttributeReportHandler: cluster: 1067, attribute: 10
      AttributeReportHandler: cluster: 1067, attribute: 8
      AttributeReportHandler: cluster: 1036, attribute: 0
      AttributeReportHandler: cluster: 1036, attribute: 10
      AttributeReportHandler: cluster: 1036, attribute: 8
      AttributeReportHandler: cluster: 1037, attribute: 0
      AttributeReportHandler: cluster: 1037, attribute: 10
      AttributeReportHandler: cluster: 1037, attribute: 8
      AttributeReportHandler: cluster: 1070, attribute: 0
      AttributeReportHandler: cluster: 1070, attribute: 10
      AttributeReportHandler: cluster: 1070, attribute: 8
      AttributeReportHandler: cluster: 47, attribute: 12
      AttributeReportHandler: cluster: 47, attribute: 14
      AttributeReportHandler: cluster: 47, attribute: 65531
      AttributeReportHandler: cluster: 144, attribute: 8
      AttributeReportHandler: cluster: 145, attribute: 1
      AttributeReportHandler: cluster: 145, attribute: 3
      AttributeReportHandler: cluster: 114, attribute: 2
      AttributeReportHandler: cluster: 114, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 10
      AttributeReportHandler: cluster: 1043, attribute: 8
      AttributeReportHandler: cluster: 1045, attribute: 0
      AttributeReportHandler: cluster: 1045, attribute: 10
      AttributeReportHandler: cluster: 1045, attribute: 8
      AttributeReportHandler: cluster: 113, attribute: 2
      AttributeReportHandler: cluster: 113, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 10
      AttributeReportHandler: cluster: 1069, attribute: 8
      AttributeReportHandler: cluster: 91, attribute: 0
      AttributeReportHandler: cluster: 1026, attribute: 1
      AttributeReportHandler: cluster: 1026, attribute: 2
      AttributeReportHandler: cluster: 1026, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 10
      AttributeReportHandler: cluster: 1068, attribute: 8
      AttributeReportHandler: cluster: 158, attribute: 1
      AttributeReportHandler: cluster: 158, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 10
      AttributeReportHandler: cluster: 1071, attribute: 8
    event:
    cmd_response:
  child_dispatchers:

INFO  || Starting matter-thermostat driver, with dispatcher: MatterMessageDispatcher: matter-thermostat
  default_handlers:
    attr:
      AttributeReportHandler: cluster: 513, attribute: 0
      AttributeReportHandler: cluster: 513, attribute: 17
      AttributeReportHandler: cluster: 513, attribute: 18
      AttributeReportHandler: cluster: 513, attribute: 3
      AttributeReportHandler: cluster: 513, attribute: 4
      AttributeReportHandler: cluster: 513, attribute: 5
      AttributeReportHandler: cluster: 513, attribute: 6
      AttributeReportHandler: cluster: 513, attribute: 25
      AttributeReportHandler: cluster: 513, attribute: 65531
      AttributeReportHandler: cluster: 513, attribute: 28
      AttributeReportHandler: cluster: 513, attribute: 27
      AttributeReportHandler: cluster: 513, attribute: 41
      AttributeReportHandler: cluster: 514, attribute: 1
      AttributeReportHandler: cluster: 514, attribute: 0
      AttributeReportHandler: cluster: 514, attribute: 9
      AttributeReportHandler: cluster: 514, attribute: 10
      AttributeReportHandler: cluster: 514, attribute: 3
      AttributeReportHandler: cluster: 514, attribute: 8
      AttributeReportHandler: cluster: 514, attribute: 7
      AttributeReportHandler: cluster: 1029, attribute: 0
      AttributeReportHandler: cluster: 6, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 10
      AttributeReportHandler: cluster: 1066, attribute: 8
      AttributeReportHandler: cluster: 1067, attribute: 0
      AttributeReportHandler: cluster: 1067, attribute: 10
      AttributeReportHandler: cluster: 1067, attribute: 8
      AttributeReportHandler: cluster: 1036, attribute: 0
      AttributeReportHandler: cluster: 1036, attribute: 10
      AttributeReportHandler: cluster: 1036, attribute: 8
      AttributeReportHandler: cluster: 1037, attribute: 0
      AttributeReportHandler: cluster: 1037, attribute: 10
      AttributeReportHandler: cluster: 1037, attribute: 8
      AttributeReportHandler: cluster: 1070, attribute: 0
      AttributeReportHandler: cluster: 1070, attribute: 10
      AttributeReportHandler: cluster: 1070, attribute: 8
      AttributeReportHandler: cluster: 47, attribute: 12
      AttributeReportHandler: cluster: 47, attribute: 14
      AttributeReportHandler: cluster: 47, attribute: 65531
      AttributeReportHandler: cluster: 144, attribute: 8
      AttributeReportHandler: cluster: 145, attribute: 1
      AttributeReportHandler: cluster: 145, attribute: 3
      AttributeReportHandler: cluster: 114, attribute: 2
      AttributeReportHandler: cluster: 114, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 10
      AttributeReportHandler: cluster: 1043, attribute: 8
      AttributeReportHandler: cluster: 1045, attribute: 0
      AttributeReportHandler: cluster: 1045, attribute: 10
      AttributeReportHandler: cluster: 1045, attribute: 8
      AttributeReportHandler: cluster: 113, attribute: 2
      AttributeReportHandler: cluster: 113, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 10
      AttributeReportHandler: cluster: 1069, attribute: 8
      AttributeReportHandler: cluster: 91, attribute: 0
      AttributeReportHandler: cluster: 1026, attribute: 1
      AttributeReportHandler: cluster: 1026, attribute: 2
      AttributeReportHandler: cluster: 1026, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 10
      AttributeReportHandler: cluster: 1068, attribute: 8
      AttributeReportHandler: cluster: 158, attribute: 1
      AttributeReportHandler: cluster: 158, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 10
      AttributeReportHandler: cluster: 1071, attribute: 8
    event:
    cmd_response:
  child_dispatchers:

DEBUG || Found DeviceLifecycleDispatcher handler in matter-thermostat
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: Thermostat, attribute: LocalTemperature>, <InteractionInfoBlock || cluster: Thermostat, attribute: OccupiedCoolingSetpoint>, <InteractionInfoBlock || cluster: Thermostat, attribute: OccupiedHeatingSetpoint>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMinHeatSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMaxHeatSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMinCoolSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMaxCoolSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: ThermostatRunningState>, <InteractionInfoBlock || cluster: Thermostat, attribute: ControlSequenceOfOperation>, <InteractionInfoBlock || cluster: Thermostat, attribute: SystemMode>, <InteractionInfoBlock || cluster: FanControl, attribute: FanModeSequence>, <InteractionInfoBlock || cluster: FanControl, attribute: FanMode>, <InteractionInfoBlock || cluster: FanControl, attribute: WindSupport>, <InteractionInfoBlock || cluster: FanControl, attribute: WindSetting>, <InteractionInfoBlock || cluster: FanControl, attribute: PercentCurrent>, <InteractionInfoBlock || cluster: RelativeHumidityMeasurement, attribute: MeasuredValue>, <InteractionInfoBlock || cluster: OnOff, attribute: OnOff>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MinMeasuredValue>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MaxMeasuredValue>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MeasuredValue>]>
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"attribute_id":"supportedThermostatOperatingStates","state":{"value":["idle"]},"component_id":"main","visibility":{"displayed":false},"capability_id":"thermostatOperatingState"}
DEBUG || matter-thermostat device thread event handled
DEBUG || Received event with handler matter
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x01, cluster: FanControl, attribute: PercentCurrent, data: Uint8: \x0A>>]>
DEBUG || Found MatterMessageDispatcher handler in matter-thermostat
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"attribute_id":"percent","state":{"value":10},"component_id":"main","capability_id":"fanSpeedPercent"}
DEBUG || matter-thermostat device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Fan Speed Percent.setPercent
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:518: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...hings/matter-thermostat/src/test/test_matter_room_ac.lua:592: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 2 runs with error: Test wind mode

tests/matter-thermostat_test_output.xml
Raw output
ERROR
Running test "Test wind mode" (4 of 8)
--------------------------------------
TRACE || Setup driver matter-thermostat with lifecycle handlers:
DeviceLifecycleDispatcher: matter-thermostat
  default_handlers:
    doConfigure:
    added:
    removed:
    infoChanged:
    driverSwitched:
    init:
  child_dispatchers:

TRACE || Setup driver matter-thermostat with Capability handlers:
CapabilityCommandDispatcher: matter-thermostat
  default_handlers:
    windMode:
      setWindMode
    thermostatMode:
      auto
      heat
      cool
      emergencyHeat
      off
      setThermostatMode
    fanMode:
      setFanMode
    filterState:
      resetFilter
    thermostatFanMode:
      fanAuto
      setThermostatFanMode
      fanOn
    refresh:
      refresh
    airPurifierFanMode:
      setAirPurifierFanMode
    airConditionerFanMode:
      setFanMode
    fanSpeedPercent:
      setPercent
    mode:
      setMode
    switch:
      off
      on
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    fanOscillationMode:
      setFanOscillationMode
    thermostatCoolingSetpoint:
      setCoolingSetpoint
  child_dispatchers:

TRACE || Setup driver matter-thermostat with Matter handlers:
MatterMessageDispatcher: matter-thermostat
  default_handlers:
    attr:
      AttributeReportHandler: cluster: 513, attribute: 0
      AttributeReportHandler: cluster: 513, attribute: 17
      AttributeReportHandler: cluster: 513, attribute: 18
      AttributeReportHandler: cluster: 513, attribute: 3
      AttributeReportHandler: cluster: 513, attribute: 4
      AttributeReportHandler: cluster: 513, attribute: 5
      AttributeReportHandler: cluster: 513, attribute: 6
      AttributeReportHandler: cluster: 513, attribute: 25
      AttributeReportHandler: cluster: 513, attribute: 65531
      AttributeReportHandler: cluster: 513, attribute: 28
      AttributeReportHandler: cluster: 513, attribute: 27
      AttributeReportHandler: cluster: 513, attribute: 41
      AttributeReportHandler: cluster: 514, attribute: 1
      AttributeReportHandler: cluster: 514, attribute: 0
      AttributeReportHandler: cluster: 514, attribute: 9
      AttributeReportHandler: cluster: 514, attribute: 10
      AttributeReportHandler: cluster: 514, attribute: 3
      AttributeReportHandler: cluster: 514, attribute: 8
      AttributeReportHandler: cluster: 514, attribute: 7
      AttributeReportHandler: cluster: 1029, attribute: 0
      AttributeReportHandler: cluster: 6, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 10
      AttributeReportHandler: cluster: 1066, attribute: 8
      AttributeReportHandler: cluster: 1067, attribute: 0
      AttributeReportHandler: cluster: 1067, attribute: 10
      AttributeReportHandler: cluster: 1067, attribute: 8
      AttributeReportHandler: cluster: 1036, attribute: 0
      AttributeReportHandler: cluster: 1036, attribute: 10
      AttributeReportHandler: cluster: 1036, attribute: 8
      AttributeReportHandler: cluster: 1037, attribute: 0
      AttributeReportHandler: cluster: 1037, attribute: 10
      AttributeReportHandler: cluster: 1037, attribute: 8
      AttributeReportHandler: cluster: 1070, attribute: 0
      AttributeReportHandler: cluster: 1070, attribute: 10
      AttributeReportHandler: cluster: 1070, attribute: 8
      AttributeReportHandler: cluster: 47, attribute: 12
      AttributeReportHandler: cluster: 47, attribute: 14
      AttributeReportHandler: cluster: 47, attribute: 65531
      AttributeReportHandler: cluster: 144, attribute: 8
      AttributeReportHandler: cluster: 145, attribute: 1
      AttributeReportHandler: cluster: 145, attribute: 3
      AttributeReportHandler: cluster: 114, attribute: 2
      AttributeReportHandler: cluster: 114, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 10
      AttributeReportHandler: cluster: 1043, attribute: 8
      AttributeReportHandler: cluster: 1045, attribute: 0
      AttributeReportHandler: cluster: 1045, attribute: 10
      AttributeReportHandler: cluster: 1045, attribute: 8
      AttributeReportHandler: cluster: 113, attribute: 2
      AttributeReportHandler: cluster: 113, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 10
      AttributeReportHandler: cluster: 1069, attribute: 8
      AttributeReportHandler: cluster: 91, attribute: 0
      AttributeReportHandler: cluster: 1026, attribute: 1
      AttributeReportHandler: cluster: 1026, attribute: 2
      AttributeReportHandler: cluster: 1026, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 10
      AttributeReportHandler: cluster: 1068, attribute: 8
      AttributeReportHandler: cluster: 158, attribute: 1
      AttributeReportHandler: cluster: 158, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 10
      AttributeReportHandler: cluster: 1071, attribute: 8
    event:
    cmd_response:
  child_dispatchers:

INFO  || Starting matter-thermostat driver, with dispatcher: MatterMessageDispatcher: matter-thermostat
  default_handlers:
    attr:
      AttributeReportHandler: cluster: 513, attribute: 0
      AttributeReportHandler: cluster: 513, attribute: 17
      AttributeReportHandler: cluster: 513, attribute: 18
      AttributeReportHandler: cluster: 513, attribute: 3
      AttributeReportHandler: cluster: 513, attribute: 4
      AttributeReportHandler: cluster: 513, attribute: 5
      AttributeReportHandler: cluster: 513, attribute: 6
      AttributeReportHandler: cluster: 513, attribute: 25
      AttributeReportHandler: cluster: 513, attribute: 65531
      AttributeReportHandler: cluster: 513, attribute: 28
      AttributeReportHandler: cluster: 513, attribute: 27
      AttributeReportHandler: cluster: 513, attribute: 41
      AttributeReportHandler: cluster: 514, attribute: 1
      AttributeReportHandler: cluster: 514, attribute: 0
      AttributeReportHandler: cluster: 514, attribute: 9
      AttributeReportHandler: cluster: 514, attribute: 10
      AttributeReportHandler: cluster: 514, attribute: 3
      AttributeReportHandler: cluster: 514, attribute: 8
      AttributeReportHandler: cluster: 514, attribute: 7
      AttributeReportHandler: cluster: 1029, attribute: 0
      AttributeReportHandler: cluster: 6, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 10
      AttributeReportHandler: cluster: 1066, attribute: 8
      AttributeReportHandler: cluster: 1067, attribute: 0
      AttributeReportHandler: cluster: 1067, attribute: 10
      AttributeReportHandler: cluster: 1067, attribute: 8
      AttributeReportHandler: cluster: 1036, attribute: 0
      AttributeReportHandler: cluster: 1036, attribute: 10
      AttributeReportHandler: cluster: 1036, attribute: 8
      AttributeReportHandler: cluster: 1037, attribute: 0
      AttributeReportHandler: cluster: 1037, attribute: 10
      AttributeReportHandler: cluster: 1037, attribute: 8
      AttributeReportHandler: cluster: 1070, attribute: 0
      AttributeReportHandler: cluster: 1070, attribute: 10
      AttributeReportHandler: cluster: 1070, attribute: 8
      AttributeReportHandler: cluster: 47, attribute: 12
      AttributeReportHandler: cluster: 47, attribute: 14
      AttributeReportHandler: cluster: 47, attribute: 65531
      AttributeReportHandler: cluster: 144, attribute: 8
      AttributeReportHandler: cluster: 145, attribute: 1
      AttributeReportHandler: cluster: 145, attribute: 3
      AttributeReportHandler: cluster: 114, attribute: 2
      AttributeReportHandler: cluster: 114, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 10
      AttributeReportHandler: cluster: 1043, attribute: 8
      AttributeReportHandler: cluster: 1045, attribute: 0
      AttributeReportHandler: cluster: 1045, attribute: 10
      AttributeReportHandler: cluster: 1045, attribute: 8
      AttributeReportHandler: cluster: 113, attribute: 2
      AttributeReportHandler: cluster: 113, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 10
      AttributeReportHandler: cluster: 1069, attribute: 8
      AttributeReportHandler: cluster: 91, attribute: 0
      AttributeReportHandler: cluster: 1026, attribute: 1
      AttributeReportHandler: cluster: 1026, attribute: 2
      AttributeReportHandler: cluster: 1026, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 10
      AttributeReportHandler: cluster: 1068, attribute: 8
      AttributeReportHandler: cluster: 158, attribute: 1
      AttributeReportHandler: cluster: 158, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 10
      AttributeReportHandler: cluster: 1071, attribute: 8
    event:
    cmd_response:
  child_dispatchers:

DEBUG || Found DeviceLifecycleDispatcher handler in matter-thermostat
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: Thermostat, attribute: LocalTemperature>, <InteractionInfoBlock || cluster: Thermostat, attribute: OccupiedCoolingSetpoint>, <InteractionInfoBlock || cluster: Thermostat, attribute: OccupiedHeatingSetpoint>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMinHeatSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMaxHeatSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMinCoolSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMaxCoolSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: ThermostatRunningState>, <InteractionInfoBlock || cluster: Thermostat, attribute: ControlSequenceOfOperation>, <InteractionInfoBlock || cluster: Thermostat, attribute: SystemMode>, <InteractionInfoBlock || cluster: FanControl, attribute: FanModeSequence>, <InteractionInfoBlock || cluster: FanControl, attribute: FanMode>, <InteractionInfoBlock || cluster: FanControl, attribute: WindSupport>, <InteractionInfoBlock || cluster: FanControl, attribute: WindSetting>, <InteractionInfoBlock || cluster: FanControl, attribute: PercentCurrent>, <InteractionInfoBlock || cluster: RelativeHumidityMeasurement, attribute: MeasuredValue>, <InteractionInfoBlock || cluster: OnOff, attribute: OnOff>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MinMeasuredValue>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MaxMeasuredValue>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MeasuredValue>]>
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"attribute_id":"supportedThermostatOperatingStates","state":{"value":["idle"]},"component_id":"main","visibility":{"displayed":false},"capability_id":"thermostatOperatingState"}
DEBUG || matter-thermostat device thread event handled
DEBUG || Received event with handler matter
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x01, cluster: FanControl, attribute: WindSupport, data: WindBitmap: \x03>>]>
DEBUG || Found MatterMessageDispatcher handler in matter-thermostat
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"attribute_id":"supportedWindModes","state":{"value":["noWind","sleepWind","naturalWind"]},"component_id":"main","visibility":{"displayed":false},"capability_id":"windMode"}
DEBUG || matter-thermostat device thread event handled
DEBUG || Received event with handler matter
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x01, cluster: FanControl, attribute: WindSetting, data: WindBitmap: \x01>>]>
DEBUG || Found MatterMessageDispatcher handler in matter-thermostat
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"attribute_id":"windMode","state":{"value":"sleepWind"},"component_id":"main","capability_id":"windMode"}
DEBUG || matter-thermostat device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Wind Mode.setWindMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:518: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...hings/matter-thermostat/src/test/test_matter_room_ac.lua:592: in main chunk
	[C]: in ?
FAILED
Running test "Test wind mode" (4 of 8)
--------------------------------------
TRACE || Setup driver matter-thermostat with lifecycle handlers:
DeviceLifecycleDispatcher: matter-thermostat
  default_handlers:
    doConfigure:
    added:
    removed:
    infoChanged:
    driverSwitched:
    init:
  child_dispatchers:

TRACE || Setup driver matter-thermostat with Capability handlers:
CapabilityCommandDispatcher: matter-thermostat
  default_handlers:
    windMode:
      setWindMode
    thermostatMode:
      auto
      heat
      cool
      emergencyHeat
      off
      setThermostatMode
    fanMode:
      setFanMode
    filterState:
      resetFilter
    thermostatFanMode:
      fanAuto
      setThermostatFanMode
      fanOn
    refresh:
      refresh
    airPurifierFanMode:
      setAirPurifierFanMode
    airConditionerFanMode:
      setFanMode
    fanSpeedPercent:
      setPercent
    mode:
      setMode
    switch:
      off
      on
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    fanOscillationMode:
      setFanOscillationMode
    thermostatCoolingSetpoint:
      setCoolingSetpoint
  child_dispatchers:

TRACE || Setup driver matter-thermostat with Matter handlers:
MatterMessageDispatcher: matter-thermostat
  default_handlers:
    attr:
      AttributeReportHandler: cluster: 513, attribute: 0
      AttributeReportHandler: cluster: 513, attribute: 17
      AttributeReportHandler: cluster: 513, attribute: 18
      AttributeReportHandler: cluster: 513, attribute: 3
      AttributeReportHandler: cluster: 513, attribute: 4
      AttributeReportHandler: cluster: 513, attribute: 5
      AttributeReportHandler: cluster: 513, attribute: 6
      AttributeReportHandler: cluster: 513, attribute: 25
      AttributeReportHandler: cluster: 513, attribute: 65531
      AttributeReportHandler: cluster: 513, attribute: 28
      AttributeReportHandler: cluster: 513, attribute: 27
      AttributeReportHandler: cluster: 513, attribute: 41
      AttributeReportHandler: cluster: 514, attribute: 1
      AttributeReportHandler: cluster: 514, attribute: 0
      AttributeReportHandler: cluster: 514, attribute: 9
      AttributeReportHandler: cluster: 514, attribute: 10
      AttributeReportHandler: cluster: 514, attribute: 3
      AttributeReportHandler: cluster: 514, attribute: 8
      AttributeReportHandler: cluster: 514, attribute: 7
      AttributeReportHandler: cluster: 1029, attribute: 0
      AttributeReportHandler: cluster: 6, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 10
      AttributeReportHandler: cluster: 1066, attribute: 8
      AttributeReportHandler: cluster: 1067, attribute: 0
      AttributeReportHandler: cluster: 1067, attribute: 10
      AttributeReportHandler: cluster: 1067, attribute: 8
      AttributeReportHandler: cluster: 1036, attribute: 0
      AttributeReportHandler: cluster: 1036, attribute: 10
      AttributeReportHandler: cluster: 1036, attribute: 8
      AttributeReportHandler: cluster: 1037, attribute: 0
      AttributeReportHandler: cluster: 1037, attribute: 10
      AttributeReportHandler: cluster: 1037, attribute: 8
      AttributeReportHandler: cluster: 1070, attribute: 0
      AttributeReportHandler: cluster: 1070, attribute: 10
      AttributeReportHandler: cluster: 1070, attribute: 8
      AttributeReportHandler: cluster: 47, attribute: 12
      AttributeReportHandler: cluster: 47, attribute: 14
      AttributeReportHandler: cluster: 47, attribute: 65531
      AttributeReportHandler: cluster: 144, attribute: 8
      AttributeReportHandler: cluster: 145, attribute: 1
      AttributeReportHandler: cluster: 145, attribute: 3
      AttributeReportHandler: cluster: 114, attribute: 2
      AttributeReportHandler: cluster: 114, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 10
      AttributeReportHandler: cluster: 1043, attribute: 8
      AttributeReportHandler: cluster: 1045, attribute: 0
      AttributeReportHandler: cluster: 1045, attribute: 10
      AttributeReportHandler: cluster: 1045, attribute: 8
      AttributeReportHandler: cluster: 113, attribute: 2
      AttributeReportHandler: cluster: 113, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 10
      AttributeReportHandler: cluster: 1069, attribute: 8
      AttributeReportHandler: cluster: 91, attribute: 0
      AttributeReportHandler: cluster: 1026, attribute: 1
      AttributeReportHandler: cluster: 1026, attribute: 2
      AttributeReportHandler: cluster: 1026, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 10
      AttributeReportHandler: cluster: 1068, attribute: 8
      AttributeReportHandler: cluster: 158, attribute: 1
      AttributeReportHandler: cluster: 158, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 10
      AttributeReportHandler: cluster: 1071, attribute: 8
    event:
    cmd_response:
  child_dispatchers:

INFO  || Starting matter-thermostat driver, with dispatcher: MatterMessageDispatcher: matter-thermostat
  default_handlers:
    attr:
      AttributeReportHandler: cluster: 513, attribute: 0
      AttributeReportHandler: cluster: 513, attribute: 17
      AttributeReportHandler: cluster: 513, attribute: 18
      AttributeReportHandler: cluster: 513, attribute: 3
      AttributeReportHandler: cluster: 513, attribute: 4
      AttributeReportHandler: cluster: 513, attribute: 5
      AttributeReportHandler: cluster: 513, attribute: 6
      AttributeReportHandler: cluster: 513, attribute: 25
      AttributeReportHandler: cluster: 513, attribute: 65531
      AttributeReportHandler: cluster: 513, attribute: 28
      AttributeReportHandler: cluster: 513, attribute: 27
      AttributeReportHandler: cluster: 513, attribute: 41
      AttributeReportHandler: cluster: 514, attribute: 1
      AttributeReportHandler: cluster: 514, attribute: 0
      AttributeReportHandler: cluster: 514, attribute: 9
      AttributeReportHandler: cluster: 514, attribute: 10
      AttributeReportHandler: cluster: 514, attribute: 3
      AttributeReportHandler: cluster: 514, attribute: 8
      AttributeReportHandler: cluster: 514, attribute: 7
      AttributeReportHandler: cluster: 1029, attribute: 0
      AttributeReportHandler: cluster: 6, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 10
      AttributeReportHandler: cluster: 1066, attribute: 8
      AttributeReportHandler: cluster: 1067, attribute: 0
      AttributeReportHandler: cluster: 1067, attribute: 10
      AttributeReportHandler: cluster: 1067, attribute: 8
      AttributeReportHandler: cluster: 1036, attribute: 0
      AttributeReportHandler: cluster: 1036, attribute: 10
      AttributeReportHandler: cluster: 1036, attribute: 8
      AttributeReportHandler: cluster: 1037, attribute: 0
      AttributeReportHandler: cluster: 1037, attribute: 10
      AttributeReportHandler: cluster: 1037, attribute: 8
      AttributeReportHandler: cluster: 1070, attribute: 0
      AttributeReportHandler: cluster: 1070, attribute: 10
      AttributeReportHandler: cluster: 1070, attribute: 8
      AttributeReportHandler: cluster: 47, attribute: 12
      AttributeReportHandler: cluster: 47, attribute: 14
      AttributeReportHandler: cluster: 47, attribute: 65531
      AttributeReportHandler: cluster: 144, attribute: 8
      AttributeReportHandler: cluster: 145, attribute: 1
      AttributeReportHandler: cluster: 145, attribute: 3
      AttributeReportHandler: cluster: 114, attribute: 2
      AttributeReportHandler: cluster: 114, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 10
      AttributeReportHandler: cluster: 1043, attribute: 8
      AttributeReportHandler: cluster: 1045, attribute: 0
      AttributeReportHandler: cluster: 1045, attribute: 10
      AttributeReportHandler: cluster: 1045, attribute: 8
      AttributeReportHandler: cluster: 113, attribute: 2
      AttributeReportHandler: cluster: 113, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 10
      AttributeReportHandler: cluster: 1069, attribute: 8
      AttributeReportHandler: cluster: 91, attribute: 0
      AttributeReportHandler: cluster: 1026, attribute: 1
      AttributeReportHandler: cluster: 1026, attribute: 2
      AttributeReportHandler: cluster: 1026, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 10
      AttributeReportHandler: cluster: 1068, attribute: 8
      AttributeReportHandler: cluster: 158, attribute: 1
      AttributeReportHandler: cluster: 158, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 10
      AttributeReportHandler: cluster: 1071, attribute: 8
    event:
    cmd_response:
  child_dispatchers:

DEBUG || Found DeviceLifecycleDispatcher handler in matter-thermostat
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: Thermostat, attribute: LocalTemperature>, <InteractionInfoBlock || cluster: Thermostat, attribute: OccupiedCoolingSetpoint>, <InteractionInfoBlock || cluster: Thermostat, attribute: OccupiedHeatingSetpoint>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMinHeatSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMaxHeatSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMinCoolSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMaxCoolSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: ThermostatRunningState>, <InteractionInfoBlock || cluster: Thermostat, attribute: ControlSequenceOfOperation>, <InteractionInfoBlock || cluster: Thermostat, attribute: SystemMode>, <InteractionInfoBlock || cluster: FanControl, attribute: FanModeSequence>, <InteractionInfoBlock || cluster: FanControl, attribute: FanMode>, <InteractionInfoBlock || cluster: FanControl, attribute: WindSupport>, <InteractionInfoBlock || cluster: FanControl, attribute: WindSetting>, <InteractionInfoBlock || cluster: FanControl, attribute: PercentCurrent>, <InteractionInfoBlock || cluster: RelativeHumidityMeasurement, attribute: MeasuredValue>, <InteractionInfoBlock || cluster: OnOff, attribute: OnOff>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MinMeasuredValue>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MaxMeasuredValue>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MeasuredValue>]>
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"attribute_id":"supportedThermostatOperatingStates","state":{"value":["idle"]},"component_id":"main","visibility":{"displayed":false},"capability_id":"thermostatOperatingState"}
DEBUG || matter-thermostat device thread event handled
DEBUG || Received event with handler matter
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x01, cluster: FanControl, attribute: WindSupport, data: WindBitmap: \x03>>]>
DEBUG || Found MatterMessageDispatcher handler in matter-thermostat
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"attribute_id":"supportedWindModes","state":{"value":["noWind","sleepWind","naturalWind"]},"component_id":"main","visibility":{"displayed":false},"capability_id":"windMode"}
DEBUG || matter-thermostat device thread event handled
DEBUG || Received event with handler matter
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received InteractionResponse: <InteractionResponse || type: REPORT_DATA, response_blocks: [<InteractionResponseInfoBlock || status: SUCCESS, <InteractionInfoBlock || endpoint: 0x01, cluster: FanControl, attribute: WindSetting, data: WindBitmap: \x01>>]>
DEBUG || Found MatterMessageDispatcher handler in matter-thermostat
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"attribute_id":"windMode","state":{"value":"sleepWind"},"component_id":"main","capability_id":"windMode"}
DEBUG || matter-thermostat device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Wind Mode.setWindMode
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:518: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...hings/matter-thermostat/src/test/test_matter_room_ac.lua:592: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 3 runs with error: Setting the heating setpoint should send the appropriate commands

tests/matter-thermostat_test_output.xml
Raw output
ERROR
Running test "Setting the heating setpoint should send the appropriate commands" (15 of 21)
-------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver matter-thermostat with lifecycle handlers:
DeviceLifecycleDispatcher: matter-thermostat
  default_handlers:
    added:
    init:
    driverSwitched:
    doConfigure:
    removed:
    infoChanged:
  child_dispatchers:

TRACE || Setup driver matter-thermostat with Capability handlers:
CapabilityCommandDispatcher: matter-thermostat
  default_handlers:
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    airPurifierFanMode:
      setAirPurifierFanMode
    refresh:
      refresh
    airConditionerFanMode:
      setFanMode
    switch:
      off
      on
    thermostatFanMode:
      fanAuto
      fanOn
      setThermostatFanMode
    thermostatMode:
      auto
      off
      cool
      heat
      emergencyHeat
      setThermostatMode
    fanOscillationMode:
      setFanOscillationMode
    fanSpeedPercent:
      setPercent
    fanMode:
      setFanMode
    mode:
      setMode
    windMode:
      setWindMode
    thermostatCoolingSetpoint:
      setCoolingSetpoint
    filterState:
      resetFilter
  child_dispatchers:

TRACE || Setup driver matter-thermostat with Matter handlers:
MatterMessageDispatcher: matter-thermostat
  default_handlers:
    attr:
      AttributeReportHandler: cluster: 513, attribute: 0
      AttributeReportHandler: cluster: 513, attribute: 17
      AttributeReportHandler: cluster: 513, attribute: 18
      AttributeReportHandler: cluster: 513, attribute: 3
      AttributeReportHandler: cluster: 513, attribute: 4
      AttributeReportHandler: cluster: 513, attribute: 5
      AttributeReportHandler: cluster: 513, attribute: 6
      AttributeReportHandler: cluster: 513, attribute: 25
      AttributeReportHandler: cluster: 513, attribute: 65531
      AttributeReportHandler: cluster: 513, attribute: 28
      AttributeReportHandler: cluster: 513, attribute: 27
      AttributeReportHandler: cluster: 513, attribute: 41
      AttributeReportHandler: cluster: 514, attribute: 1
      AttributeReportHandler: cluster: 514, attribute: 0
      AttributeReportHandler: cluster: 514, attribute: 9
      AttributeReportHandler: cluster: 514, attribute: 10
      AttributeReportHandler: cluster: 514, attribute: 3
      AttributeReportHandler: cluster: 514, attribute: 8
      AttributeReportHandler: cluster: 514, attribute: 7
      AttributeReportHandler: cluster: 1029, attribute: 0
      AttributeReportHandler: cluster: 6, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 10
      AttributeReportHandler: cluster: 1066, attribute: 8
      AttributeReportHandler: cluster: 1067, attribute: 0
      AttributeReportHandler: cluster: 1067, attribute: 10
      AttributeReportHandler: cluster: 1067, attribute: 8
      AttributeReportHandler: cluster: 1036, attribute: 0
      AttributeReportHandler: cluster: 1036, attribute: 10
      AttributeReportHandler: cluster: 1036, attribute: 8
      AttributeReportHandler: cluster: 1037, attribute: 0
      AttributeReportHandler: cluster: 1037, attribute: 10
      AttributeReportHandler: cluster: 1037, attribute: 8
      AttributeReportHandler: cluster: 1070, attribute: 0
      AttributeReportHandler: cluster: 1070, attribute: 10
      AttributeReportHandler: cluster: 1070, attribute: 8
      AttributeReportHandler: cluster: 47, attribute: 12
      AttributeReportHandler: cluster: 47, attribute: 14
      AttributeReportHandler: cluster: 47, attribute: 65531
      AttributeReportHandler: cluster: 144, attribute: 8
      AttributeReportHandler: cluster: 145, attribute: 1
      AttributeReportHandler: cluster: 145, attribute: 3
      AttributeReportHandler: cluster: 114, attribute: 2
      AttributeReportHandler: cluster: 114, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 10
      AttributeReportHandler: cluster: 1043, attribute: 8
      AttributeReportHandler: cluster: 1045, attribute: 0
      AttributeReportHandler: cluster: 1045, attribute: 10
      AttributeReportHandler: cluster: 1045, attribute: 8
      AttributeReportHandler: cluster: 113, attribute: 2
      AttributeReportHandler: cluster: 113, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 10
      AttributeReportHandler: cluster: 1069, attribute: 8
      AttributeReportHandler: cluster: 91, attribute: 0
      AttributeReportHandler: cluster: 1026, attribute: 1
      AttributeReportHandler: cluster: 1026, attribute: 2
      AttributeReportHandler: cluster: 1026, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 10
      AttributeReportHandler: cluster: 1068, attribute: 8
      AttributeReportHandler: cluster: 158, attribute: 1
      AttributeReportHandler: cluster: 158, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 10
      AttributeReportHandler: cluster: 1071, attribute: 8
    event:
    cmd_response:
  child_dispatchers:

INFO  || Starting matter-thermostat driver, with dispatcher: MatterMessageDispatcher: matter-thermostat
  default_handlers:
    attr:
      AttributeReportHandler: cluster: 513, attribute: 0
      AttributeReportHandler: cluster: 513, attribute: 17
      AttributeReportHandler: cluster: 513, attribute: 18
      AttributeReportHandler: cluster: 513, attribute: 3
      AttributeReportHandler: cluster: 513, attribute: 4
      AttributeReportHandler: cluster: 513, attribute: 5
      AttributeReportHandler: cluster: 513, attribute: 6
      AttributeReportHandler: cluster: 513, attribute: 25
      AttributeReportHandler: cluster: 513, attribute: 65531
      AttributeReportHandler: cluster: 513, attribute: 28
      AttributeReportHandler: cluster: 513, attribute: 27
      AttributeReportHandler: cluster: 513, attribute: 41
      AttributeReportHandler: cluster: 514, attribute: 1
      AttributeReportHandler: cluster: 514, attribute: 0
      AttributeReportHandler: cluster: 514, attribute: 9
      AttributeReportHandler: cluster: 514, attribute: 10
      AttributeReportHandler: cluster: 514, attribute: 3
      AttributeReportHandler: cluster: 514, attribute: 8
      AttributeReportHandler: cluster: 514, attribute: 7
      AttributeReportHandler: cluster: 1029, attribute: 0
      AttributeReportHandler: cluster: 6, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 10
      AttributeReportHandler: cluster: 1066, attribute: 8
      AttributeReportHandler: cluster: 1067, attribute: 0
      AttributeReportHandler: cluster: 1067, attribute: 10
      AttributeReportHandler: cluster: 1067, attribute: 8
      AttributeReportHandler: cluster: 1036, attribute: 0
      AttributeReportHandler: cluster: 1036, attribute: 10
      AttributeReportHandler: cluster: 1036, attribute: 8
      AttributeReportHandler: cluster: 1037, attribute: 0
      AttributeReportHandler: cluster: 1037, attribute: 10
      AttributeReportHandler: cluster: 1037, attribute: 8
      AttributeReportHandler: cluster: 1070, attribute: 0
      AttributeReportHandler: cluster: 1070, attribute: 10
      AttributeReportHandler: cluster: 1070, attribute: 8
      AttributeReportHandler: cluster: 47, attribute: 12
      AttributeReportHandler: cluster: 47, attribute: 14
      AttributeReportHandler: cluster: 47, attribute: 65531
      AttributeReportHandler: cluster: 144, attribute: 8
      AttributeReportHandler: cluster: 145, attribute: 1
      AttributeReportHandler: cluster: 145, attribute: 3
      AttributeReportHandler: cluster: 114, attribute: 2
      AttributeReportHandler: cluster: 114, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 10
      AttributeReportHandler: cluster: 1043, attribute: 8
      AttributeReportHandler: cluster: 1045, attribute: 0
      AttributeReportHandler: cluster: 1045, attribute: 10
      AttributeReportHandler: cluster: 1045, attribute: 8
      AttributeReportHandler: cluster: 113, attribute: 2
      AttributeReportHandler: cluster: 113, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 10
      AttributeReportHandler: cluster: 1069, attribute: 8
      AttributeReportHandler: cluster: 91, attribute: 0
      AttributeReportHandler: cluster: 1026, attribute: 1
      AttributeReportHandler: cluster: 1026, attribute: 2
      AttributeReportHandler: cluster: 1026, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 10
      AttributeReportHandler: cluster: 1068, attribute: 8
      AttributeReportHandler: cluster: 158, attribute: 1
      AttributeReportHandler: cluster: 158, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 10
      AttributeReportHandler: cluster: 1071, attribute: 8
    event:
    cmd_response:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[matter-thermostat] with 1 device IDs
DEBUG || Waiting on init messages
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in matter-thermostat
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: Thermostat, attribute: LocalTemperature>, <InteractionInfoBlock || cluster: Thermostat, attribute: OccupiedCoolingSetpoint>, <InteractionInfoBlock || cluster: Thermostat, attribute: OccupiedHeatingSetpoint>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMinHeatSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMaxHeatSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMinCoolSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMaxCoolSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: ThermostatRunningState>, <InteractionInfoBlock || cluster: Thermostat, attribute: ControlSequenceOfOperation>, <InteractionInfoBlock || cluster: Thermostat, attribute: SystemMode>, <InteractionInfoBlock || cluster: FanControl, attribute: FanModeSequence>, <InteractionInfoBlock || cluster: FanControl, attribute: FanMode>, <InteractionInfoBlock || cluster: RelativeHumidityMeasurement, attribute: MeasuredValue>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MinMeasuredValue>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MaxMeasuredValue>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MeasuredValue>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"visibility":{"displayed":false},"capability_id":"thermostatOperatingState","state":{"value":["idle","heating","cooling"]},"component_id":"main","attribute_id":"supportedThermostatOperatingStates"}
DEBUG || matter-thermostat device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Heating Setpoint.setHeatingSetpoint
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:518: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...tat/src/test/test_matter_thermostat_composed_bridged.lua:736: in main chunk
	[C]: in ?
FAILED
Running test "Setting the heating setpoint should send the appropriate commands" (15 of 21)
-------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver matter-thermostat with lifecycle handlers:
DeviceLifecycleDispatcher: matter-thermostat
  default_handlers:
    added:
    init:
    driverSwitched:
    doConfigure:
    removed:
    infoChanged:
  child_dispatchers:

TRACE || Setup driver matter-thermostat with Capability handlers:
CapabilityCommandDispatcher: matter-thermostat
  default_handlers:
    thermostatHeatingSetpoint:
      setHeatingSetpoint
    airPurifierFanMode:
      setAirPurifierFanMode
    refresh:
      refresh
    airConditionerFanMode:
      setFanMode
    switch:
      off
      on
    thermostatFanMode:
      fanAuto
      fanOn
      setThermostatFanMode
    thermostatMode:
      auto
      off
      cool
      heat
      emergencyHeat
      setThermostatMode
    fanOscillationMode:
      setFanOscillationMode
    fanSpeedPercent:
      setPercent
    fanMode:
      setFanMode
    mode:
      setMode
    windMode:
      setWindMode
    thermostatCoolingSetpoint:
      setCoolingSetpoint
    filterState:
      resetFilter
  child_dispatchers:

TRACE || Setup driver matter-thermostat with Matter handlers:
MatterMessageDispatcher: matter-thermostat
  default_handlers:
    attr:
      AttributeReportHandler: cluster: 513, attribute: 0
      AttributeReportHandler: cluster: 513, attribute: 17
      AttributeReportHandler: cluster: 513, attribute: 18
      AttributeReportHandler: cluster: 513, attribute: 3
      AttributeReportHandler: cluster: 513, attribute: 4
      AttributeReportHandler: cluster: 513, attribute: 5
      AttributeReportHandler: cluster: 513, attribute: 6
      AttributeReportHandler: cluster: 513, attribute: 25
      AttributeReportHandler: cluster: 513, attribute: 65531
      AttributeReportHandler: cluster: 513, attribute: 28
      AttributeReportHandler: cluster: 513, attribute: 27
      AttributeReportHandler: cluster: 513, attribute: 41
      AttributeReportHandler: cluster: 514, attribute: 1
      AttributeReportHandler: cluster: 514, attribute: 0
      AttributeReportHandler: cluster: 514, attribute: 9
      AttributeReportHandler: cluster: 514, attribute: 10
      AttributeReportHandler: cluster: 514, attribute: 3
      AttributeReportHandler: cluster: 514, attribute: 8
      AttributeReportHandler: cluster: 514, attribute: 7
      AttributeReportHandler: cluster: 1029, attribute: 0
      AttributeReportHandler: cluster: 6, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 10
      AttributeReportHandler: cluster: 1066, attribute: 8
      AttributeReportHandler: cluster: 1067, attribute: 0
      AttributeReportHandler: cluster: 1067, attribute: 10
      AttributeReportHandler: cluster: 1067, attribute: 8
      AttributeReportHandler: cluster: 1036, attribute: 0
      AttributeReportHandler: cluster: 1036, attribute: 10
      AttributeReportHandler: cluster: 1036, attribute: 8
      AttributeReportHandler: cluster: 1037, attribute: 0
      AttributeReportHandler: cluster: 1037, attribute: 10
      AttributeReportHandler: cluster: 1037, attribute: 8
      AttributeReportHandler: cluster: 1070, attribute: 0
      AttributeReportHandler: cluster: 1070, attribute: 10
      AttributeReportHandler: cluster: 1070, attribute: 8
      AttributeReportHandler: cluster: 47, attribute: 12
      AttributeReportHandler: cluster: 47, attribute: 14
      AttributeReportHandler: cluster: 47, attribute: 65531
      AttributeReportHandler: cluster: 144, attribute: 8
      AttributeReportHandler: cluster: 145, attribute: 1
      AttributeReportHandler: cluster: 145, attribute: 3
      AttributeReportHandler: cluster: 114, attribute: 2
      AttributeReportHandler: cluster: 114, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 10
      AttributeReportHandler: cluster: 1043, attribute: 8
      AttributeReportHandler: cluster: 1045, attribute: 0
      AttributeReportHandler: cluster: 1045, attribute: 10
      AttributeReportHandler: cluster: 1045, attribute: 8
      AttributeReportHandler: cluster: 113, attribute: 2
      AttributeReportHandler: cluster: 113, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 10
      AttributeReportHandler: cluster: 1069, attribute: 8
      AttributeReportHandler: cluster: 91, attribute: 0
      AttributeReportHandler: cluster: 1026, attribute: 1
      AttributeReportHandler: cluster: 1026, attribute: 2
      AttributeReportHandler: cluster: 1026, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 10
      AttributeReportHandler: cluster: 1068, attribute: 8
      AttributeReportHandler: cluster: 158, attribute: 1
      AttributeReportHandler: cluster: 158, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 10
      AttributeReportHandler: cluster: 1071, attribute: 8
    event:
    cmd_response:
  child_dispatchers:

INFO  || Starting matter-thermostat driver, with dispatcher: MatterMessageDispatcher: matter-thermostat
  default_handlers:
    attr:
      AttributeReportHandler: cluster: 513, attribute: 0
      AttributeReportHandler: cluster: 513, attribute: 17
      AttributeReportHandler: cluster: 513, attribute: 18
      AttributeReportHandler: cluster: 513, attribute: 3
      AttributeReportHandler: cluster: 513, attribute: 4
      AttributeReportHandler: cluster: 513, attribute: 5
      AttributeReportHandler: cluster: 513, attribute: 6
      AttributeReportHandler: cluster: 513, attribute: 25
      AttributeReportHandler: cluster: 513, attribute: 65531
      AttributeReportHandler: cluster: 513, attribute: 28
      AttributeReportHandler: cluster: 513, attribute: 27
      AttributeReportHandler: cluster: 513, attribute: 41
      AttributeReportHandler: cluster: 514, attribute: 1
      AttributeReportHandler: cluster: 514, attribute: 0
      AttributeReportHandler: cluster: 514, attribute: 9
      AttributeReportHandler: cluster: 514, attribute: 10
      AttributeReportHandler: cluster: 514, attribute: 3
      AttributeReportHandler: cluster: 514, attribute: 8
      AttributeReportHandler: cluster: 514, attribute: 7
      AttributeReportHandler: cluster: 1029, attribute: 0
      AttributeReportHandler: cluster: 6, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 0
      AttributeReportHandler: cluster: 1066, attribute: 10
      AttributeReportHandler: cluster: 1066, attribute: 8
      AttributeReportHandler: cluster: 1067, attribute: 0
      AttributeReportHandler: cluster: 1067, attribute: 10
      AttributeReportHandler: cluster: 1067, attribute: 8
      AttributeReportHandler: cluster: 1036, attribute: 0
      AttributeReportHandler: cluster: 1036, attribute: 10
      AttributeReportHandler: cluster: 1036, attribute: 8
      AttributeReportHandler: cluster: 1037, attribute: 0
      AttributeReportHandler: cluster: 1037, attribute: 10
      AttributeReportHandler: cluster: 1037, attribute: 8
      AttributeReportHandler: cluster: 1070, attribute: 0
      AttributeReportHandler: cluster: 1070, attribute: 10
      AttributeReportHandler: cluster: 1070, attribute: 8
      AttributeReportHandler: cluster: 47, attribute: 12
      AttributeReportHandler: cluster: 47, attribute: 14
      AttributeReportHandler: cluster: 47, attribute: 65531
      AttributeReportHandler: cluster: 144, attribute: 8
      AttributeReportHandler: cluster: 145, attribute: 1
      AttributeReportHandler: cluster: 145, attribute: 3
      AttributeReportHandler: cluster: 114, attribute: 2
      AttributeReportHandler: cluster: 114, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 0
      AttributeReportHandler: cluster: 1043, attribute: 10
      AttributeReportHandler: cluster: 1043, attribute: 8
      AttributeReportHandler: cluster: 1045, attribute: 0
      AttributeReportHandler: cluster: 1045, attribute: 10
      AttributeReportHandler: cluster: 1045, attribute: 8
      AttributeReportHandler: cluster: 113, attribute: 2
      AttributeReportHandler: cluster: 113, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 0
      AttributeReportHandler: cluster: 1069, attribute: 10
      AttributeReportHandler: cluster: 1069, attribute: 8
      AttributeReportHandler: cluster: 91, attribute: 0
      AttributeReportHandler: cluster: 1026, attribute: 1
      AttributeReportHandler: cluster: 1026, attribute: 2
      AttributeReportHandler: cluster: 1026, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 0
      AttributeReportHandler: cluster: 1068, attribute: 10
      AttributeReportHandler: cluster: 1068, attribute: 8
      AttributeReportHandler: cluster: 158, attribute: 1
      AttributeReportHandler: cluster: 158, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 0
      AttributeReportHandler: cluster: 1071, attribute: 10
      AttributeReportHandler: cluster: 1071, attribute: 8
    event:
    cmd_response:
  child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[matter-thermostat] with 1 device IDs
DEBUG || Waiting on init messages
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> received lifecycle event: init
DEBUG || Startup process completed
DEBUG || Found DeviceLifecycleDispatcher handler in matter-thermostat
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> sending InteractionRequest: <InteractionRequest || type: SUBSCRIBE, info_blocks: [<InteractionInfoBlock || cluster: Thermostat, attribute: LocalTemperature>, <InteractionInfoBlock || cluster: Thermostat, attribute: OccupiedCoolingSetpoint>, <InteractionInfoBlock || cluster: Thermostat, attribute: OccupiedHeatingSetpoint>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMinHeatSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMaxHeatSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMinCoolSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: AbsMaxCoolSetpointLimit>, <InteractionInfoBlock || cluster: Thermostat, attribute: ThermostatRunningState>, <InteractionInfoBlock || cluster: Thermostat, attribute: ControlSequenceOfOperation>, <InteractionInfoBlock || cluster: Thermostat, attribute: SystemMode>, <InteractionInfoBlock || cluster: FanControl, attribute: FanModeSequence>, <InteractionInfoBlock || cluster: FanControl, attribute: FanMode>, <InteractionInfoBlock || cluster: RelativeHumidityMeasurement, attribute: MeasuredValue>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MinMeasuredValue>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MaxMeasuredValue>, <InteractionInfoBlock || cluster: TemperatureMeasurement, attribute: MeasuredValue>, <InteractionInfoBlock || cluster: PowerSource, attribute: BatPercentRemaining>]>
INFO  || <MatterDevice: 00000000-1111-2222-3333-000000000001 [nil]> emitting event: {"visibility":{"displayed":false},"capability_id":"thermostatOperatingState","state":{"value":["idle","heating","cooling"]},"component_id":"main","attribute_id":"supportedThermostatOperatingStates"}
DEBUG || matter-thermostat device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:183: Too many args for Thermostat Heating Setpoint.setHeatingSetpoint
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:518: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...tat/src/test/test_matter_thermostat_composed_bridged.lua:736: in main chunk
	[C]: in ?
FAILED