jfarmer08 / ha-sengledapi

Home Assistant Integration for Sengled Bulbs. This is a custom component to allow control of Sengled Bulbs in Homeassistant using the unofficial Sengled API. Please note this mimics the Sengled app and therefore Sengled may cut off access at anytime.
Apache License 2.0
104 stars 34 forks source link

[Bug] Log Errors for State during Startup #44

Closed mikeydarin closed 3 years ago

mikeydarin commented 3 years ago

Describe the bug

This is not something that prevents operation This error shows up in logs after startup: "Received invalid light is_on state: unavailable. Expected: on, off, true, false" Appears to be associated with the warning about using states here https://www.home-assistant.io/docs/configuration/templating/#home-assistant-template-extensions

To Reproduce Steps to reproduce the behavior:

  1. Restart HA
  2. Observe errors in log

Expected behavior Hoping for fewer errors in log.

System configuration System: Proxmox VM HA Version: 2021.3.4 SengledApi Version: 0.2

home-assistant.log

2021-03-30 16:28:21 ERROR (MainThread) [homeassistant.components.template.light] Received invalid light is_on state: unavailable. Expected: on, off, true, false
jfarmer08 commented 3 years ago

I will add this to the list, but it could take me awhile. In the meantime you roll back you version of HA.

On Tue, Mar 30, 2021 at 6:58 PM Michael D Reynolds @.***> wrote:

Describe the bug

This is not something that prevents operation This error shows up in logs after startup: "Received invalid light is_on state: unavailable. Expected: on, off, true, false" Appears to be associated with the warning about using states here https://www.home-assistant.io/docs/configuration/templating/#home-assistant-template-extensions

To Reproduce Steps to reproduce the behavior:

  1. Restart HA
  2. Observe errors in log

Expected behavior Hoping for fewer errors in log.

System configuration System: Proxmox VM HA Version: 2021.3.4 SengledApi Version: 0.2

home-assistant.log

2021-03-30 16:28:21 ERROR (MainThread) [homeassistant.components.template.light] Received invalid light is_on state: unavailable. Expected: on, off, true, false

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/jfarmer08/ha-sengledapi/issues/44, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKHFB3AZGCJAPHU2JLU3ITTGJQT7ANCNFSM42DH4ISQ .

-- Thanks Allen :)