Add Open Weather Settings

This commit is contained in:
GamerClassN7 2020-12-17 19:42:29 +01:00
parent fe72097d75
commit 464f229a16

View File

@ -33,4 +33,8 @@ class OpenWeatherMap extends VirtualDeviceManager
return 'exception: ' . $e->getMessage(); return 'exception: ' . $e->getMessage();
} }
} }
function enable(){
(new SettingsManager)->create('open_weather_api_token', '', 'open_weather');
}
} }