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]: Gateshead Council not working even after update HOT 2
- [Bug]: Glasgow URL change for website (have fixed submitting PR) HOT 1
- [Bug]: Detected blocking call to import_module inside the event loop by custom integration HOT 1
- [Bug]: de.k4systems.abfallappnf no entries in the calender HOT 4
- [Feature]: All widths of the cards are the same width as the max card width HOT 2
- [Source Request]: Northumberland, England
- Detected blocking call to import_module inside the event loop HOT 1
- [Bug]: Dont work any more HOT 5
- [Bug]: muellmax_de not working anymore
- [Bug]: Plugin not loading at all HOT 1
- [Bug]: Maidstone stopped working HOT 4
- [Bug]: AttributeError: 'NoneType' object has no attribute '_entries' HOT 5
- [Bug]: Australia > Hume City Council / hume.vic.gov.au > Food and garden (Green Waste) HOT 2
- [Feature]: add friendly_name option
- [Source Request]: Pendle Council
- [Feature]: Day offset
- [Bug]: Berlin Stadtreinigung (BSR) reporting wrong dates HOT 3
- [Feature]: Expose collection type and days to next collection as sensors HOT 2
- [Bug]: Landkreis Hameln-Pyrmont isn't working anymore HOT 2
- [Bug]: Detected blocking call to import_module inside the event loop by custom integration 'waste_collection_schedule' 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.