Phone has gone wild at night

This is the second night in a row starting around 20:00 that my phone has gone off the rails. I have a Samsung Galaxy S21 (which got an update a few days ago).

It is constantly going from home to not home. It did it about 80 times lastnight, and around 100 times the night before.

I have googled this scenario but my ggogle fu is not coming up with anything. Do not know if this is the campanion app problem or something larger.

Below are the logs in part.

Can someone help?

2024-05-01 21:37:32.931 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_detected_activity: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.931 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_detected_activity: Model not found in library, skipping discovery
2024-05-01 21:37:32.931 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_sleep_confidence: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.931 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_sleep_confidence: Model not found in library, skipping discovery
2024-05-01 21:37:32.931 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_sleep_segment: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.931 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_sleep_segment: Model not found in library, skipping discovery
2024-05-01 21:37:32.931 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_android_auto: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.931 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_android_auto: Model not found in library, skipping discovery
2024-05-01 21:37:32.931 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_os_version: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.931 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_os_version: Model not found in library, skipping discovery
2024-05-01 21:37:32.931 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_security_patch: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.931 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_security_patch: Model not found in library, skipping discovery
2024-05-01 21:37:32.931 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_current_version: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.931 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_current_version: Model not found in library, skipping discovery
2024-05-01 21:37:32.931 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_app_rx_gb: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.931 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_app_rx_gb: Model not found in library, skipping discovery
2024-05-01 21:37:32.931 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_app_tx_gb: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.931 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_app_tx_gb: Model not found in library, skipping discovery
2024-05-01 21:37:32.931 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_app_memory: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.931 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_app_memory: Model not found in library, skipping discovery
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_app_inactive: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_app_inactive: Model not found in library, skipping discovery
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_app_standby_bucket: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_app_standby_bucket: Model not found in library, skipping discovery
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_app_importance: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_app_importance: Model not found in library, skipping discovery
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_ringer_mode: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_ringer_mode: Model not found in library, skipping discovery
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_audio_mode: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_audio_mode: Model not found in library, skipping discovery
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_headphones: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_headphones: Model not found in library, skipping discovery
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_mic_muted: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_mic_muted: Model not found in library, skipping discovery
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_speakerphone: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_speakerphone: Model not found in library, skipping discovery
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_music_active: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_music_active: Model not found in library, skipping discovery
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_volume_level_alarm: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_volume_level_alarm: Model not found in library, skipping discovery
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_volume_level_call: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_volume_level_call: Model not found in library, skipping discovery
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_volume_level_music: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_volume_level_music: Model not found in library, skipping discovery
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_volume_level_ringer: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_volume_level_ringer: Model not found in library, skipping discovery
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_volume_level_notification: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_volume_level_notification: Model not found in library, skipping discovery
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_volume_level_system: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_volume_level_system: Model not found in library, skipping discovery
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_volume_level_dtmf: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_volume_level_dtmf: Model not found in library, skipping discovery
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_volume_level_accessibility: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_volume_level_accessibility: Model not found in library, skipping discovery
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_battery_level: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_battery_level: Model not found in library, skipping discovery
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_battery_state: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_battery_state: Model not found in library, skipping discovery
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_is_charging: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.932 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_is_charging: Model not found in library, skipping discovery
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_charger_type: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_charger_type: Model not found in library, skipping discovery
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_battery_health: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_battery_health: Model not found in library, skipping discovery
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_battery_temperature: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_battery_temperature: Model not found in library, skipping discovery
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_battery_power: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_battery_power: Model not found in library, skipping discovery
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_bluetooth_connection: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_bluetooth_connection: Model not found in library, skipping discovery
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_bluetooth_state: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_bluetooth_state: Model not found in library, skipping discovery
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_ble_transmitter: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_ble_transmitter: Model not found in library, skipping discovery
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_beacon_monitor: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_beacon_monitor: Model not found in library, skipping discovery
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_car_battery: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_car_battery: Model not found in library, skipping discovery
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_car_name: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_car_name: Model not found in library, skipping discovery
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_car_charging_status: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_car_charging_status: Model not found in library, skipping discovery
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_car_ev_connector_type: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_car_ev_connector_type: Model not found in library, skipping discovery
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_car_fuel: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_car_fuel: Model not found in library, skipping discovery
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_car_fuel_type: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_car_fuel_type: Model not found in library, skipping discovery
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_car_odometer: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_car_odometer: Model not found in library, skipping discovery
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_screen_brightness: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_screen_brightness: Model not found in library, skipping discovery
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_screen_off_timeout: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_screen_off_timeout: Model not found in library, skipping discovery
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_do_not_disturb_sensor: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_do_not_disturb_sensor: Model not found in library, skipping discovery
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_accent_color: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.933 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_accent_color: Model not found in library, skipping discovery
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_work_profile: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_work_profile: Model not found in library, skipping discovery
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_geocoded_location: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_geocoded_location: Model not found in library, skipping discovery
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_device_locked: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_device_locked: Model not found in library, skipping discovery
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_device_secure: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_device_secure: Model not found in library, skipping discovery
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_keyguard_locked: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_keyguard_locked: Model not found in library, skipping discovery
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_keyguard_secure: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_keyguard_secure: Model not found in library, skipping discovery
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_last_used_app: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_last_used_app: Model not found in library, skipping discovery
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_last_reboot: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_last_reboot: Model not found in library, skipping discovery
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_last_update_trigger: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_last_update_trigger: Model not found in library, skipping discovery
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_light_sensor: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_light_sensor: Model not found in library, skipping discovery
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_high_accuracy_mode: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_high_accuracy_mode: Model not found in library, skipping discovery
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_high_accuracy_update_interval: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_high_accuracy_update_interval: Model not found in library, skipping discovery
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_mobile_data: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_mobile_data: Model not found in library, skipping discovery
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_mobile_data_roaming: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_mobile_data_roaming: Model not found in library, skipping discovery
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_wifi_connection: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_wifi_connection: Model not found in library, skipping discovery
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_wifi_bssid: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_wifi_bssid: Model not found in library, skipping discovery
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_wifi_ip_address: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_wifi_ip_address: Model not found in library, skipping discovery
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_wifi_link_speed: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_wifi_link_speed: Model not found in library, skipping discovery
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_wifi_state: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_wifi_state: Model not found in library, skipping discovery
2024-05-01 21:37:32.934 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_wifi_frequency: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_wifi_frequency: Model not found in library, skipping discovery
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_wifi_signal_strength: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_wifi_signal_strength: Model not found in library, skipping discovery
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_public_ip_address: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_public_ip_address: Model not found in library, skipping discovery
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_hotspot_state: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_hotspot_state: Model not found in library, skipping discovery
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_network_type: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_network_type: Model not found in library, skipping discovery
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_nfc_state: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_nfc_state: Model not found in library, skipping discovery
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_next_alarm: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_next_alarm: Model not found in library, skipping discovery
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_last_notification: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_last_notification: Model not found in library, skipping discovery
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_last_removed_notification: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_last_removed_notification: Model not found in library, skipping discovery
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_active_notification_count: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_active_notification_count: Model not found in library, skipping discovery
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_media_session: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_media_session: Model not found in library, skipping discovery
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_phone_state: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_phone_state: Model not found in library, skipping discovery
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_sim_1: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_sim_1: Model not found in library, skipping discovery
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_sim_2: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_sim_2: Model not found in library, skipping discovery
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_interactive: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_interactive: Model not found in library, skipping discovery
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_doze_mode: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_doze_mode: Model not found in library, skipping discovery
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_power_save: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] binary_sensor.cwb_phone_power_save: Model not found in library, skipping discovery
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_pressure_sensor: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_pressure_sensor: Model not found in library, skipping discovery
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_proximity_sensor: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_proximity_sensor: Model not found in library, skipping discovery
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_steps_sensor: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_steps_sensor: Model not found in library, skipping discovery
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_internal_storage: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.935 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_internal_storage: Model not found in library, skipping discovery
2024-05-01 21:37:32.936 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_external_storage: Auto discovered model (manufacturer=samsung, model=SM-G996U)
2024-05-01 21:37:32.936 DEBUG (MainThread) [custom_components.powercalc.discovery] sensor.cwb_phone_external_storage: 

