Home Assistant WebSocket API error

I’m trying to set logger.set_default_level from developer tools


and am getting the following error - Error handling message: expected dict for dictionary value @ data[‘service_data’]. Got ‘debug’

I’m running the latest core-2021.2.3.

Any help would be appreciated.

Have just made a couple very minor changes to my configuration.yaml and restarted the core and all appears to be working as expected now.

# Logging
logger:
  default: warning
  logs:
    custom_components.tesla_gateway: debug