Set log level
ha_set_log_levelRaise or lower Home Assistant integration log levels at runtime to debug one or several integrations before reproducing a problem, avoiding noisy global debug logs.
Instructions
Raise or lower logging for one integration (or several) at runtime, via logger.set_level. Use this before reproducing a problem — debug on one integration, rather than global debug that drowns the log. Bare names are treated as core integrations ('hue' -> homeassistant.components.hue); anything containing a dot is used as-is ('custom_components.vomesync'). Levels reset on restart. Requires HA_ALLOW_WRITE=true in direct mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Level to apply to 'integration'. | |
| levels | No | Several at once: { "hue": "debug", "custom_components.vomesync": "info" }. | |
| instance_id | No | Optional: the instance you mean (as listed by vomehome_list_instances). When given, the call is refused if this session is targeting a different home, instead of answering from it. | |
| integration | No | Integration or logger path to change, e.g. 'hue' or 'custom_components.vomesync'. |