-
-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calendar / upcoming events page #1858
Comments
Help me on thinking how this should be implemented. On the panel as it is now, I can assign entities to the buttons and when clicking the buttons the detailed page will open or it will toggle the state of the entity. |
So, in terms of behaviour, you are correct, they there is no point toggling the entities. I think the main questions are
I think colouring is part of the second bullet. What the Lovelace Calendar does is that it uses a coloured dot before the title of each event (see screenshot above with cyan colour) to denote the Calendar it pulled the event from, i.e. if there are 3 calendars, the entities will have one of 3 colour dots in front of them. Maybe if we don't have enough space for dots, we could use a background colour assignment for each Calendar entity on the Blueprint setup. I am not sure if this helps or not, but it could be a customisation. However, we could do this also with text colour. So we may be setting it up that if one calendar contains family birthdays, the text (or background) would be red, etc. I actually think that the layout is more critical - the Lovelace Calendar uses different layout for the 3 different available views. I am not sure which ones are possible/practical to implement on the NSPanel. For me the most important view is something like what is in the screenshot, which is the 7 days lookahead list view - it basically provides at a glance if there is something that would need to be taken care of later today or in the next few days when we are preparing to get out of the house. I don't think we'd expect a lot of people to want to do monthly planning on the NSPanel, although if it is not so complex to implement, it is certainly useful to have a view of which dates have something on them. So what I am trying to say is if we are using the same layout as the buttons are, we need to be careful not to confuse people on the order of the events coming up - I think a thinner card but more of them stacked on top of each other is probably more useful than reusing the layout of the buttons. That said, if that's the only way it can be implemented, it is still much better than not having the option at all. |
I think we can build a view pretty similar to that one on your screenshot, and that could be the starting point, so we improve from there... |
Ah, I see. I thought you could just swipe through the pages which could include the calendar page (pages) if they are configured. I didn't think to configure a button to open that page. But let me think through the behaviour/position of the calling button.
|
I just realized the calendar entity have an state which could be The icon also changes between mdi:calendar-blank ( |
I think this may be useful in scenarios that I am not going to use it for :) For example, if we imagine an NSPanel per room entry outside for conference rooms, and we have a calendar for each room for its reservations, you could show whether the room is currently in use. I can't however think of a useful scenario for home use because I expect this to serve mostly as a reminder on what is coming up, not what I have been late for :) |
I'd suggest to take inspiration from this calendar card: |
As I understood, those cards can show multiple calendars, is that correct? |
Yes
Yes |
Clearly, implementation capabilities / roadmap decisions is in your hands and not mine. From my perspective I definitely need multiple calendars as there are different people entering different types of events in the family that would need to be shown together. Of course I could start with just displaying one of them, but I can already foresee the family discussion that results :) |
On the climate domain, we have an "special" climate entity which is the internal climate, with a link from the home page when you click the internal temperature. Then later we introduced the support for other climate entities which could be assigned to buttons. For calendar, we can implement something similar like a main calendar on the home page, which an icon in a fix position, and that could have multiple calendar entities assigned to, however is much easier to implement the calendar based on a single entity, just like everything else in the panel, so you assign an entity to any button and by click on that button it will open the detailed page for that specific entity. We certainly can do both, just wanna start with the easier one, so we can get feedback and improve it while we find a solution to the other one. |
On the event mode I see the progress bars... which progress is shown there? |
I may be misunderstanding this, or maybe we are talking about two slightly different use cases when we mean "multiple calendars". The usage scenario I was imagining/describing was essentially a "merged" calendar page, where the events listed originate from multiple sources, but are displayed in a single page. In the use case I was imagining, this phasing would not make sense, because in all cases I was imagining a SINGLE page to display the entries from multiple calendars. Think of it as follows:
What I would do as a display is to have a single list of upcoming events for the family next week, the list being populated from across all 4 of the calendars. The example screenshot at the top of this page shows selecting each of these calendars for inclusion, but the display is a single listing. In this example layout the source calendar is simply used to pick the colour of the dot in front of the entry, I think NoFace3D's example screenshot above the calendar name/reference is displayed as a "tag" for the event. Hope it makes sense. |
It does. :) But I still can see value on the single-entity step:
Anyway, I'm not saying we should release the single-calendar version before releasing the multiple-calendar version. The difference between those two are quite small... Probably the biggest challenge is to find a place in the screen for an additional icon required by a multi-entity button.¨ When I start working at that I will update here. |
I'd say it's showing progress of the ongoing event. |
And what that means? |
Looks like it's calculated as ( (current time - start time) / (end time - start time) ) |
I guess, it's showing progress in percentage, or in hours. I am not sure, maybe you can find it in the docs |
Enhancement Summary
It would be very useful if we could have an optional "Calendar" page to show upcoming events from a set of calendars
Detailed Description
It is possible to integrate various calendars with Home Assistant (local, Google Calendar etc).
Where a wall panel is located in a communal area, some people also have blackboards, sticky notes etc. to remind themselves of what is upcoming / what they need to do, especially with busy families where different people have different places to be.
It would be useful if instead of the manual boards, we could have a page (or pages) that could simply show an upcoming list of events from one or more calendars (i.e. a combined view). Ideally, tapping on an event, it would bring up its details.
Similar to how one can do it with the Lovelace Calendar card:
Additional Context
No response
The text was updated successfully, but these errors were encountered: