Skip to content

service.call() is not generated in pyscript_builtins.py #788

@ryan-fessler

Description

@ryan-fessler

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions