bramstroker / homeassistant-powercalc

Custom component to calculate estimated power consumption of lights and other appliances
MIT License
1.03k stars 265 forks source link

"Skipping sensor setup: Model not found in library" #1072

Closed RubenKelevra closed 2 years ago

RubenKelevra commented 2 years ago

I noticed the following messages in my log:

This error originated from a custom integration.

Logger: custom_components.powercalc.sensors.power Source: custom_components/powercalc/sensors/power.py:93 Integration: Powercalc (documentation, issues) First occurred: 13:04:57 (11 occurrences) Last logged: 13:04:57

sensor.plug_washing_machine_energy: Skipping sensor setup: Model not found in library (manufacturer: TuYa, model: TS0121_plug) sensor.ruben_s_desktop_energy: Skipping sensor setup Model not found in library (manufacturer: TuYa, model: TS0121_plug) sensor.ruben_s_desktop_energy: Skipping sensor setup: Model not found in library (manufacturer: TuYa, model: TS0121_plug) sensor.air_cleaner_ruben_s_room_consumed_energy: Skipping sensor setup Model not found in library (manufacturer: espressif, model: d1_mini) sensor.air_cleaner_ruben_s_room_consumed_energy: Skipping sensor setup: Model not found in library (manufacturer: espressif, model: d1_mini)

And was wondering how they can be fixed. The TS0121 is a simple Zigbee power meter. The d1_mini on the other hand is a ESP8266 board which runs ESPHome and is sending out estimated power consumptions by the controlled device.

Here's how this is setup:

https://community.home-assistant.io/t/ikea-fornuftig-in-home-assistant/318341/32

bramstroker commented 2 years ago

You must have setup some powercalc configuration for this sensors, as auto discovery only handles light and switch domain currently. Could you share your powercalc configuration?

bramstroker commented 2 years ago

@RubenKelevra did you see my comment. I'm unable to solve this issue without more information. Are you able to share your full powercalc config?

bramstroker commented 2 years ago

Closed due to inactivity.