Skip to content

Conversation

@zacharee
Copy link

Fixes #33

@JohNan
Copy link
Owner

JohNan commented Sep 16, 2024

Thanks, but I don't think the configuration options has any effect. It looks like I have forgot to remove some kind of template code. The entire configuration can probably be removed.

In any case, I suggest to cast it to a str on line 179 in config_flow instead, because the constant is used elsewhere.

@zacharee
Copy link
Author

I checked the other usages, and the Home Assistant API accepts str anywhere it accepts Platform. I'm guessing that's for backwards compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

voluptuous.error.SchemaError: unsupported schema data type 'Platform'

2 participants