These messages come up in the log when I change the value from the GUI:
15:13:18:356 84:2e:14:ff:fe:35:9d:11-01-0b04/config/ledindication expression: if (Attr.val == 0) { Item.val = false; } else { Item.val = true; } --> true
15:13:18:357 [INFO] - No button map for: TS0121, unicast to: 0x0000, endpoint: 0x01, cluster: ONOFF (0X0006), command: ATTRIBUTE_REPORT (0X0A), payload: 01803002, zclSeq: 95
15:13:18:357 ZCL attribute report 0x842E14FFFE359D11 for cluster: 0x0006, ep: 0x01, frame control: 0x08, mfcode: 0x0000
15:13:18:357 payload: 01803002
[...]
15:13:23:415 84:2e:14:ff:fe:35:9d:11-01-0b04/config/ledindication expression: if (Attr.val == 0) { Item.val = false; } else { Item.val = true; } --> true
15:13:23:416 [INFO] - No button map for: TS0121, unicast to: 0x0000, endpoint: 0x01, cluster: ONOFF (0X0006), command: ATTRIBUTE_REPORT (0X0A), payload: 01803001, zclSeq: 96
15:13:23:417 ZCL attribute report 0x842E14FFFE359D11 for cluster: 0x0006, ep: 0x01, frame control: 0x08, mfcode: 0x0000
15:13:23:417 payload: 01803001
[...]
15:13:27:801 84:2e:14:ff:fe:35:9d:11-01-0b04/config/ledindication expression: if (Attr.val == 0) { Item.val = false; } else { Item.val = true; } --> true
15:13:27:803 [INFO] - No button map for: TS0121, unicast to: 0x0000, endpoint: 0x01, cluster: ONOFF (0X0006), command: ATTRIBUTE_REPORT (0X0A), payload: 01803003, zclSeq: 97
15:13:27:803 ZCL attribute report 0x842E14FFFE359D11 for cluster: 0x0006, ep: 0x01, frame control: 0x08, mfcode: 0x0000
15:13:27:803 payload: 01803003
[...]
15:13:31:756 84:2e:14:ff:fe:35:9d:11-01-0b04/config/ledindication expression: if (Attr.val == 0) { Item.val = false; } else { Item.val = true; } --> false
15:13:31:760 [INFO] - No button map for: TS0121, unicast to: 0x0000, endpoint: 0x01, cluster: ONOFF (0X0006), command: ATTRIBUTE_REPORT (0X0A), payload: 01803000, zclSeq: 98
15:13:31:761 ZCL attribute report 0x842E14FFFE359D11 for cluster: 0x0006, ep: 0x01, frame control: 0x08, mfcode: 0x0000
15:13:31:761 payload: 01803000
15:13:31:761 Websocket 192.168.178.140:63550 send message: {"config":{"ledindication":false,"on":true,"reachable":true},"e":"changed","id":"43","r":"sensors","t":"event","uniqueid":"84:2e:14:ff:fe:35:9d:11-01-0b04"} (ret = 156)
When I use the REST API:
15:17:11:130 84:2e:14:ff:fe:35:9d:11-01-0b04/config/ledindication expression: if (Item.val) { Attr.val = 3; } else { Attr.val = 0; } --> 3
15:17:11:130 writeZclAttribute, ep: 0x01, cl: 0x0006, attr: 0x8001, type: 0x30, mfcode: 0x0000
15:17:11:189 Websocket 192.168.178.140:63550 send message: {"attr":{"lastseen":"2025-11-02T14:17Z"},"e":"changed","id":"12","r":"lights","t":"event","uniqueid":"84:2e:14:ff:fe:35:9d:11-01"} (ret = 130)
15:17:11:190 Websocket 127.0.0.1:41446 send message: {"attr":{"lastseen":"2025-11-02T14:17Z"},"e":"changed","id":"12","r":"lights","t":"event","uniqueid":"84:2e:14:ff:fe:35:9d:11-01"} (ret = 130)
15:17:11:202 84:2e:14:ff:fe:35:9d:11-01-0b04/config/ledindication expression: if (Attr.val == 0) { Item.val = false; } else { Item.val = true; } --> true
15:17:11:204 [INFO] - No button map for: TS0121, unicast to: 0x0000, endpoint: 0x01, cluster: ONOFF (0X0006), command: ATTRIBUTE_REPORT (0X0A), payload: 01803003, zclSeq: 107
15:17:11:204 ZCL attribute report 0x842E14FFFE359D11 for cluster: 0x0006, ep: 0x01, frame control: 0x08, mfcode: 0x0000
15:17:11:204 payload: 01803003
15:17:11:205 SC config/ledindication: synced
15:17:11:205 SC --> StateFinished
15:17:11:205 SC state change finished: 84:2e:14:ff:fe:35:9d:11-01-0b04
[...]
15:17:17:162 84:2e:14:ff:fe:35:9d:11-01-0b04/config/ledindication expression: if (Item.val) { Attr.val = 3; } else { Attr.val = 0; } --> 0
15:17:17:162 writeZclAttribute, ep: 0x01, cl: 0x0006, attr: 0x8001, type: 0x30, mfcode: 0x0000
15:17:17:194 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0
15:17:17:226 84:2e:14:ff:fe:35:9d:11-01-0b04/config/ledindication expression: if (Attr.val == 0) { Item.val = false; } else { Item.val = true; } --> false
15:17:17:228 [INFO] - No button map for: TS0121, unicast to: 0x0000, endpoint: 0x01, cluster: ONOFF (0X0006), command: ATTRIBUTE_REPORT (0X0A), payload: 01803000, zclSeq: 108
15:17:17:228 ZCL attribute report 0x842E14FFFE359D11 for cluster: 0x0006, ep: 0x01, frame control: 0x08, mfcode: 0x0000
15:17:17:229 payload: 01803000
15:17:17:229 SC config/ledindication: synced
15:17:17:229 SC --> StateFinished
15:17:17:230 SC state change finished: 84:2e:14:ff:fe:35:9d:11-01-0b04
When changing the value via REST API, and then checking in the GUI, the “Back Light mode” is set to Mode 4 - Actual state when I send true, and to Mode 1 - Off when I set the value to false.
The REST API apparently does not support all 4 states, and sending true does nothing, actually.