Sensor says unknown. In Google Console it says 100% error for the requests made. How do I go about to see why it generates an error? Cant find a log in Google console that is more specific.
Any common mistakes that are known in conjunction with this component?
Home assistant log says
No popularity info is returned by the populartimes library.
I’m seeing the same here. It seems the underlying library is broken at the moment. There seems to be a replacement available. I’ll try to find some time to test it in my component and see if I can create a working update.
I love this component, but there’s a limitation if the store doesn’t have live busyness I still want to see the typical value. It would be GREAT if we could have an attribute which indicates whether live busyness is being reported, and a second attribute that has the typical value for the current day and hour.
In the meantime, and in case it helps someone, here’s how I do this with a template, for example for my local UPS store:
This will show the typical value, if the current value is zero. I’m not sure this is quite the right approach (if it really is zero, I want to know that) but I only use it on the locations that don’t report live data anyway.
I wrapped this up in a template sensor, probably unnecessary but it makes it easier to show the value in more than one place.
Platform error sensor.populartimes - Requirements for populartimes not found: [‘git+https://github.com/GrocerCheck/LivePopularTimes@master#LivePopularTimes==1.0’].
Yeah I saw your issue on Github.
I tried many forms of the requirements URL but it does not work in any form indeed
When I have more time I’ll try to solve it.
Looks great, thanks!
Any chance of looking at the earlier request I made, to add a couple of attributes?
I love this component, but there’s a limitation if the store doesn’t have live busyness I still want to see the typical value. It would be GREAT if we could have an attribute which indicates whether live busyness is being reported, and a second attribute that has the typical value for the current day and hour.
I am having an issue when installing this. I used HACS to install and restarted twice. I am trying to add the sensor to my configuration.yaml, but it won’t pass the configuration validation. I tried removing the name & address lines, leaving just the platform, and even that won’t validate.
sensor:
# Google Maps popular times
- platform: populartimes
name: 'ShopRite'
address: 'ShopRite of Roxborough, 6901 Ridge Avenue, Roxborough, PA 19128, USA'
You configuration looks fine to me. Are you sure there is not another component that causes the validation error? Does it still happen when you remove the sensor entity entirely?
I reinstalled the repo thru HACS, rebooted, and now everything seems to be working just fine. Not sure what happened, that hasn’t happened to me before.