mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Add custom_component syntax usage in examples (#9265)
Because this syntax is not visible else where in the documentation.
This commit is contained in:
parent
f8a68d8aa7
commit
f99eb576c9
@ -34,6 +34,7 @@ logger:
|
|||||||
logs:
|
logs:
|
||||||
homeassistant.components.device_tracker: critical
|
homeassistant.components.device_tracker: critical
|
||||||
homeassistant.components.camera: critical
|
homeassistant.components.camera: critical
|
||||||
|
custom_components.my_integration: critical
|
||||||
```
|
```
|
||||||
|
|
||||||
To ignore all messages lower than critical and log event for specified
|
To ignore all messages lower than critical and log event for specified
|
||||||
@ -48,6 +49,7 @@ logger:
|
|||||||
homeassistant.components.rfxtrx: debug
|
homeassistant.components.rfxtrx: debug
|
||||||
homeassistant.components.device_tracker: critical
|
homeassistant.components.device_tracker: critical
|
||||||
homeassistant.components.camera: critical
|
homeassistant.components.camera: critical
|
||||||
|
custom_components.my_integration: debug
|
||||||
```
|
```
|
||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
@ -106,6 +108,7 @@ service: logger.set_level
|
|||||||
data:
|
data:
|
||||||
homeassistant.components: warning
|
homeassistant.components: warning
|
||||||
homeassistant.components.media_player.yamaha: debug
|
homeassistant.components.media_player.yamaha: debug
|
||||||
|
custom_components.my_integration: debug
|
||||||
```
|
```
|
||||||
|
|
||||||
The log information are stored in the
|
The log information are stored in the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user