// request
{"type":"validate_config","condition":{"condition":"time","before":"20:00:00","after":"09:00:00","weekday":["mon1","tue3","wed","thu","fri"]},"id":43}
// response
{"id":43,"type":"result","success":true,"result":{"condition":{"valid":false,"error":"value must be one of ['fri', 'mon', 'sat', 'sun', 'thu', 'tue', 'wed'] @ data['weekday'][0]"}}}
We should be relying on home-assistants web-socket action.
Here are examples ha websocket payload for validation