muxa / esphome-state-machine

ESPHome State Machine component
MIT License
75 stars 7 forks source link

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

Open muxa opened 3 years ago

muxa commented 3 years ago

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 commented 3 years ago

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