Comments (6)
Hi, I think I got your point :-)
Adding an attribute to support sorting of entities in the UI sounds reasonable and feasible. I didn't add it be default so far, because this would pollute the "more-info" window. I would add an option to the configuration which appends a daysTo attribute.
I'm not sure if an attribute_template is a good idea, because this would add a lot of complexity if you want to support arbitrary informations, like list of upcoming events, etc.
Currently I work on another feature (calendar). I would look into your request after I have finished this feature.
Regards
from hacs_waste_collection_schedule.
Thanks! Looking forward to try it out.
from hacs_waste_collection_schedule.
Please check version 1.2.0. You now have to ability add an attribute daysTo
to the entity state if you add add_days_to: True
to the sensor configuration of your waste type specific sensor.
Please let me know if this works for you.
from hacs_waste_collection_schedule.
It works perfectly! Thank you very much for this lightning fast implementation of my feature request. I appreciate it.
from hacs_waste_collection_schedule.
why is the "daysTo" attribute not standard (default)? is there any disadvantage in having it?
from hacs_waste_collection_schedule.
daysTo has been added later. And as I didn't want to change the existing configurations it is an optional attribute.
from hacs_waste_collection_schedule.
Related Issues (20)
- [Bug]: Icons for crawley HOT 2
- [Source Request]: Gelbersack for Stuttgart HOT 2
- [Bug]: Detected use of service 'calendar.list_events'. I cant find it in ZVA-SEK, where do i have to change this? HOT 1
- [Bug]: Multiple sources type invalid config error HOT 2
- [Bug]: fetch failed for source Stavanger Kommune HOT 3
- [Bug]: WasteNet Southland not working after 1.46.0 HOT 3
- Data from sector27.de missing HOT 6
- [Feature]: Add "Ammerland" or "Rastede" for Germany HOT 4
- [Bug]: Barnsley MBC. Fails when running with collection date as today HOT 1
- [Feature]: add ALP-LUP, City: Gammelin Germany HOT 1
- [Bug]: source not found: n-kesteven_org_uk HOT 2
- [Bug]: Basingstoke and Deane is broken since the 8th of Feb HOT 4
- [Source Request]: Bolton
- [Bug]: New Addresses use 9 digits at ID "Abfuhrkalender Stadt Fürth", but only 8 digits work HOT 2
- [Bug]: Faulty source for Kreis Pinneberg? HOT 1
- [Bug]: all_day = true but event end_time overlaps into next day HOT 2
- [Source Request]: Add calendar for France\Flines-Lez-Râches HOT 1
- [Source Request]: Change sourceintegration landkreis bamberg HOT 1
- [Bug]: No time&date anymore HOT 15
- [Bug]: Cornwall UK - Multiple Rubbish days only detects latest 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 hacs_waste_collection_schedule.