Custom component: Saver

The problem is actually in the template itself, not in the Saver.

ac_device input has following setting: multiple: true

Because of that variable myAcDevice is actually a list of entity IDs, not a single string with entity ID, so you can't use it in the following template:

value: "{{ state_attr( myAcDevice, 'hvac_action' ) }}"

Everything should work with multiple: false