Zigbee 2 MQTT not tracking device state correctly

My home assistant is not tracking device state correctly with zigbee2mqtt. What parameter(s) should I tweak to get this to work properly? (note zigbee2mqtt works, however the on off states of certain lights are not tracked correctly in the HA gui)