Change system_mode on Namron thermostat

Namron thermostat uses parameter System_mode as Away modus (Unocupied). Can this be changed thru an automation? I can not seem to find anything around this.

Her is from themostat documentastion:
Configure Device Operation Mode through Zigbee
5.1 Application Endpoint #0 –ZigBee Device Object
• Application profile Id 0x0000
• Application device Id 0x0000
• Supports all mandatory clusters
*Since Zigbee does not have away mode, the attribute Occupancy (occupied or unoccupied) of Thermostat (0x0201) *
and attribute Occupancy of received OccupancySensing (0x0406) are required to judge whether it is away mode.
*1) if the device receives other devices’ or the gateway’s report: the Bit 0 of the value of attribute Occupancy (0x0000) of *
*OccupancySensing Cluster (0x0406) is 1, which means occupied, then the operation mode of the thermostat, the *
*attribute SystemMode(0x001c)=0x04(heat) of Thermostat (0x0201), meanwhile the value of attribute Occupancy *
(0x0002) of Thermostat (0x0201) is 0. It means the Away Mode is activated, and the thermostat UI will display.
*2) if the gateway send command to modify the attribute SystemMode(0x001c) of Thermostat (0x0201), the thermostat *
will quit Away Mode. Meanwhile the value of attribute Occupancy (0x0002) of Thermostat (0x0201) is 1.
*3) The proprietary attribute 0x2002(Manufacturer Code=0x1224) of the cluster 0x0201 can be modified to configure *
whether it is away mode or at home.
Note: Away Mode uses attribute UnOccupiedHeatingSetpoint to set temperature.
Other modes uses attribute OccupiedHeatingSetpoint to set temperature

I have a Namron thermostat connected through Zigbee2MQTT and it exposes a switch called away_mode. Are you having trouble with it switching to away mode unwanted? I solved that by updating the firmware on the thermostat.

I have mine integrated throu HA Zha integration. Not from zigbee2mqtt. I would like to not move the hold installation.

Seems you might need a “quirk” then, I’m not familiar with ZHA. Zigbee Home Automation - Home Assistant