nutcase icon indicating copy to clipboard operation
nutcase copied to clipboard

apc mode/Propagate "mode" between frontend and /api/default route

Open suddencoffee opened this issue 1 year ago • 0 comments

Right now /api/default does not work for "apc" mode as it defaults to the "nut" mode, even if the config specifies mode='apc'

Here is my config fragment:

servers:
  - server: "192.168.7.125"
    port: 3551
    default: true
    mode: 'apc'
    devices:
      - device: 'nix'
        mode: 'apc'
        power: 900
        displayname: 'Back-UPS RS 1500MS2'

suddencoffee avatar Jan 07 '25 22:01 suddencoffee