Add Open Weather Settings

This commit is contained in:
jonatanrek committed 2020-12-17 19:42:29 +01:00
1 parent fe72097d75
commit 464f229a16
1 file changed
+4
+4
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');
}
} }