• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bramstroker / homeassistant-powercalc / 24307886930
100%

Build:
DEFAULT BRANCH: master
Ran 12 Apr 2026 01:33PM UTC
Jobs 1
Files 59
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Apr 2026 01:31PM UTC coverage: 100.0%. Remained the same
24307886930

push

github

web-flow
Add UPS device type with NUT auto-discovery (#4067)

* Add UPS device type and Tripp Lite NUT UPS power profile

Add a new UPS device type and a Tripp Lite power profile that calculates
real-time UPS power consumption from load percentage, nominal VA rating,
and power factor using the fixed strategy with a Jinja2 template.

Closes #4066

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Add documentation_url support to power profiles and UPS docs

Add documentation_url property to model.json schema, exposed via
PowerProfile and wired into the config flow discovery and custom
fields steps. Update Tripp Lite UPS profile with documentation link
and add UPS cookbook section covering power factor calculation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Improve UPS profile with auto-discovery and device-based setup

- Rename profile dirs to match NUT device strings (tripp lite/Tripp Lite UPS)
- Switch to device-based discovery to avoid duplicate discovery flows
- Auto-resolve load and nominal power entities via entity_by_translation_key
- Add entity_by_translation_key placeholder support to profile library
- Support device_id fallback in entity_by_device_class for device discovery
- Attach device entry to source entity for device-based config entries
- Auto-resolve availability entity from profile placeholders
- Add default value support for custom profile fields
- Add power_sensor_precision to profile sensor_config
- Strip whitespace from device registry strings (HA core #166187)
- Fix replace_placeholders to handle non-string variable values
- Show discovery remarks conditionally when required entities are missing
- Add library_custom_fields translations for power_factor field

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* style: apply pre-commit auto-fixes

* Cleanup duplication Add documentation Add some more tests

fix: cleanup duplication

fix: tests

feat: docs

* fix: final... (continued)

140 of 140 new or added lines in 9 files covered. (100.0%)

6545 of 6545 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24307886930.1 12 Apr 2026 01:33PM UTC 59
100.0
GitHub Action Run
Source Files on build 24307886930
  • Tree
  • List 59
  • Changed 10
  • Source Changed 10
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24307886930
  • c4097a60 on github
  • Prev Build on master (#24277749142)
  • Next Build on master (#24550904765)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc