core: NUT does not create UPS sensors under integration to QNAP NAS

The problem

The new integration connects to the QNAP, but the UPS is not listed in the integration, so no sensors are created.

Environment

  • Home Assistant Core release with the issue: 0.108
  • Last working Home Assistant Core release (if known): 0.107.7
  • Operating environment (Home Assistant/Supervised/Docker/venv): Supervised
  • Integration causing this issue: NUT
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/nut/

Problem-relevant configuration.yaml

This config in sensors work.

  - platform: nut
    name: UPS Battery backup
    host: 1.2.3.4
    username: qnapups
    password: 123456
    resources:
      - ups.status.display
      - ups.load
      - ups.realpower.nominal
      - input.voltage
      - battery.charge
      - battery.runtime
#      - ups.mfr
#      - ups.model

Traceback/Error logs

I don't see any errors

Additional information

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 71 (44 by maintainers)

Most upvoted comments

Good to hear! Didn’t notice it’s crafted for 0.109 😃 I assume I should just delete custom_component/nut after 0.109?

0.109 or whichever version https://github.com/home-assistant/core/pull/34154 merges in

@bdraco The new version is great! Thanks.

image