homebridge / homebridge-config-ui-x

The Homebridge UI. Monitor, configure and backup Homebridge from a browser.
https://homebridge.io
MIT License
2.59k stars 369 forks source link

New Room in Accessories doesn't show if locked #643

Closed mbierman closed 4 years ago

mbierman commented 4 years ago

Describe The Bug: If the Accessories page is locked, adding a room will not display.

To Reproduce:

  1. Go to Accessories.
  2. Lock the Accessories page.
  3. Add a room.

Expected behavior: I expect to see the room I added.

Actual behavior: The room was added but does not appear until you unlock the page. There is no notice to the user that is the case.

Logs: I'm not sure a log helps here. Let me know if there's anything you need.

Homebridge Config:

{
    "bridge": {
        "name": "Homebridge Synology",
        "username": "**:**:*:**:**:**",
        "port": 53060,
        "pin": "***-**-***"
    },
    "accessories": [
        {
            "name": "Garage Door",
            "username": "*@*",
            "password": "*",
            "accessory": "Chamberlain"
        },
        {
            "accessory": "PowerlossIFTTTNotifier",
            "name": "PowerlossIFTTTNotifier",
            "IFTTTkey": "*",
            "IFTTTservice": "*",
            "IFTTTvalue2": "Homebridge started at",
            "IFTTTvalue3": false
        },
        {
            "accessory": "Synology",
            "name": "Pigpen",
            "ip": "192.168.0.*",
            "mac": "*:*:*:*:*:*",
            "port": "5001",
            "secure": true,
            "account": "*",
            "password": "*",
            "version": 6,
            "timeout": 6000,
            "disabled": [
                ""
            ],
            "doPolling": true,
            "pollingInterval": 120
        },
        {
            "accessory": "neurio",
            "name": "neurio",
            "location": "neurio.lan",
            "username": "*",
            "password": "*",
            "options": {
                "ttl": 600,
                "verboseP": true
            }
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "cyan",
            "tempUnits": "f",
            "lang": "auto",
            "sessionTimeout": 28800,
            "log": {
                "method": "file",
                "path": "/homebridge/ui.log"
            },
            "accessoryControl": {
                "debug": false
            },
            "platform": "config"
        },
        {
            "name": "Nest",
            "access_token": "*",
            "platform": "Nest"
        },
        {
            "platform": "Rachio-Platform",
            "name": "Rachio Controller",
            "api_key": "*",
            "internal_webhook_port": 27546,
            "external_webhook_address": "*"
        }
    ]
}

Screenshots:

Environment:

oznu commented 4 years ago

The layout will now be unlocked when adding a new room.