Sonoff trv parameters

I have a sonoff trv, which is working fine but I am having difficulty in extracting parameters of interest.

I am using a Raspberry 4 running docker with HA version 2025.3.0.

In developer tools it shows:
entity - climate.sonoff_trvzb_thermostat,
attributes - current_temperature, temperature, hvac_action

When I create a helper {{ state_attr(‘climate.sonoff_trvzb_thermostat’, ‘temperature’) }}
this gives a gives a result, as does ‘current_temperature’

When I create a binary sensor for ‘hvac-action’ it just returns the value “normal”, whereas in the zigbee device info section it shows “heating” and “idle”

Any ideas?

Found it.
It is ‘hvac_action’ not ‘hvac-action’. Sigh