Comments (2)
I love your idea. Currently, i use handlebars as templating engine, which is very basic and clean but lacks some features that would be very useful in context of this project.
I will take a look at https://github.com/sstur/jinja-js, which is a javascript implementation of the templating engine that home-assistant uses.
An architectural challenge is, that (currently) in context of a button, i only have access to the state of a single entity. I think combining the states of different entities would be great, too, but would require a rework of big portions of the code.
I will create two issues:
- Replace handlebars by jinja-js to be able to do calculations etc. in templates (may happen soon)
- Redesign internal state architecture to be able to access cross-entity-states inside templates (may take some time ;) )
from streamdeck-homeassistant.
(Spoiler) Replacing handlebars by jinja looks promising:
from streamdeck-homeassistant.
Related Issues (20)
- Only showing status, not able to activate HOT 7
- Stream Deck + Enhancements HOT 1
- Question - Climate Control for Stream Deck Plus HOT 5
- QtWebEngine crash HOT 1
- Actions now require (Optional) Entity HOT 2
- [Feature] Remove button background (-> transparent on dial display)
- [Feature] Add "heat" as active state for custom icons.
- Custom title ignored on knobs? HOT 3
- Not all HA icons are supported? HOT 2
- Plugin failing to communicate HOT 30
- Weather domain is showing wrong unit HOT 1
- Custom icon entities ignore actual state when pressed HOT 5
- Plugin Starts Disconnected HOT 5
- Improve Entity selection
- Update not in Elgato Store HOT 2
- Improve display image rendering. HOT 1
- Unable to use any actions HOT 5
- server settings do not save HOT 2
- [Styles] Add style for binary_sensor.door
- [Styles] Add style for sensor.voltage
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 streamdeck-homeassistant.