Skip to content

entities number as first character of id gives invalid decimal literal error #165

Closed
@eavanvalkenburg

Description

@eavanvalkenburg

I just started using pyscript and it is amazing! can't believe I missed it so far, but I have one bug, I have a alarm_control_panel that is called 8120_aaa_1_alarm which gives the error:
SyntaxError: invalid decimal literal (file.blind.control_blinds @state_trigger(), line 1)

For state I can work around it by using state.get("alarm_control_panel.8120_aaa_1_alarm") but in the trigger I don't think I can.

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