@Eeeeeediot wrote:
Hi,
I would like to set the logger to debug a specific integration on the fly. Is there any way to get something like this to work?
input_text: log_level_integration: name: Integration initial: doods input_boolean: log_level_integration: name: Log Level Integration initial: off automation: - alias: Log Level Integration trigger: platform: state entity_id: input_boolean.log_level_integration to: 'on' action: service: logger.set_level data_template: homeassistant.components."{{states('input_text.log_level_integration')}}": debug
Posts: 2
Participants: 2