Cast no longer appears to work with layout-card or a modified lovelace format. Just casts a white screen. Any idea why?
If I first turn on casting with Lovelace configured to use the default Masonry view, (which obviously works) then change to the Layout-card format while itās already casting, it works and displays my 4 column setup. However, casting will not begin if the layout is set to layout-card to begin with.
Iāve been looking for 3 evenings on the custom:layout-card. I have installed this resource via HACS and have struggled through the manual several times but I keep getting stuck on the grid component that just doesnāt do what I expect it to do.
When I use the code in Dwain Scheerenās tutorials, I have a discrepancy between my result and the example in the manual:
I am trying to make mediaquery work properly on iOS.
I have the following code:
- type: custom:layout-card
layout_type: custom:grid-layout
layout:
grid-template-columns: auto repeat(8, 43px) 43px 43px
grid-template-areas: |
"base eight seven six five four three two one alarm profile"
mediaquery:
"(max-device-width: 650px)":
grid-template-columns: auto repeat(3, 43px)
grid-template-areas: |
"base message alarm profile"
This should show me 4 columns on a small screen and 11 columns on a large screen. This seems to work perfectly fine on my browsers, android phones and large iphones (though it might be that it is an iOS thing).
I have an iPhone 11 pro max that shows this perfectly fine (iOS 14 if Iām correct, they are not mine so canāt really tell atm, nor can I update them). I also have an iPhone X with iOS 13.5 and it shows all the items regardless of mediaquery rules. Is there anyone that knows if support was added in later iOS versions or if Iām simply missing something?
I know, but I have literally tried everything with this (so add portrait, adding pixel ratio, changing width to 2000px etc etc.) It all works fine on all devices but some iPhones and iPads.
But someone was able to help, it seems this depends on iOS version.
I got 2x iPhone X now, one with iOS 13.5 and one with iOS 15.4 and the latter works perfectly fine. So probably it is a feature that was added to iOS later on.
Edit: todays layout-card update did make it slightly better, but still not hiding elements.
I would appreciate some help with the following problem. I want to have on a Samsung Tab A7 (according to the specifications is 2000 x 1200 pixels) my dashboard in full screen. I have tried many things but with the current settings I just canāt get it done. The screen is filled full width but at the bottom I always keep a bit of screen left (about 20%). That remains black.How do I adjust my yaml so that the whole screen is filled and it may even be scalable and it also looks the same on a laptop (1920 x 1080) in full screen.
I use Fully Kiosk Browser (pro) on my tablet in Kiosk mode (landscape).
I have greatly simplified the yaml below. In reality both the sidebar and the main screen are filled with data. On the sidebar buttons to navigate and on the main screen the state of the property etc. Note that the text under the time is also not quite aligned properly here, whereas it is in the original.
For me it doesnāt work. 0px and 1px makes no difference. But perhaps this has something to do with the problem Iām facing and my lack of knowledge of CCS etc. As stated yesterday on this forum.