Troubleshooting ESPHome Automations

How do I troubleshoot ESPHome automations? I have on_value and lambda that is not performing as expected and I’m not sure how to troubleshoot. Nothing shows in the logs even when set to VERY_VERBOSE.

Use the logger.log action to log your own diagnostic messages.

Thanks for the idea. My issue was in a lambda so I used the lambda logging utilities in custom component.