Add Open Weather Settings
This commit is contained in:
@@ -33,4 +33,8 @@ class OpenWeatherMap extends VirtualDeviceManager
|
||||
return 'exception: ' . $e->getMessage();
|
||||
}
|
||||
}
|
||||
|
||||
function enable(){
|
||||
(new SettingsManager)->create('open_weather_api_token', '', 'open_weather');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user