Skip to content

Commit 7e44840

Browse files
committed
Code review: correct attribute naming style
1 parent 9b1bb65 commit 7e44840

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dialogs/config-flow/previews/flow-preview-generic_camera.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ class FlowPreviewGenericCamera extends FlowPreviewGeneric {
1010
return html`<ha-alert alert-type="error">${this._error}</ha-alert>`;
1111
}
1212

13-
const stillUrl = this._preview.attributes.stillUrl;
14-
const streamUrl = this._preview.attributes.streamUrl;
13+
const stillUrl = this._preview.attributes.still_url;
14+
const streamUrl = this._preview.attributes.stream_url;
1515

1616
return html` ${stillUrl
1717
? html`<p>Still image:</p>

0 commit comments

Comments
 (0)