Please format your code with the </> button, it’s very hard to read without it.
A cursory glance tells me that (I think) your issue lies with the fibaro_id: it should be (say) entity_id: switch.myswitchformythingy
But you are interacting with HA and hc so I’m not certain. Is the node registered with hc and you are using HA to switch it ?
Why run both hc AND HA?
Why i use HC2 and HA is bcoz i had HC2 before and all my units paried, (I should to switch to only HA) Switch to HA bcoz the IKEA intergration and so on