Get value from zigbee2mqtt device

Hi,
I have a device connected via zigbee2mqtt and I would like to get a value from it to use in an automation. No matter what I do I don’t appear to be able to read it. When I look in the zigbee2mqtt section for the device I see that it exposes a lot:

When I go to the state tab I have the following:

{
    "last_seen": 1696758210466,
    "linkquality": 184,
    "local_temperature_heat": 21.71,
    "local_temperature_water": 21,
    "occupied_heating_setpoint_heat": 1,
    "occupied_heating_setpoint_water": 22,
    "running_state_heat": "idle",
    "running_state_water": "heat",
    "system_mode_heat": "off",
    "system_mode_water": "emergency_heating",
    "temperature_setpoint_hold_duration_heat": 0,
    "temperature_setpoint_hold_duration_water": 0,
    "temperature_setpoint_hold_heat": false,
    "temperature_setpoint_hold_water": true,
    "weekly_schedule_water": {
        "days": [
            "saturday"
        ],
        "transitions": [
            {
                "heating_setpoint": 99,
                "time": 330
            },
            {
                "heating_setpoint": 0,
                "time": 510
            },
            {
                "heating_setpoint": 0,
                "time": 720
            },
            {
                "heating_setpoint": 0,
                "time": 840
            },
            {
                "heating_setpoint": 99,
                "time": 1020
            },
            {
                "heating_setpoint": 0,
                "time": 1200
            }
        ]
    }
}

How can I for example get system_mode_water into an automation?
Thanks

Check the existing entities in HA, you’ll probably find that’s an attribute of one.

Doesn’t appear to be

When you look at the device in Developer Tools → State. What state and state attributes do you have?

I didn’t know that pages existed, I think I see a bunch of heating related stuff so hopefully one of them will do it, thanks for pointing that out @Dujith