Skip to content

Commit 2776f45

Browse files
authored
Add issue template (#82)
* Add issue template * Update bug_report.md
1 parent 825294d commit 2776f45

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
### Description
11+
12+
<!--What is the bug and how to reproduce it-->
13+
14+
### Log
15+
16+
<!--A log from when the issue occurred-->
17+
18+
To enable debug logging in Python:
19+
20+
```python
21+
import logging
22+
23+
logging.getLogger().setLevel(logging.DEBUG)
24+
```
25+
26+
To enable debug logging in Home Assistant:
27+
28+
#### Approach 1: configuration.yaml
29+
30+
```yaml
31+
logger:
32+
default: warning # or whatever
33+
logs:
34+
adb_shell: debug
35+
```
36+
37+
#### Approach 2: `logger.set_level` service
38+
39+
```yaml
40+
adb_shell: debug
41+
```

0 commit comments

Comments
 (0)