Google Maps/Places popular times component

This component generates a sensor which shows the current popularity for a place which can be found in Google Maps using the Places API.

Sensor attributes are also generated which indicate past popularity at each hour of the day.

For this to work you need a Google Places API key. There are limits for how many calls you can do for free per month. More info can be found here. For this reason I have limited the update time for the sensor to once every 10 minutes.

Getting required info

Installation

Either:

  1. Install via HACS
  2. Download files as zip and put the contents of the populartimes folder in your home assistant custom_components folder.

Configuration

sensor:
  platform: populartimes
  api_key: 'your-api-key-here'
  id: 'your_google_places_id_here'
  name: 'your_sensor_name_here'

Repo with installation files:

If you have any questions, or find any bugs, please let me know here or raise an issue on Github.