It’s not directly your phone, it’s more your phone in combination with powercalc. Disable the integration and try it again.

Or disable the sensors for your phone in powercalc, that should do the trick as well.

And on a sidenote: why is there debug enabled? You shouldn’t get debug messages in your log, if you haven’t changed the level of information for the logs.

Thank you.
I have always had debug for the last five or so years.
How do I get rid of it, in the config?
Thanks

check you logger settings, and comment powercalc:

#   custom_components.powercalc: debug

or, if you have Powercalc all set up in the UI, check you havent enabled debug mode there (although I am not sure that would survive a restart, so probably not)

it might be worth a chat with Bram (author Powercalc) why the discoveries happen so very frequently. I guess it would even be an option adding a flag there, so it doesnt keep trying on that particular device. But that you’d have to talk to Bram about in Powercalc - Virtual power sensors, or his repo

1 Like

That seems to be a great idea, Bram is such a helpful guy! :slight_smile: Ask in the topic Marius linked to, that seems a good starting point! :+1:

PS: on second thought, are telephones even supported in powercalc? IIRC it was “only” for lights, smart switches and such things…

That discovery messages powercalc logs are completely normal in debug mode.
Powercalc looks at all entities know in home assistant for manufacturer / model information and checks if it is supported in powercalc library.
This is only during startup and this process will take a few ms to complete.
The debug logs are quite a lot, but it’s there to investigate issues when devices are not discovered correctly by powercalc.

So you should only enable debug logging for powercalc when you actually need to debug stuff or experience problems with powercalc.

Stability issues with your phone are probably not Powercalc related, so these debug logs only pollute your logs, and overshadow any real issues you have and are probably also logged.

2 Likes

so a ‘dont look up this device’ flag wouldn’t be useful? I mean, if we know it’s not in the database, there’s no use to keep trying to see if it is?

Thank you all for the information.
I learned a lot from the discussion.

I have turned off powercalc debug and I will see what happens tonight.

Again thank you all.

1 Like

I thought I had my problem solved with uninstalling Powercalc, but alas not.
Last night I had 65 connects/disconnects.
Searched the logs for anything phone related and not one thing turned up that was obvious to me.

Can someone possibly tell me what track I can follow to find out what might be causing this.

Possible setting in the mobile companion app, my router, a GPS setting.

My wife has the exact same phone. The mobile companion app is identical, we use the same GPS software, but she has no problems.

Any direction would be greatly appreciated.