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

FR: Custom popups #25

Open
anarion80 opened this issue Dec 29, 2023 · 2 comments
Open

FR: Custom popups #25

anarion80 opened this issue Dec 29, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@anarion80
Copy link
Contributor

Hello! First of all - great work on this new approach! My Amazon Fire 10 tablet is now usable, while with the previous hass-config dashboard it struggled a lot with all the heavy client-side JS.

Perhaps you are already thinking on popups, but I would like to formally request that ability. For example to be able to click on the weather type item in the sidebar:
obraz
to have a popup open with more detailed weather view.

Perhaps something like this:

- type: weather
    entity_id: weather.openweathermap
    weather_sensor: sensor.openweathermap_weather
    extra_sensor: sensor.openweathermap_forecast_precipitation_probability
    extra_sensor_icon: mdi:drop
    icon_pack: meteocons
    popup: weather

The popup could use exactly the same mechanics as views and be defined in dashboard.yaml:

popups:
  - name: Weather
    id: 6467602449648
    sections:
      - type: horizontal-stack
        id: 5078078976670
        sections:
          - name: Main
            id: 2171067078835
            items:
              - type: button
                entity_id: sensor.ventilation_info
                id: 5008685947164
                name: Rekuperacja
                icon: mdi:fan
...

Potentially applicable to any button/item in the dashboard.

@matt8707 matt8707 added the enhancement New feature or request label Dec 29, 2023
@Disturbx
Copy link

This would be great with the function to just redirect to another view like "?view=weather"

@anarion80
Copy link
Contributor Author

Yes, we should keep this one alive :)
Now that we have a calendar modal, it would be really great to have a way to trigger that modal via other means than just clicking on the dedicated button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants