So, I’ve got a tablet that I’m using as a home dashboard, and one of the things I want to have up on it is a few team tracker cards. The only issue is I want to lock down the tablet so that there’s no internet access (or at least, minimal internet access), but still be able to get team logos on the team tracker card. Of course, ESPN uses akamai so trying to nail down all the IP Addresses you’d need to open up is a can of worms, so limiting it that way is pretty much out of the question.
I could download all the assets for teams whose card I’d like to have up, or I could set up a reverse proxy - but then I’m stil stuck on how to update the cards so that they point to these local assets or the proxy. I think the path of least resistance is to use a helper entity to basically clone a team tracker entity and only update the logo attributes. I’m… Not certain how I could achieve that, though… Any ideas?
How often to team logos change? Just wondering. Not sure I see the issue here. Save them all off, block the tablet at the router, and serve the logos up locally.
Discovered you can create a template sensor and give it attributes, so duplicating it (and using a proxy) would look something like this, obviously use your own sensor and proxy address. Truncated for brevity’s sake, but you would just add all the attributes from the original team tracker sensor.
Is there a better way of handling a scenario when there are no upcoming games for a team? Currently, instead of the normal football team logo and name etc, when the api returns no upcoming games, the card shows like this:
So it shows the League logo, and the team ID. Not sure if it would be possible to continue to show the team logo like normal, and the team name as well, or is this not possible due to the lack of any information coming back in the api during these breaks? For reference, I am using the integration type custom, with the sport path as soccer, the league path as eng.3, and the team ID 324. It was showing this way for a few days, due to an FA Cup game and no league games for a short spell, but has today reverted back to displaying correctly with the next upcoming league game:
Hello all I have searched but failed to find the answer and my “figure it out on your own skills” Suck. Hope you can help. Getting this - TemplateError(‘ValueError: Template error: as_datetime got invalid input ‘None’ when rendering template ‘{{ as_datetime(state_attr(“sensor.san_francisco_49ers”,“date”)) - timedelta( hours = 3, minutes = 0 ) }}’ but no default was specified’) while processing template ‘Template<template=({{ as_datetime(state_attr(“sensor.san_francisco_49ers”,“date”)) - timedelta( hours = 3, minutes = 0 ) }}) renders=4>’ for attribute ‘_attr_native_value’ in entity ‘sensor.pre_game_san_francisco_49ers’ Question is- Is this a error? If Yes how do I correct it. or is throwing this because the game is not within the time?
FYI I see the “this topic has been solved” thing over to the right as I type but I could not find the answer, so again thank you for helping.