Solution: Implement a zhashx cache containing <asset_name, {gpo_number, default_state, last_action}>.
On exit, store the cache into file.
On ASSET message, check whether the asset is GPO and update cache accordingly.
On GPO_INTERACTION command, update the last action.
On start, load the cache from the state file.
Solution: Implement a zhashx cache containing <asset_name, {gpo_number, default_state, last_action}>. On exit, store the cache into file. On ASSET message, check whether the asset is GPO and update cache accordingly. On GPO_INTERACTION command, update the last action. On start, load the cache from the state file.
Signed-off-by: Jana Rapava janarapava@eaton.com