I have this in a script.
alias: Eve_to_3_phase
sequence:
- service: modbus.write_register
data:
hub: Eve
address: 1215
slave: 1
value: 3
mode: single
but I would like to run this from an Appdeamon application so I made a method with this command which supposedly should do the same
self.call_service("modbus/write_register", address = 1215, slave = 1, hub = "Eve", value = 1)
but it seems that this is not working.
No errormessages in the Appdeamon errorlog.
I’ve tried to put the numbers in Quotes " ", no success
where am I going wrong?