From 7390f5903f8bf7b79abc880368c42255d59cd633 Mon Sep 17 00:00:00 2001 From: Glenn Waters Date: Mon, 2 Oct 2023 03:12:46 -0400 Subject: [PATCH] Update UPB docs to address feedback and to add Debugging section (#29086) * Update UPB docs to address feedback and to add Debugging section * tiny tweak --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --- source/_integrations/upb.markdown | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/source/_integrations/upb.markdown b/source/_integrations/upb.markdown index e0f4fc7ff18..3d03682d88e 100644 --- a/source/_integrations/upb.markdown +++ b/source/_integrations/upb.markdown @@ -230,3 +230,16 @@ kitchen_fade_on: ## Notes - A UPB device does not always report its current state. For example, if you call `upb.light_fade_start` and then, a few seconds later, call `upb.light_fade_stop`, the selected UPB device will not report its new brightness level. However, if you then call `homeassistant.update_entity` it will make the UPB device report its current state to Home Assistant. +- Alterations to your UPB configuration with UpStart must be re-exported. The exported UPE file must have the same filename in the Home Assistant `config` directory. + +## Debugging +Debug logs are often required to solve an issue. To enable UPB debug logs add the following to your `configuration.yaml` file in your Home Assistant `config` directory: + +```yaml +logger: + logs: + upb_lib: debug + homeassistant.components.upb: debug +``` + +After updating your configuration file, restart Home Assistant. The debug logs will be in the file `homeassistant.log` in the `config` directory.