Hmmm, does it not get added until the first event? I installed everything, but the team device doesn't have a button attribute.
Sorry, there's no actual "attribute" button. The team device has the button capability. That means if you go into Rule Machine, it will be selectable like any other button for a trigger or action. What you should see in the device, though, is the "push" command. Then, in the child apps, you'll see new settings that configure when the events are triggered and whether to notify you of them.
Yes, sorry, I used the wrong word in "attribute". What I meant is that, when I go into RM, and try to trigger off a button, the team device is not listed. Which led me to believe that the device isn't showing up as a button.
When I go into device details of the team device, there is no "push" command either.
I'm using v1.2.0.
Ah. I think somehow you got to the wrong branch on github. Looks like you're in the Development branch, not the event-handling branch.
Should be v 1.5.0
Ah okay. My bad. Don't know how that happened. I actually had a combo of v1.5.0 and v1.4.3 installed. I erroneously said I was using v1.2.0 because I looked at the top line of your version history and assumed that was your most recent. Most developers go bottom up with the versioning. Just figured out you went top down. Oops sorry. Anyway, I got v1.5.0 installed now and everything looks good.
I set up 4 rules in RM5 to test the four events -- will let you know after Sunday. Although I guess I'll only be able to test 3 of the events though, unless the Steelers figure out a way to both win and lose!
It still won’t let me attach any images. The Even row background doesn’t seem to be displaying correctly.
I tried with both the Odd and Even row background set to #9E9E9E for gray, but the background on the Even rows is appearing White. Odd rows is showing gray.
Then I tried with them both set to #000000, and the Odd rows are showing black but the Even rows is still white.
I’m on version 1.4.3.
Thanks
What’s the opacity set to?
It’s set to 1.0 for both Odd and Even. It doesn’t accept decimal points so I could only enter 0 or 1.
Hm. What dashboard are you using? Native Hubitat, sharptools, something else?
I’m using SharpTools, but even if I bring up the team child device under Hubitat Devices, it’s doesn’t show correctly there either.
I haven't been able to recreate your issue I'm afraid. Can you confirm you are inputting hex colors in the format #XXXXXX with the leading pound (#) sign? Also, any errors in the log? And what browser are you using? If none of those questions reveal what's going on, perhaps you can post your issue with pictures in the sharptools forum, because it's going to be difficult to do much more without pictures.
@JustinL, here's the update after beta testing the new app this weekend. Here's what I found:
- The app is clearly flawless since the Steelers won. OK, seriously, the app pretty much worked as expected. Well done, props, and thanks.
- I do wonder if I set the first notification too early. For my use-case, I try to warn myself 5-6 days before the game so I can be sure my DVR is set properly. I wonder if the Status has to be Scheduled or something for the first event to work. Is there some limit to the lead time? If so, might be handy to error-trap for that, or at least just to communicate the limit on the front end.
- One usage thing: If I want my own actions on event, and I don't want to use the app-generated notifications, can I deselect "Send Push Notification" or will the button event not be generated if I do? IOW, am I forced to get both the button event and the notice? It'd be good for it be either or both.
That's all. Otherwise, spot on!
Oh, if you want to test the "Lose" event, I'm afraid my Steelers will prevent me from being a good beta tester for at least the rest of the year. Maybe you can find a Giants or Lions fan, eh?
Ah. I see what happened. I made a fix to this now. I think it should handle pregame notifications more than a day out now.
The button event will be generated no matter whether push notifications are selected. So you can deselect push notifications if desired.
Seems like I can go ahead and release now.
v 1.5.1 - fixes an issue with pregame events triggering even after a game is canceled. You know, like what happened when the Braves beat the Brewers and what's going to happen when the Braves beat those Dodgers!
EDIT: Maybe. Hopefully not a repeat of last year's series.
Stumbled onto this app - wow! amazing work! Loving how it works on Hubitat dashboard for Android! As I was playing - there is a new team in Hockey called the Seattle Kraken. My hubitatDashboard Android is messing up with their logo - I believe it's a bit oddly shaped:
I did a rushed comparison to all the other NHL logo's and this thing is a bit strange in that it's taller than it is wide, only thing nearly close is the LA Kings :).
Glad you're enjoying the app. I'm not very observant when it comes to artistic things like this, so I might need a bit more help from you in identifying the issue. I can't seem to figure out what's wrong with the logo being displayed. A side-by-side that I got from nhl.com makes them look the same to me, but like i said i'm not very observant...
@@ this is not life threatening!
as I look at the WxH ratio of many logos in the NHL, there is a fairly 'square' shape to them. When you apply a sizing via css ala 'width:100' you get a default 'height:100'. Since AFAICT the seattle logo much more rectangular with the longer side being the height. Looking at the code it seems that there is width defined in your table (which is a work of art, if I may add) and the adjustment of the row height is dynamic to the images being displayed. Here's a much more useful image to see the impact:
As I think you can easily see, the Seattle logo is nearly twice as tall as any other logo, but is the exact width shared by all 4 logo's.
I was thinking you'd need to set max-height but since HE doesn't use predefined container you can't rely on that - honestly, I'm not sure how to work around this!
PS - the image in the preceding post was from the AndroidDashboard - this image is from a HE dashboard.
Yeah I don’t know either. If I make them all the same height, do I not run into the same problem, except the logos will be different widths?
I believe yeah. since the ratio would stay the same, you'd have a problem in regard to how the cell would handle it.
One idea would be to use a div wrapper inside the cell of the table, but around the image. Set the logo as a background URL, while still controlling the div height/width. then using a background-size: contain might do it. in that way you can create a 'container' that wont cause structural problem to your table - and will give an automatic benefit of effectively keeping the logo's ratio's correct and never worry about height vs width issues... my css is less than advanced level so... maybe you know a guy?
I created a test page from your code and edited it to show one way that could work. It's not responsive but will resize as needed on a refresh. The only minor drawback is the 1x1.gif for a placeholder...