Bram Gerritsen
Bram Gerritsen
Started to work on this: #1115
Implemented and release v1.0.0-beta.1
I have added better error logging, so we can see what the root cause of this issue is. Code is in master, so you can install this one, or wait...
The error is: `Skipping sensor setup light.bathroom_lightstrip: Power profile has no supported_modes in model.json. manufacturer: TuYa, model: TS0505B` This is not a model which powercalc provides a profile for, so...
Hmm very strange. I will have another look into the code how this error could be triggered, and see if I can reproduce.
Btw what does your full powercalc config look like?
@adamrutt, could you share your configuration? that would probably help a lot solving this issue.
I have found the issue. Here an alias for this model was introduced. https://github.com/bramstroker/homeassistant-powercalc/blob/master/custom_components/powercalc/aliases.py#L120 However this ledstrip has multiple profiles depending on the length of the lightstrip: https://github.com/bramstroker/homeassistant-powercalc/tree/master/custom_components/powercalc/data/tuya/NO66-ZB - length1...
Implemented with #966
I have been working on refactoring of the power profile library which should make it trivial to add the model name to the dropdown, however as they are sometimes very...