Comments (1)
He John,
So i made this card to work with my other card: https://github.com/DBuit/Homekit-panel-card
to get more home kit style interface.
But i use card tools by thomas loven so the card can also be used without my other card. And just as a popup in your interface.
So it works with popup-card and browser-mod by thomas and the example code in the readme is how you can use it with browser-mod:
popup_cards:
light.beganegrond:
title: ""
style:
position: fixed
z-index: 999
top: 0
left: 0
height: 100%
width: 100%
display: block
align-items: center
justify-content: center
background: rgba(0, 0, 0, 0.8)
flex-direction: column
margin: 0
"--iron-icon-fill-color": "#FFF"
card:
type: custom:light-popup-card
entity: light.beganegrond
icon: mdi:led-strip
scenesInARow: 2
brightnessWidth: 150px
brightnessHeight: 400px
switchWidth: 150px
switchHeight: 400px
scenes:
- scene: scene.ontspannen
color: "#FDCA64"
name: ontspannen
- scene: scene.helder
color: "#FFE7C0"
name: helder
- scene: scene.concentreren
color: "#BBEEF3"
- scene: scene.energie
color: "#8BCBDD"
Here you got the section about the popup in the browser_mod readme: https://github.com/thomasloven/hass-browser_mod#popup
Hope you can get it working let me know if i can help you!
from light-popup-card.
Related Issues (20)
- Light Popup Card failing to work on Android app HOT 5
- Future: Add transition time HOT 1
- how can i set the css value to exit the popup card when i tap the blank place jusk like light-popup-card?
- Can't get to more-info HOT 1
- Home Assistant 2021.12 brightness broken HOT 2
- Repository structure for 0.5 is not compliant
- Slider sits at the halfway height regardless of actual brightness
- Popup is too small HOT 3
- Bug: Brightness slider isn't fluid / slow to respond to lights actual brightness state HOT 1
- actions: option bad indentation issue HOT 2
- Popup 2 lights side by side? HOT 3
- How do I configure this with the homekit panel card mod?
- Remove !important from CSS style
- Light's that support colours will display as a switch and not a slider HOT 2
- Support Browser Mod 2.0 HOT 1
- Empty More-info dialog showing when clicking empty space HOT 1
- Switch Won't Toggle on Desktop
- Instead of the dimming function, the on/off button
- Popup doesn't close when clicking on backdrop
- Popup cards broken by HA 2023.4 changes HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from light-popup-card.