JSONPATH transformation of MSQTT from motion sensor failing

Platform: Raspberry Pi 4, Pi OS Bullseye, Java openjdk version “11.0.18”, openHAB 3.4.3

I’ve applied a JSONpath transformation to the MSQTT output from my Aqara motion sensor at the channel level via the GUI interface but for some reason it’s failing.

MSQTT output string is:

Outgoing Value Transformation in the Channel configuration is:

But output to the item is still the full output string. Can anyone help, please?

openhab.log just gives:
2023-06-15 10:46:54.627 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state ‘{“battery”:100,“device_temperature”:30,“illuminance”:24,“illuminance_lux”:24,“linkquality”:160,“occupancy”:false,“power_outage_count”:22,“voltage”:3005}’ with function ‘JSONPATH:$.occupancy’ and format ‘%s’

Never mind, I’m an idiot, it should have been incoming value obviously :laughing: