Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsure if installing correctly #142

Closed
MattDemers opened this issue Feb 5, 2025 · 1 comment
Closed

Unsure if installing correctly #142

MattDemers opened this issue Feb 5, 2025 · 1 comment

Comments

@MattDemers
Copy link

I've installed feedparser as a custom component through HACS (using Docker HomeAssistant, everything's latest). I can confirm through FTP that feedparser is in my custom_compontents directory.

This is my configuration.yaml. I'm using the example that you posted in the README.md.

Unfortunately, after restarting HomeAssistant after install (and after restarts due to tweaking the YAML) I don't see a new sensor inside the Developer > States menu. Unfortunately the only thing involving Feedparser there seems to be the HACS sensor for notifying for updates.

sensor:
  - platform: time_date
    display_options:
      - 'time'
      - 'date'   
  - platform: feedparser
    name: Engineering Feed
    feed_url: 'https://www.sciencedaily.com/rss/matter_energy/engineering.xml'
    date_format: '%a, %d %b %Y %H:%M:%S %Z'
    scan_interval:
      hours: 3
    inclusions:
      - title
      - link
      - description
      - image
      - pubDate
    exclusions:
      - language
@rjmccallumbigl
Copy link

I wondered the same but I needed an extra restart to get mine working.

  1. I installed through HACS as well
  2. Restarted Hassio
  3. Added this to my configuration.yaml:
sensor:
  - platform: feedparser
    name: TIL
    feed_url: 'https://www.reddit.com/r/todayilearned.rss'                
    date_format: '%a, %d %b %Y %H:%M:%S %Z'
    scan_interval:
      hours: 3                                           
  1. And restarted again, now I can see the entity:

Image

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants