Open tjorim opened 2 days ago
Did you happen to setup any global configuration with the GUI already?
Yes, when we were troubleshooting the issue with b1. Here is the diagnostics: config_entry-powercalc-01JA3AN70F6QFKDT6J7ZX8XG9B.json
Ok thanks for providing the diagnostics. Will see if I can reproduce. Will probably be upcoming weekend, as I'm quite busy coming few days.
System Health details
System Information
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok HACS Data | ok GitHub API Calls Remaining | 4990 Installed Version | 2.0.1 Stage | running Available Repositories | 1455 Downloaded Repositories | 84Home Assistant Cloud
logged_in | true -- | -- subscription_expiration | April 26, 2025 at 02:00 relayer_connected | true relayer_region | eu-central-1 remote_enabled | true remote_connected | true alexa_enabled | false google_enabled | true remote_server | eu-central-1-7.ui.nabu.casa certificate_status | ready instance_id | 98df8b6855fd40a682abea6ec3befbad can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHome Assistant Supervisor
host_os | Home Assistant OS 13.2.rc2 -- | -- update_channel | beta supervisor_version | supervisor-2024.10.2 agent_version | 1.6.0 docker_version | 27.2.0 disk_total | 458.4 GB disk_used | 29.5 GB healthy | true supported | true host_connectivity | true supervisor_connectivity | true ntp_synchronized | true virtualization | board | yellow supervisor_api | ok version_api | ok installed_addons | Spotify Connect (0.13.0), Advanced SSH & Web Terminal (19.0.0), File editor (5.8.0), Zigbee2MQTT (1.40.2-1), Home Assistant Google Drive Backup (0.112.1), The Lounge (0.19.2), Glances (0.21.1), Uptime Kuma (0.12.4), ESPHome (2024.9.2), Mosquitto broker (6.4.1), Firefox (1.3.2), Silicon Labs Flasher (0.3.0), AirCast (4.2.2), eBUSd (23.2.5), Music Assistant Server (2.2.7), Studio Code Server (5.17.1), Get HACS (1.3.1), Tailscale (0.22.1), Zigbee2MQTT Edge (edge)Dashboards
dashboards | 3 -- | -- resources | 43 views | 12 mode | storageMercedesME 2020
api_endpoint_reachable | ok -- | -- websocket_connection_state | connected cars_connected | 1 version | v0.18.1Recorder
oldest_recorder_run | October 6, 2024 at 04:30 -- | -- current_recorder_run | October 15, 2024 at 00:27 estimated_db_size | 1244.29 MiB database_engine | sqlite database_version | 3.45.3Spotify
api_endpoint_reachable | ok -- | --Checklist
Describe the issue
Logger: homeassistant.util.logging Source: util/logging.py:95 First occurred: 00:29:30 (974 occurrences) Last logged: 16:31:07
Exception in _recalculate when dispatching 'powercalc_power_sensor_state_change': () Traceback (most recent call last): File "/config/custom_components/powercalc/sensors/group/standby.py", line 81, in _recalculate self._attr_native_value = round( # type: ignore[assignment] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: optional arg must be an integer
Reproduction steps
...
Debug logs
Diagnostics dump or YAML config
No response