Add debug log instructions to readme
This commit is contained in:
11
README.md
11
README.md
@@ -140,6 +140,17 @@ Energy monitoring (voltage, current...) values can be obtained in two different
|
|||||||
unit_of_measurement: 'W'
|
unit_of_measurement: 'W'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Debugging
|
||||||
|
|
||||||
|
Whenever you write a bug report, it helps tremendously if you include debug logs directly (otherwise we will just ask for them and it will take longer). So please enable debug logs like this and include them in your issue:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
logger:
|
||||||
|
default: warning
|
||||||
|
logs:
|
||||||
|
custom_components.localtuya: debug
|
||||||
|
```
|
||||||
|
|
||||||
# Notes:
|
# Notes:
|
||||||
|
|
||||||
* Do not declare anything as "tuya", such as by initiating a "switch.tuya". Using "tuya" launches Home Assistant's built-in, cloud-based Tuya integration in lieu of localtuya.
|
* Do not declare anything as "tuya", such as by initiating a "switch.tuya". Using "tuya" launches Home Assistant's built-in, cloud-based Tuya integration in lieu of localtuya.
|
||||||
|
Reference in New Issue
Block a user