The function service.call() is not generated in pyscript_builtins.py.
This likely conflicts with the @service decorator, so I'm not sure how it would be handled.
There are some cases where I need to use service.call() instead of calling the service directly with domain.name(). For instance, I can't call light.turn_on() with transition set to a float because it expects an int, so I need to use service.call() instead.
The function
service.call()is not generated inpyscript_builtins.py.This likely conflicts with the
@servicedecorator, so I'm not sure how it would be handled.There are some cases where I need to use
service.call()instead of calling the service directly withdomain.name(). For instance, I can't calllight.turn_on()withtransitionset to a float because it expects an int, so I need to useservice.call()instead.