Integration Card: Fix Safari header break and deal with long errors (#9070)

This commit is contained in:
Paulus Schoutsen 2021-05-02 01:54:40 -07:00 committed by GitHub
parent 716e100a28
commit ac5f85820f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View File

@ -86,7 +86,8 @@ const setupRetryReasonEntry = createConfigEntry("Setup Retry", {
});
const setupRetryReasonMissingKeyEntry = createConfigEntry("Setup Retry", {
state: "setup_retry",
reason: "resolve_error",
reason:
"HTTPSConnectionpool: Max retries exceeded with NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x9eedfc10>: Failed to establish a new connection: [Errno 113] Host is unreachable')",
});
const failedUnloadEntry = createConfigEntry("Failed Unload", {
state: "failed_unload",

View File

@ -640,6 +640,12 @@ export class HaIntegrationCard extends LitElement {
margin-left: 8px;
padding-top: 2px;
padding-right: 2px;
word-wrap: break-word;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 7;
overflow: hidden;
text-overflow: ellipsis;
}
.content {

View File

@ -131,6 +131,7 @@ export class HaIntegrationHeader extends LitElement {
height: 40px;
}
.header .info {
flex: 1;
align-self: center;
}
.header .info div {