-
Notifications
You must be signed in to change notification settings - Fork 15
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
[Google Home Alarm] Unable to pull end time #18
Comments
Thanks for creating the issue! I don't have a google home, so I don't know much about the integration. Thanks! |
This might be impossible to do without some templating. I notice the state is set to the alarm time which will change every day, so the You could use If that's correct, the only option now would be to write a template entity whose state is the I might have to consider adding some new ways of figuring out whether the alarm is on or off. |
Sorry I haven't had time to keep up on this, I could template out the status and end time, then feed that in, just didn't know if there is a cleaner way to do it |
Guys, I think I have a suitable question on the topic. I have a sensor like this: |
It seems to me that I should use the 6th item and take the duration from my sensor, but how to specify its format correctly? Or make an additional sensor where there will be a format like xx: xx: xx? https://github.com/rianadon/timer-bar-card#6-my-duration-actually-comes-from-another-entity |
@SAOPP you are correct. The format for duration needs to be |
@gmcaesar sorry the templating is going to be the cleanest way for a while. I don't have the time to add new features to the card anytime in the near future. |
Okay, thanks, I will try. |
It's been a while and I can't find a template to make google home alarms work, with a google search least. I did find the template to make the timers work as per the documentation on this integration. Can anyone share their template they used to create an alarm that is compatible with this card? |
It looks like timers and alarms have a bit of different syntax so aren't going to be really compatible. If I have time this month I might try looking into either making some PRs to have the Google Home integration supply the attributes this card needs to work or writing a version of the card specifically for Google Home stuff. |
This thread started a while ago so there's some newer features in the card that might help:
There's one fix I need to make to the card for this to work—I put extra restrictions on guess mode that I realize now are unnecessary. I'll remove them in the next release. TL;DR use |
any updae on this ? |
Using Google home integration (Have version that pulls alarms and timers from Google home devices) alarm state has date and time in a format that shows on this card but does not generate a bar.
Right now it shows as
2021-08-30T06:00:00:06-07:00
Alarm is set for 6AM
The text was updated successfully, but these errors were encountered: