Fix ENABLE_PLUGINS bug discovered in #203
This commit is contained in:
@@ -129,9 +129,7 @@ function localize (obj, key) {
|
||||
{
|
||||
for(i=0;i<obj[key].length;i++)
|
||||
{
|
||||
code = obj[key][i]["language_code"]
|
||||
|
||||
// console.log(code)
|
||||
code = obj[key][i]["language_code"]
|
||||
|
||||
if( code == 'en_us')
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ A plugin allowing for importing devices from a UniFi controller.
|
||||
|
||||
### Usage
|
||||
|
||||
Spedify the following settings in the Settings section of PiAlert:
|
||||
Specify the following settings in the Settings section of PiAlert:
|
||||
|
||||
- `UNFIMP_username` - Username used to login into the UNIFI controller.
|
||||
- `UNFIMP_password` - Password used to login into the UNIFI controller.
|
||||
@@ -15,4 +15,5 @@ Spedify the following settings in the Settings section of PiAlert:
|
||||
|
||||
### Notes
|
||||
|
||||
- Currently only used to import devices, not their status, type or network map.
|
||||
- Currently only used to import devices, not their status, type or network map.
|
||||
- It is recommend to create a read-only user in your UniFi controller
|
||||
Reference in New Issue
Block a user