Comments (5)
Wie ich an deinen Screenshots erkennen kann sprichst du deutsch. Dann kann ich ja auch in deutsch antworten.
Also das einfache überschreiben des Icons sollte normalerweise gehen. Ich mache das über die customize.yaml z.B. so:
sensor.fensterkontakt:
icon: mdi:fire
Wenn du die aber nicht verwendest musst du es über da Frontend machen.
Was das Icon ändern je nach Status angeht sollte es eigentlich mit einem Template gehen. Aber das habe ich noch nie
gemacht. Da kann ich dir leider nicht weiterhelfen. Geht es denn mit einem Template bei anderen Home Assistant Komponenten? Oder ist das ein prinzipielles Problem?
from pyloxone.
Danke für deine Hilfe.
Da grundsätzliche ändern bzw. überschreiben des Icons funzt schon. Leider ändert es sich aber nicht dem Status entsprechend.
Versucht habe ich templates, if case und device class.
Ich schließe keine Fehler meinerseits aus, würde mir aber eine einfache Version wünschen das Icon dem Status entsprechend ändern zu können.
from pyloxone.
Also was ich machen würde, wäre einen Template Sensor mit einem Icon Template machen. Habe folgendes gerade
probiert und es funktioniert:
Der Sensor "sensor.fensterkontakt" ist ein Loxone Digtial Sensor so wie von dir beschrieben.
Vielleicht hilft dir das.
from pyloxone.
Vielen Dank!
Ich hätte noch eine Frage: kann ich das einfach im Lovelace Editor für ein Picture Element verwenden?
from pyloxone.
Das kann ich dir leider nicht sagen. Das musst du probieren.
from pyloxone.
Related Issues (20)
- Can not connect pyloxone with server: HOT 10
- Entity list - incomplete HOT 11
- [Question/Feature_Request]: sensor for tempTarget (or other "nested" values) HOT 9
- After update not all sensors loaded HOT 5
- Integration for ac control air loxone HOT 4
- [Bug]: Can't see phisical switch HOT 1
- [Bug]: Loxone integration flooding logs, preventing HA from responding HOT 4
- [Bug]: PyLoxone installed and conencted fine but unable to control from HA HOT 2
- [Bug]: Lost connection to miniserver HOT 5
- [Issue]: Unable to connect HOT 8
- [Bug]: Entities not updated after connection to Miniserver is dropped HOT 9
- Not getting Gen2 to work HOT 5
- [Bug]: SmartActor RGBW on LightController V2 Turn on issue HOT 1
- HA deprecated constant which will be removed in HA Core 2025.1 HOT 4
- [Bug]: Dimmer lights are broken after update to 0.6.0 HOT 7
- [Question]: Change text of virtual text input in loxone? HOT 2
- [Request]: Add room to entity id HOT 4
- [Bug]: New Light Control not synced HOT 9
- [Bug]: Unable to connect to Miniserver Compact HOT 2
- 100.000 events and event_data in the HA db every 12 hours HOT 4
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 pyloxone.