Firmware update via Network Management Systems

I want to update the firmware of devices from NMS. Currently it shows only 3 states for a device (ON ,OFF ,UNAVAILABLE) in Home Assistant.Is there any other methods through which i can do firmware update for devices?

I think only Zwave and Zigbee devices have integrations that allow updates.
It is generally not a core HA function.
Look to how the manufacturer suggests doing it maybe.

Ubiquiti devices (switches, access points and so on) allow you to update through HA.

Can you explain how is it done through Network Management System?

No, I can't. I just replied with an example that it's not only Zigbee and Z-wave that allow firmware updates through HA. I have no idea what integration you are talking about.

i am developing a network management system in which i have integrated home assistant. i want to do configuration management and OTA firmware updates of devices using API or websockets which is already been added to home assistant platform . But currently when i fetch the configuration details of device it shows only 3 states ON,OFF,UNAVAILABLE for all devices. but currently all the devices that i have shows the states as unavailable.is there a mechanism to do the firmware OTA updates via Api or websockets or is my device incompatible for ota updates?