WIP #523 and connection settings refactoring
This commit is contained in:
@ -17,6 +17,9 @@ class MobileAppIntegrationManager {
|
||||
};
|
||||
|
||||
static String getDefaultDeviceName() {
|
||||
if (HomeAssistant().userName.isEmpty) {
|
||||
return '${DeviceInfoManager().model}';
|
||||
}
|
||||
return '${HomeAssistant().userName}\'s ${DeviceInfoManager().model}';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user