hassio-addons / addon-nut

Network UPS Tools - Home Assistant Community Add-ons
https://addons.community
MIT License
191 stars 37 forks source link

Option 'pollonly' does not exist #345

Closed Santanachia closed 9 months ago

Santanachia commented 9 months ago

The problem

Every 5 minutes, a warning appears in the log:

24-02-06 10:17:11 WARNING (MainThread) [supervisor.addons.options] Option 'pollonly' does not exist in the schema for Network UPS Tools (a0d7b954_nut)

Anything in the logs that might be useful for us?

supervisor log:

24-02-06 10:17:11 WARNING (MainThread) [supervisor.addons.options] Option 'pollonly' does not exist in the schema for Network UPS Tools (a0d7b954_nut)

NUT log:

-----------------------------------------------------------
 Add-on: Network UPS Tools
 Manage battery backup (UPS) devices
-----------------------------------------------------------
 Add-on version: 0.13.0
 You are running the latest version of this add-on.
 System: Home Assistant OS 11.4  (aarch64 / raspberrypi3-64)
 Home Assistant Core: 2024.1.5
 Home Assistant Supervisor: 2024.01.1
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------


### Additional information

Other than the appearance of this warning, everything seems to be working
tjorim commented 9 months ago

Check your add-on configuration. You added the pollonly key somewhere it does not exist thus does nothing.

Santanachia commented 9 months ago
users:
  - actions: []
    instcmds:
      - all
    password: password
    username: Walker
devices:
  - name: myups
    driver: nutdrv_qx
    port: auto
    config: []
mode: netserver
shutdown_host: false
pollonly: enabled
list_usb_devices: false

image

tjorim commented 9 months ago

Yes, exactly. You added the pollonly option yourself, it should not be there.

Santanachia commented 9 months ago

You're right, I didn't see it in the UI :D