Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ufozone committed Dec 16, 2023
1 parent cd8a2ac commit b0f3f4f
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 6 deletions.
27 changes: 24 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,32 @@ _These entities are disabled by default. You have to activate it if you want to
```
attributes:
wlan_name, quota, used, duration, status, create_time, start_time, end_time, status_expires, byte_quota, up_bandwidth, down_bandwidth, last_poll
wlan_name, id, quota, used, duration, status, create_time, start_time, end_time, status_expires, byte_quota, up_bandwidth, down_bandwidth, last_poll
```
### Logging
### Services
Set the logging to debug with the following settings in case of problems.
* list:
Get a list of all valid vouchers.
* create:
Create a new voucher with your own parameters or the default settings of the integration.
* remove:
Remove a special voucher or the last created voucher.
* update:
Fetch data from UniFi Controller immediately.
## Debugging
To enable debug logging for this integration you can control this in your Home Assistant `configuration.yaml` file.
Set the logging to debug with the following settings in case of problems:
```
logger:
Expand All @@ -240,6 +260,7 @@ logger:
custom_components.unifi_voucher: debug
```
After a restart detailed log entries will appear in `/config/home-assistant.log`.
***
Expand Down
27 changes: 24 additions & 3 deletions info.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,32 @@ _These entities are disabled by default. You have to activate it if you want to
```
attributes:
wlan_name, quota, used, duration, status, create_time, start_time, end_time, status_expires, byte_quota, up_bandwidth, down_bandwidth, last_poll
wlan_name, id, quota, used, duration, status, create_time, start_time, end_time, status_expires, byte_quota, up_bandwidth, down_bandwidth, last_poll
```
### Logging
### Services
Set the logging to debug with the following settings in case of problems.
* list:
Get a list of all valid vouchers.
* create:
Create a new voucher with your own parameters or the default settings of the integration.
* remove:
Remove a special voucher or the last created voucher.
* update:
Fetch data from UniFi Controller immediately.
## Debugging
To enable debug logging for this integration you can control this in your Home Assistant `configuration.yaml` file.
Set the logging to debug with the following settings in case of problems:
```
logger:
Expand All @@ -240,6 +260,7 @@ logger:
custom_components.unifi_voucher: debug
```
After a restart detailed log entries will appear in `/config/home-assistant.log`.
***
Expand Down

0 comments on commit b0f3f4f

Please sign in to comment.