Skip to content

Spook custom integration and autocomplete_generator #13

@ALERTua

Description

@ALERTua

Spook custom integration prevents the autocomplete_generator from functioning:

[custom_components.pyscript.apps.pyscript_autocomplete.autocomplete_generator] Failed to generate function for number.increment {'name': 'Increase value 👻', 'description': 'Increase a number entity value by a certain amount.', 'fields': {'amount': {'name': 'Amount', 'description': 'The amount to increase the number with. If not provided, the step of the number entity will be used.', 'required': False, 'selector': {'number': None}}}, 'target': {'entity': [{'domain': ['number']}]}}
2024-04-04 14:42:08.805 ERROR (MainThread) [custom_components.pyscript.apps.pyscript_autocomplete.autocomplete_generator] Exception in <apps.pyscript_autocomplete.autocomplete_generator> line 85:
                        if "step" in selector:
                                     ^
TypeError: argument of type 'NoneType' is not iterable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions