home-assistant / ui-schema

A schema to define a user interface for Home Assistant.
Apache License 2.0
41 stars 6 forks source link

Feature: Lovelace Picture Entity Height #167

Closed randellhodges closed 6 years ago

randellhodges commented 6 years ago

It would be nice if there was a way to specify the height on the picture-entity. This way, if it takes a couple of seconds to get an image from a camera, you don't get things pushed around the screen after the image loads.

balloob commented 6 years ago

height is not the right config, as it depends on the width of the column. Ratio would work.

randellhodges commented 6 years ago

Yeah, ratio makes more sense. If I have time, I might see if I can figure out how to do it.

randellhodges commented 6 years ago

This has been implemented as aspect_ratio in 0.79.