Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning text makes UI editor unusable #6420

Closed
3 tasks done
tomlut opened this issue Jul 17, 2020 · 3 comments · Fixed by #6421
Closed
3 tasks done

Warning text makes UI editor unusable #6420

tomlut opened this issue Jul 17, 2020 · 3 comments · Fixed by #6421
Labels
Bug Current Bug in UI - Extra Attention

Comments

@tomlut
Copy link

tomlut commented Jul 17, 2020

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.

The problem

When there is a long list of entities in a card that the Lovelace UI editor does not support the warning text makes the card uneditable. This is with my browser zoomed out to 10%:

Untitled

Expected behavior

Wordwrap the warning, limit it to the width of the code edit box.

Steps to reproduce

Environment

  • Home Assistant release with the issue: Home Assostant OS (NUC) v0.112.4
  • Last working Home Assistant release (if known): v0.111
  • Browser and browser version: Firefox 78.0.2, also Chrome 84.0.4147.89
  • Operating system: Windows 10 Pro

State of relevant entities

Problem-relevant configuration

Javascript errors shown in your browser console/inspector

Additional information

@tomlut tomlut added the Bug Current Bug in UI - Extra Attention label Jul 17, 2020
@bramkragten
Copy link
Member

Please complete the template, how do I reproduce this?

@tomlut
Copy link
Author

tomlut commented Jul 17, 2020

Try this:

entities:
  - entities:
      - automation.abb_usage_alert
      - automation.addon_update_available
      - automation.backup_notifications
      - automation.dns_change
      - automation.gpio_bridge_1_disconnection_alert
      - automation.gpio_bridge_1_memory_monitor_alert
      - automation.gpio_bridge_2_disconnection_alert
      - automation.gpio_bridge_2_memory_monitor_alert
      - automation.hacs_update_available
      - automation.hassos_update_available
      - automation.lane_gate_battery_monitor
      - automation.lane_gate_connection_monitor
      - automation.mailbox_battery_monitor
      - automation.mailbox_connection_monitor
      - automation.mains_power_on_alert
      - automation.mains_power_fail_alert
      - automation.memory_monitor_alert
      - automation.processor_use_alert
      - automation.set_light_theme_at_sunrise
      - automation.set_dark_theme_at_sunset
      - automation.shutdown
      - automation.speedtest_alert
      - automation.speedtest_peak_time_check
      - automation.startup
      - automation.supervisor_update_available
      - automation.test_mode_reset
      - automation.update_available
    group_config:
      state_color: true
    head:
      label: Expand
      type: section
    padding: 0
    type: 'custom:fold-entity-row'
show_header_toggle: false
title: Automations - Sysyem
type: entities

@tomlut
Copy link
Author

tomlut commented Jul 17, 2020

Thank you for the fast response. And apologies, I only remembered I could copy the card contents using raw mode after I posted the issue.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Current Bug in UI - Extra Attention
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants