homeassistant-powercalc: "Lookup table not found" error
According to discussion.
HA Core log shows
ERROR (MainThread) [custom_components.powercalc.strategy_lut] Lookup table not found
Usually few errors in a row (2-6)
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 27 (27 by maintainers)
@QbaF I can’t show examples similar to your installation, because they don’t exist in my house, but I’ve spent lots of time on this subject and I just know about few things, like: light characteristic corrections used by some manufactures but not all, driver hardware differs between generations and between manufacturers is also different, so use of LUT file from different manufacturer is not the best way…
hehe I’m also from Poland (better known as szopen ;P)
Much better:)
Color mode unknown is checked for now, and results in a debug log entry, not an error anymore. This is on the master branch now.
This line will only be shown when state goes to “on”, not for “off”, because the LUT table is only read when the light is actually on. I have added the entity id to every log line so things will be more clear.
Extra debug information is already implemented in master branch. You can install this branch with HACS. Just click reinstall and you can select master.
Problem is with
light.witryna_1_4cbut log is probably not “fresh after restart HA” (I can’t find initialization sensor related to light.witryna_1_4c).It seems like faulty LUT file (maybe created for another light model? because this light seems to have parameters out of measured range). But going deeper - it is interesting, as the same values worked earlier (before error).
Set logger related to powercalc to debug mode (this is part of
configuration.yaml)and restart HA and provide log entries (related to powercalc) from the beginning - it should help with identifying problematic entity. Something like this (I’ve included last line from other integration not related to powercalc) - it is just example (I do not have similar errors)