Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

state_machine.transition action/condition parameters are not validated #1

Open
muxa opened this issue Aug 27, 2021 · 1 comment
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@muxa
Copy link
Owner

muxa commented Aug 27, 2021

Currently there's no validation for the from, input and to parameters on the state_machine.transition action and on state_machine.transition confition. This is something that would be nice to add.

I don't know ESPHome validation framework well enough to implement this. If you know how to do that please help :)

@muxa muxa added enhancement New feature or request help wanted Extra attention is needed labels Aug 27, 2021
@muxa muxa changed the title state_machine.transition action/condition parameters is not validated state_machine.transition action/condition parameters are not validated Aug 30, 2021
@muxa
Copy link
Owner Author

muxa commented Oct 3, 2021

Can potentially use CORE.raw_config to access state machine config to validate actions/conditions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant