-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
power_meter
device profiles detect too many entities
#2866
Comments
As discussed. Working on a per device discovery now, which is ideal for self usage of IoT devices. Have working draft ready now. Needs some final polishing. But we can add This will also cause the powercalc profile to only be discovered once per device, as it's not bounded to specific entities. |
@RubenKelevra Fixes for this was released in latest v1.17 beta versions. |
@bramstroker I got the beta 2 installed, but those messages did not disappear. But would they? Or are they once send out by Powercalc permanent, even through reboots? |
I see. discovery messages are not persistent. Forgot to actually add the new Give it another restart and it should work correctly now hopefully. |
Strange. Could you try with these log lines added and enable debug logging? You can overwrite / modify |
Here's the log: �[36m2025-01-08 22:35:49.114 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.shellypmminig3_ecda3bc656a0_power: Found model information on device (manufacturer=Shelly, model=Shelly PM Mini Gen3, model_id=S3PM-001PCEU16)�[0m
�[36m2025-01-08 22:35:49.128 DEBUG (MainThread) [custom_components.powercalc.discovery] Found power profile: shelly/shelly pm mini gen3, discovery_by: entity�[0m
�[36m2025-01-08 22:35:49.129 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.shellypmminig3_ecda3bc656a0_power: Initiating discovery flow, unique_id=pc_ECDA3BC656A0-pm1:0-power_pm1�[0m
�[36m2025-01-08 22:35:49.129 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.shellypmminig3_ecda3bc656a0_voltage: Found model information on device (manufacturer=Shelly, model=Shelly PM Mini Gen3, model_id=S3PM-001PCEU16)�[0m
�[36m2025-01-08 22:35:49.129 DEBUG (MainThread) [custom_components.powercalc.discovery] Found power profile: shelly/shelly pm mini gen3, discovery_by: entity�[0m
�[36m2025-01-08 22:35:49.129 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.shellypmminig3_ecda3bc656a0_voltage: Initiating discovery flow, unique_id=pc_ECDA3BC656A0-pm1:0-voltage_pm1�[0m
�[36m2025-01-08 22:35:49.129 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.shellypmminig3_ecda3bc656a0_energy: Found model information on device (manufacturer=Shelly, model=Shelly PM Mini Gen3, model_id=S3PM-001PCEU16)�[0m
�[36m2025-01-08 22:35:49.130 DEBUG (MainThread) [custom_components.powercalc.discovery] Found power profile: shelly/shelly pm mini gen3, discovery_by: entity�[0m
�[36m2025-01-08 22:35:49.130 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.shellypmminig3_ecda3bc656a0_energy: Initiating discovery flow, unique_id=pc_ECDA3BC656A0-pm1:0-energy_pm1�[0m
�[36m2025-01-08 22:35:49.130 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.shellypmminig3_ecda3bc656a0_frequency: Found model information on device (manufacturer=Shelly, model=Shelly PM Mini Gen3, model_id=S3PM-001PCEU16)�[0m
�[36m2025-01-08 22:35:49.130 DEBUG (MainThread) [custom_components.powercalc.discovery] Found power profile: shelly/shelly pm mini gen3, discovery_by: entity�[0m
�[36m2025-01-08 22:35:49.130 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.shellypmminig3_ecda3bc656a0_frequency: Initiating discovery flow, unique_id=pc_ECDA3BC656A0-pm1:0-freq_pm1�[0m |
Devices listed in the library as
power_meter
will show up with every of theirsensor:*
entity in the auto detection:Originally posted by @RubenKelevra in #2834 (comment)
The text was updated successfully, but these errors were encountered: