Closed Polimac closed 2 years ago
Reading back my comment didnt make sense. I think there is something that is waayy to wide for this view. Dont think this is because of the room card tho. Could be that it only happens when the card is being added. But everything in the card is nice and neat between the borders of the card in your screenshot. Isnt there something lower that is wider than the view?
@marcokreeft87 I can confirm the issue in my case.
@mihsu81 can you make the names shorter? See if that helps
@marcokreeft87 Doesn't seem to help. I've also removed the additional styling from the card.
Hmm and make rows of 5 entities max?
And what's that weird bar to the right?
Idk guys, I cant reproduce:
type: custom:room-card
title: test
entity: light.mancave_lampen
icon: mdi:floor-lamp-outline
show_icon: true
tap_action:
action: toggle
rows:
- entities:
- entity: light.mancave_lamp
name: Plafond dfdfdfd fdfdfdsfdsfds
tap_action:
action: toggle
hold_action:
action: more-info
- entity: light.mancave_lamp
name: Plafond dfdfdfd fdfdfdsfdsfds
- entity: light.mancave_lamp
name: Plafond dfdfdfd fdfdfdsfdsfds
- entity: light.mancave_lamp
name: Plafond
- entity: light.mancave_lamp
name: Plafond
- entity: light.mancave_lamp
name: Plafond
- entity: light.mancave_lamp
name: Plafond
- entity: light.mancave_lamp
name: Plafond
- entity: light.mancave_lamp
name: Plafond
- entity: light.mancave_lamp
name: Plafond
- entities:
- entity: light.mancave_lamp
name: Plafond
tap_action:
action: toggle
hold_action:
action: more-info
i think it is related to info_entities
i think it is related to info_entities
Can you reproduce with only info_entities? Because I think it can only be something with the rows. But I cant reproduce :(
I've reduced the number of entities per row to 5 and the issue persists. The bar to the right is created by the HA app when the size is higher. It's the same color as the upper frame.
Hmm, can you try a different theme? Or tell me your theme? I will try it on my HA with the same theme then
The issue appears with the default theme as well. The theme is https://github.com/tgcowell/waves.
Super weird. Share the yaml of that dashboard plz and I will try to reproduce. But since I see so many without this problem I'm inclined to say it's something in your settings. But let's see
title: Home Dashboard
views:
- title: Test room card
path: test-room-card
badges: []
cards:
- type: custom:room-card
title: Kitchen
entity: binary_sensor.area_kitchen
icon: hue:room-kitchen
state_color: true
show_state: true
show_icon: true
column: false
rows:
- entities:
- entity: light.kitchen_light
name: Light
icon: hue:pendant-cher
state_color: true
show_state: true
show_icon: true
tap_action:
action: toggle
hold_action:
action: more-info
It does make sense that it's some card we have installed, but who knows which. Here's a list of Frontend integrations I have installed. Stack In Card Purifier Card Vacuum Card Config Template Card Simple Weather Card Vertical Slider Cover Card KNX User Forum Icon Set Simple Thermostat badge-card card-mod BHA Icon Pack bignumber-card Custom brand icons Vertical Stack In Card mini-graph-card Xiaomi Vacuum Map Card Bar Card card-tools slider-entity-row Mini Media Player mini climate card button-card auto-entities Hass Hue Icons Alarmo Card Waves Body Miscale Card Config Editor Card Better Thermostat UI history-explorer-card Plotly Graph Card Thermal Comfort Icons Only Lock Lock Row Flower Card Nordic Theme custom-icons TV Remote Card (with touchpad and haptic feedback) My Cards Bundle Swiss Army Knife custom card Valetudo Map Card Room Card
Hmm wild guess, since it's the horizontal space you have an issue with: Slider card?
Can you try without the slider card? Maybe it uses some classes room card also uses.
I'm trying as we speak to install some frontend integrations from your list.
Not all of these Frontend integrations are used in that View or in the Dashboard itself. That Slider card is for cover entities. I've removed it and didn't make a difference. I've created a new Dashboard and again the View can be moved to the left even though it shouldn't. Maybe we're taking the wrong approach in finding the issue, but again I don't really know which is the correct approach. š
New clean dashboard, recreated from scratch:
views:
- title: Home
cards:
- type: custom:room-card
title: Kitchen
entity: binary_sensor.area_kitchen
icon: hue:room-kitchen
state_color: true
show_state: true
show_icon: true
column: false
rows:
- entities:
- entity: light.kitchen_light
name: Light
icon: hue:pendant-cher
state_color: true
show_state: true
show_icon: true
tap_action:
action: toggle
hold_action:
action: more-info
Not all of these Frontend integrations are used in that View or in the Dashboard itself. That Slider card is for cover entities. I've removed it and didn't make a difference. I've created a new Dashboard and again the View can be moved to the left even though it shouldn't. Maybe we're taking the wrong approach in finding the issue, but again I don't really know which is the correct approach. š
New clean dashboard, recreated from scratch:
views: - title: Home cards: - type: custom:room-card title: Kitchen entity: binary_sensor.area_kitchen icon: hue:room-kitchen state_color: true show_state: true show_icon: true column: false rows: - entities: - entity: light.kitchen_light name: Light icon: hue:pendant-cher state_color: true show_state: true show_icon: true tap_action: action: toggle hold_action: action: more-info
Yeah I think we are taking the wrong approach. Because clearly im not gonna be able to reproduce.. There is a new version: 1.4.0. Can you try with that? And if that doesnt help at least we are on the same version.
i updated to 1.4 same issue only show_icon: true is mandatory when you set icon
i updated to 1.4 same issue only show_icon: true is mandatory when you set icon
Yes thats in the release notes..
The issue continues in v1.4
I really can't reproduce. Sorry, but I think it's something with your settings or other themes/cards that you installed.
Let's keep the issue open, maybe someone else has this problem and can help us by giving new info
I have the same issue. This happens when I use rows option.
This config has no problems:
title: TEST1
entity: switch.hall_light
show_icon: true
state_color: true
tap_action:
action: toggle
info_entities:
- entity: sensor.bedroom_sensor_temperature
format: precision1
- entity: sensor.bedroom_sensor_humidity
format: precision0
entities:
- entity: switch.hall_lamp1
name: lamp1
state_color: true
tap_action:
action: toggle
- entity: switch.hall_lamp2
name: lamp2
state_color: true
tap_action:
action: toggle
But the following config has horisontal scrolling:
title: TEST2
entity: switch.hall_light
show_icon: true
state_color: true
tap_action:
action: toggle
info_entities:
- entity: sensor.bedroom_sensor_temperature
format: precision1
- entity: sensor.bedroom_sensor_humidity
format: precision0
rows:
- entities:
- entity: switch.hall_lamp1
name: lamp1
state_color: true
tap_action:
action: toggle
- entity: switch.hall_lamp2
name: lamp2
state_color: true
tap_action:
action: toggle
Home Assistant 2022.9.6, default theme, android mobile app, each test card is on it's own tab
I can confirm this is tied to using the rows:
option on my OnePLus 6T, Android 11, with default dark theme on HA 2022.9.7.
As the poster above, easily reproduced by removing rows: from my card and re-adding it. Hopefully the author is able to reproduce it with this.
title: TEST2 entity: switch.hall_light show_icon: true state_color: true tap_action: action: toggle info_entities:
- entity: sensor.bedroom_sensor_temperature format: precision1
- entity: sensor.bedroom_sensor_humidity format: precision0 rows:
- entities:
- entity: switch.hall_lamp1 name: lamp1 state_color: true tap_action: action: toggle
- entity: switch.hall_lamp2 name: lamp2 state_color: true tap_action: action: toggle
Now I got it too! Thnx. I will try and fix it
Ok I was being a donut. Found the issue, new version incoming
v1.06.12 should fix this issue
Can confirm 1.06.12 fixed it after force closing ha app, cleaning it's cache and reopening. Thanks for quick fix!
hi again me :)
i got horizontal scrolling issue in app on mobile , when your card is in dashboard i am able to move horizontally screen
code
type: custom:room-card title: Livingroom rows: