Comments (3)
hmm, this change has side effects for Powercalc :-(
Also see #2142, where other integration / light causes similar problems now.
Fact is previously Tapo L900 only reported hs
as possible color_mode of the light. That is the color mode for color control.
However now the entity suddenly also reports color_temp
. This breaks powercalc as there are no measurements made for this color mode.
The check No lookup file found for mode
is raised upfront during powercalc sensor setup to report issues in early stage, but this error causes the powercalc sensor to not be setup at all.
Not sure how to resolve yet. I'm tempted to just remove the validation on startup all toghether. But than problems will arise whenever a user puts this light on color_temp
.
Could you try if color_temp
mode is working at all for this lightstrip? Might be that it is falsly reported as a supported_color mode.
from homeassistant-powercalc.
It's even worse than that, because TapoLight reports following color_modes:
{<ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.HS: 'hs'>, <ColorMode.ONOFF: 'onoff'>}
That combination should never be possible at all.
brightness
and onoff
should be only supported color mode of it's own and never be mixed. According to HA specifications: https://developers.home-assistant.io/docs/core/entity/light/#color-modes
So the main issue is in TapoLight integration which is reporting wrong color modes for the light.
I would suggest you to raise an issue in TapoLight repository as this error with the color modes should be fixed in that integration. https://github.com/petretiandrea/home-assistant-tapo-p100/issues
from homeassistant-powercalc.
Related Issues (20)
- measure utility returns ModuleNotFoundError: No module named 'Crypto' running in docker HOT 2
- Make source entity optional for virtual power flow HOT 5
- Database corruption on sensor rename HOT 3
- Add energy costs HOT 1
- shelly 1 mini gen3 with Powercalc - OK, shelly 1PM mini gen3 with Powercalc - OK, shelly PM Mini with Powercalc NOK HOT 11
- Fix github action LUT validator HOT 1
- Fix Github action LUT visualization HOT 1
- Model 3261331P6 manufactured by Philips Zigbee ID: 3261331P6 | 929003055301 HOT 1
- Support Tuya Lonsonho Switch HOT 4
- possibility to disable a supported_color_modes HOT 4
- global energie sensor setting not working for groups HOT 18
- The integration needs to be adapted to changes in event filter signature HOT 4
- manual yaml sensors are not fully bound to their integrations and devices (binding does not appear in UI or searches) HOT 4
- [FR] Make group sensors more group sensor compliant HOT 9
- Photovoltaic is giving negative output (this is wanted) HOT 6
- Update w/o requiring restarts. HOT 1
- [FR] add option to compute group energy HOT 6
- Help for less precise estimatives HOT 2
- Unavailable powercalc entity HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homeassistant-powercalc.