The Reddit sensor integrates data from Reddit to monitor your favorite subreddits.
Setup
To set up this sensor, you will need to generate a client_id
and client_secret
for the user account you will use to connect. Follow the first steps in this Wiki page.
Configuration
To enable this integrationIntegrations connect and integrate Home Assistant with your devices, services, and more.
[Learn more], add the following to your configuration.yaml
The configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI.[Learn more] file.
After changing the configuration.yaml
The configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI.[Learn more] file, restart Home Assistant to apply the changes. To view the changes, go to Settings > Devices & services > Entities.
# Example configuration.yaml entry
sensor:
- platform: reddit
username: !secret reddit_username
password: !secret reddit_password
client_id: !secret reddit_client_id
client_secret: !secret reddit_client_secret
subreddits:
- news
- worldnews