[#32] Use entity picture instead of icon if exist

This commit is contained in:
estevez
2018-09-23 02:04:44 +03:00
parent 1133a996b9
commit cc0278ee55
5 changed files with 86 additions and 23 deletions

View File

@@ -40,6 +40,7 @@ class _ConnectionSettingsPageState extends State<ConnectionSettingsPage> {
prefs.setString("hassio-port", _hassioPort);
prefs.setString("hassio-password", _hassioPassword);
prefs.setString("hassio-protocol", _socketProtocol);
prefs.setString("hassio-res-protocol", _socketProtocol == "wss" ? "https" : "http");
prefs.setString("hassio-auth-type", _authType);
}