domalab / ha-unraid

Unraid integration for Home Assistant
Apache License 2.0
11 stars 0 forks source link

Power Consumption Monitoring #4

Open domalab opened 2 hours ago

domalab commented 2 hours ago

Is your feature request related to a problem? Please describe. Currently, the Unraid integration can detect and show basic UPS status information, but does not provide power consumption metrics that could be used in the Energy Dashboard. This misses the opportunity to track and visualize UPS power usage alongside other devices in Home Assistant.

Describe the solution you'd like Add power consumption monitoring for APC Smart-UPS devices connected to Unraid servers. Specifically:

Additional context The Unraid integration already detects UPS presence and pulls basic metrics using apcaccess. This feature would extend the existing UPS monitoring to include power-specific sensors with proper device classes (SensorDeviceClass.POWER and SensorDeviceClass.ENERGY) for Energy Dashboard integration.