custom-components / feedparser Goto Github PK
View Code? Open in Web Editor NEW๐ฐ RSS Feed Integration
License: MIT License
๐ฐ RSS Feed Integration
License: MIT License
Hi, running beta and its not liking feedparser.
This error originated from a custom integration.
Logger: homeassistant.loader
Source: custom_components/feedparser/sensor.py:46
Integration: feedparser (documentation)
First occurred: 4:08:04 PM (4 occurrences)
Last logged: 4:40:51 PM
Unexpected exception importing platform custom_components.feedparser.sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 833, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 850, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/config/custom_components/feedparser/sensor.py", line 46, in <module>
@asyncio.coroutine
^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'
has to be updated "to not use the asyncio.coroutine decorator"
From a fellow in the beta chat RobertD502
Just remove the @asyncio.coroutine decorator on line 46 of sensor.py and change "def async_setup_plaform" on line 47 to "async def async_setup_plaform"
That way you get to still use the component.
Note: This is a breaking change for the https://github.com/custom-cards/list-card
I don't have an expected date on when I'll get around to fixing it. If you're using the list-card, do not upgrade to 0.0.8 for now.
Could you clarify what the breaking change is? If you weren't to use list-card, what would be the alternative to showing the sensor's output?
Thanks!
Does this still have a breaking change with list card? If it does, it would make sense to have a comment in the readme about it, so we can monitor for if/when it is no longer the case.
On my internal network I have a CI server that tests my home assistant config. I have noticed the Feedparser sensor always causes my CI server to fail. Feedparser did fail when I first installed it on my main HA but after a second reboot it started working. I was wondering if anyone else has this issue and if it can be fixed so it works on first boot
I followed the instructions to enable custom component and added the sensors in config file and the entries into ui-lovelace.yaml as indicated by instructiuons, but also after three resets i get always the following error:
2018-08-22 13:20:01 ERROR (Thread-9) [homeassistant.loader] Error loading custom_components.sensor.feedparser. Make sure all dependencies are installed
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/loader.py", line 94, in get_component
module = importlib.import_module(path)
File "/usr/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "", line 673, in exec_module
File "", line 222, in _call_with_frames_removed
File "/home/homeassistant/.homeassistant/custom_components/sensor/feedparser.py", line 12, in
import feedparser
ImportError: No module named 'feedparser'
2018-08-22 13:20:01 ERROR (Thread-9) [homeassistant.loader] Unable to find component sensor.feedparser
Just discovered this component today and wanted to use it to track unifi firmware releases for my UDM. Running home assistant on Proxmox using the whiskerz script.
Config Entry:
sensor:
platform: feedparser
name: UDM Firmware
feed_url: "https://community.ui.com/rss/releases/UniFi-Dream-Machine-Firmware/b0f0a740-021e-4027-a778-ceba983be74b"
Config Error:
Platform error sensor.feedparser - cannot import name 'SensorEntity' from 'homeassistant.helpers.entity' (/usr/src/homeassistant/homeassistant/helpers/entity.py)
Is there a reason for why the timezone information is removed at line 83? This causes problem when parsing the published date using day.js in Safari.
Would not the default date_format '%a, %b %d %I:%M %p' achieve the same?
I'm happy to make a PR to remove this, if you agree.
Using homeassistant core 2023.3.0 (venv in Ubuntu 22.04.2 LTS on XCP-NG hypervisor on Intel NUC)
After upgrading venv python from 3.10 to 3.11 feedparser fails to load with the errors:
Unexpected exception importing platform custom_components.feedparser.sensor.
AttributeError: module 'asyncio' has no attribute 'coroutine'
A full trace is at the end of this report.
As a workaround, in sensor.py at line 46 I replaced:
@asyncio.coroutine
def async_setup_platform(
with:
"""@asyncio.coroutine"""
async def async_setup_platform(
Feedparser then started working as it did under python 3.10
2023-03-02 14:08:49.952 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform custom_components.feedparser.sensor
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/loader.py", line 779, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/loader.py", line 796, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/homeassistant/.homeassistant/custom_components/feedparser/sensor.py", line 46, in <module>
@asyncio.coroutine
^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'
2023-03-02 14:08:49.955 ERROR (MainThread) [homeassistant.config] Platform error: sensor
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/loader.py", line 779, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/loader.py", line 796, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/homeassistant/.homeassistant/custom_components/feedparser/sensor.py", line 46, in <module>
@asyncio.coroutine
^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'
I have feedparser working for the https://exystence.net/feed, but it will not retrieve the images. It just gives me the error link (https://www.home-assistant.io/images/favicon-192x192-full.png), but even then it does not give the image, just the link. How can I pull the image from the feed and have it show up in lovelace? Any help would be greatly appreciated!
Just found this message in my log:
sensor.wikiquote (<class 'custom_components.feedparser.sensor.FeedParserSensor'>) implements device_state_attributes. Please report it to the custom component author.
My understanding is that device_state_attributes has been deprecated and replaced with extra_state_attributes.
Thank you
Never had any problem with this, but latelty my home assistant won't start with feedparser on it.
I can't use {{now().strftime('%d-%m-%Y')}}
in the feed_url, it's seem to never work ..
could please tell me if it's possible ?
Hi im using this component for some time now and it generellay works great with the custom lovelace card. However i was wondering if i could filter the entries of a feed efficiently without the need to fiddle around with template sensors.
Like only show titles that include a certain string or something like that. The reason i ask is that i kind of get it working with templates but not optimally.
Hi,
I found a warning message in logs. I'm quite sure that you already know it but if don't please have a look at it:
No 'version' key in the manifest file for custom integration 'feedparser'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'feedparser.
For high activity or high importance feeds, it would be very useful to be able to configure the scan interval. Examples include information and warning feeds of emergency services and public safety authorities. One hour is too long to use those feeds effectively.
Hi, after this site has moved to a new server with the same host I get these errors:
2019-12-10 21:26:50 ERROR (SyncWorker_15) [homeassistant.components.feedreader]
Error parsing feed https://hassiohelp.eu/feed/: <unknown>:4:2: mismatched tag
2019-12-10 21:26:50 ERROR (SyncWorker_16) [homeassistant.components.feedreader]
Error parsing feed https://hassiohelp.eu/comments/feed/: <unknown>:4:2: mismatch ed tag
config
feedreader:
urls:
- https://hassiohelp.eu/feed/
- https://hassiohelp.eu/comments/feed/
- https://www.ansa.it/sito/ansait_rss.xml
- https://it.wikiquote.org/w/api.php?action=featuredfeed&feed=qotd
scan_interval:
minutes: 30
max_entries: 20
sensor
sensor:
- platform: feedparser
name: Articoli HassioHelp
feed_url: 'https://hassiohelp.eu/feed/'
date_format: '%Y/%m/%d'
inclusions:
- title
- link
- platform: feedparser
name: Commenti HassioHelp
feed_url: 'https://hassiohelp.eu/comments/feed/'
date_format: '%Y/%m/%d'
inclusions:
- title
- link
- published
can you help me?
When I try to add local_time
to my yaml config Home Assistant won't let me restart because it thinks that local_time
is an invalid option. Any ideas what the problem is?
Hello. Im trying to read out the school meal from this https://skolmaten.se/ede-skola/rss/weeks/?limit=2,
However the description is not read, possibly due to ![CDATA]? It appears to be valid in XML. Any ideas?
I have been messing around with my lovelace and I can't get it to work
Here is what the card looks like:
Here is my yaml for that card
type: 'custom:list-card'
entity: sensor.news
title: News feed
feed_attribute: entries
columns:
- title: ''
type: image
add_link: link
field: image
- title: Title
field: title
style:
- white-space: nowrap
- title: Description
field: description
Here is my config for feedparser:
sensor:
- platform: feedparser
name: news
feed_url: 'http://rss.cnn.com/rss/cnn_topstories.rss'
date_format: '%a, %b %d %I:%M %p'
inclusions:
- title
- link
- description
- image
- language
- pubDate
Hi, I love this sensor, I was thinking if it's possible to make a PR against home-assistant.
Thanks!
I use the feed: https://www.nu.nl/rss/Algemeen
The image are in an enclosure element. Can this be solved in a new release?
<atom:link href="https://www.nu.nl/rss/Algemeen" rel="self"/> <language>nl-nl</language> <copyright>Copyright (c) 2021, NU</copyright> <lastBuildDate>Mon, 20 Dec 2021 16:39:45 +0100</lastBuildDate> <ttl>60</ttl> <atom:logo>https://www.nu.nl/algemeenstatic/img/atoms/images/logos/rss-logo-250x40.png</atom:logo> <item> <title>Novavax-vaccin kan volgens CBG sommige prikweigeraars alsnog overtuigen</title> <link>https://www.nu.nl/coronavirus/6174197/novavax-vaccin-kan-volgens-cbg-sommige-prikweigeraars-alsnog-overtuigen.html</link> <description>Het nieuwe coronavaccin van Novavax, dat <a href="https://www.nu.nl/coronavirus/6174179/coronavaccin-van-novavax-als-vijfde-goedgekeurd-voor-gebruik-in-europa.html" target="_blank">maandag</a> een positieve beoordeling van het Europese geneesmiddelenbureau (EMA) kreeg, kan helpen om ongevaccineerden alsnog over de streep te trekken. Het vaccin is namelijk gebaseerd op een oude techniek, met eiwitten. Dat zegt Ton de Boer, voorzitter van het College ter Beoordeling van Geneesmiddelen (CBG).</description> <pubDate>Mon, 20 Dec 2021 15:51:55 +0100</pubDate> <guid isPermaLink="false">https://www.nu.nl/-/6174197/</guid> **<enclosure length="0" type="image/jpeg" url="https://media.nu.nl/m/rnlxvbaa9mz9_sqr256.jpg/novavax-vaccin-kan-volgens-cbg-sommige-prikweigeraars-alsnog-overtuigen.jpg"/>** <category>Algemeen</category> <category>Binnenland</category> <category>Coronavirus</category> <dc:creator>NU.nl/ANP</dc:creator> <dc:rights>copyright photo: EPA</dc:rights> <atom:link href="https://nu.nl/coronavirus/6174179/coronavaccin-van-novavax-als-vijfde-goedgekeurd-voor-gebruik-in-europa.html" rel="related" title="Coronavaccin van Novavax als vijfde goedgekeurd voor gebruik in Europa" type="text/html"/> <atom:link href="https://nu.nl/coronavirus/6174077/speciale-omikronvaccins-komen-eraan-maar-onzeker-of-ze-worden-ingezet.html" rel="related" title="Speciale omikronvaccins komen eraan, maar onzeker of ze worden ingezet" type="text/html"/> <atom:link href="https://nu.nl/coronavirus/6173729/mensen-bellen-massaal-telefoonlijn-voor-vaccintwijfelaars-limiet-bijna-bereikt.html" rel="related" title="Mensen bellen massaal telefoonlijn voor vaccintwijfelaars, limiet bijna bereikt" type="text/html"/> </item>
You are running Home Assistant version '2021.3.4', but this repository requires minimum version '2021.4' to be installed
21.4 isn't out for several more days. after i updated today, it no longer works
the code change yesterday broke it
ImportError: cannot import name 'SensorEntity' from 'homeassistant.helpers.entity'
Hi hi,
I cant get it to work correctly, could you provide me an example? That would be great, struggling to get this working i have:
- platform: feedparser
sensors:
name: Algemeen
feed_url: 'https://www.nu.nl/rss/Algemeen'
date_format: '%a, %b %d %I:%M %p'
inclusions:
- title
- link
- description
- image
- language
- pubDate
exclusions:
- language
which gives me:
https://imgur.com/a/2d8I72w
and i have in lovelace:
- type: custom:list-card
entity: sensor.algemeen
title: Algemeen
columns:
- title: ''
type: image
add_link: link
field: image
- title: Title
field: title
style:
- white-space: nowrap
- title: Description
field: description
which gives me:
https://imgur.com/a/1cbrHmD
Where the 3 rss logos beneith are 3 sensors. but the list doesnt show correctly the rss feed.
i addes the custom component and i added the list.py in the www folder.
Could you please help me out
Thank you for your work on this. I use it every day.
Still getting this message in the error log:
No 'version' key in the manifest file for custom integration 'feedparser'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'feedparser'.
Would you please look into it?
HA version - 88.2 feedparser.py version - 0.0.4
Feedparser fails w/ following error:
2019-03-17 14:13:29 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform feedparser
Traceback (most recent call last):
File "/config/deps/lib/python3.7/site-packages/feedparser.py", line 3766, in _gen_georss_coords
t = [nxt(), nxt()][::swap and -1 or 1]
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/feedparser/sensor.py", line 46, in setup_platform
add_devices([FeedParserSensor(hass, config)])
File "/config/custom_components/feedparser/sensor.py", line 58, in __init__
self.update()
File "/config/custom_components/feedparser/sensor.py", line 62, in update
parsedFeed = feedparser.parse(self._feed)
File "/config/deps/lib/python3.7/site-packages/feedparser.py", line 3956, in parse
saxparser.parse(source)
File "/usr/local/lib/python3.7/xml/sax/expatreader.py", line 111, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/local/lib/python3.7/xml/sax/xmlreader.py", line 125, in parse
self.feed(buffer)
File "/usr/local/lib/python3.7/xml/sax/expatreader.py", line 217, in feed
self._parser.Parse(data, isFinal)
File "/usr/src/python/Modules/pyexpat.c", line 471, in EndElement
File "/usr/local/lib/python3.7/xml/sax/expatreader.py", line 381, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/config/deps/lib/python3.7/site-packages/feedparser.py", line 2052, in endElementNS
self.unknown_endtag(localname)
File "/config/deps/lib/python3.7/site-packages/feedparser.py", line 696, in unknown_endtag
method()
File "/config/deps/lib/python3.7/site-packages/feedparser.py", line 1463, in _end_georss_point
geometry = _parse_georss_point(self.pop('geometry'))
File "/config/deps/lib/python3.7/site-packages/feedparser.py", line 3775, in _parse_georss_point
coords = list(_gen_georss_coords(value, swap, dims))
RuntimeError: generator raised StopIteration
Here is the XML it was attempting to parse; I did validate this XML against an online validator and it passed, but maybe there's something in there that might help so I'm including it.
<rss xmlns:georss="http://www.georss.org/georss" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>Active Incidents</title>
<description>All Active Incidents</description>
<language>en-us</language>
<pubDate>Sun, 17 Mar 2019 14:22:09 -0400</pubDate>
<copyright>Copyright 511nj.org</copyright>
<ttl>1</ttl>
<atom:link type="application/rss+xml" rel="self" href="https://siftrss.com/f/rM97xqQppx"/>
<item>
<title>NJ 21 northbound : Watermain break</title>
<description>
NJ DOT - STMC: Watermain break on NJ 21 northbound area of I-280 (Newark) all lanes open to traffic
</description>
<pubDate>Sun, 17 Mar 2019 13:39:29 -0400</pubDate>
<georss:point>40.7473097576 -74.1674443187</georss:point>
</item>
<item>
<title>
New Jersey Turnpike/I-95 northbound : Disabled vehicle
</title>
<description>
NJ Turnpike Auth.: Disabled vehicle on New Jersey Turnpike/I-95 express lanes northbound South of Exit 71 (NB) - NJ 4/Broad Ave (Teaneck Twp) right lane blocked
</description>
<pubDate>Sun, 17 Mar 2019 13:33:00 -0400</pubDate>
<georss:point>40.8737688181 -73.9957312183</georss:point>
</item>
<item>
<title>
New Jersey Turnpike - Eastern Spur northbound : Accident
</title>
<description>
NJ Turnpike Auth.: Accident on New Jersey Turnpike - Eastern Spur northbound North of Interchange 15W - I-280 (Kearny) center lane blocked
</description>
<pubDate>Sun, 17 Mar 2019 13:59:32 -0400</pubDate>
<georss:point>40.7554488245 -74.1060449598</georss:point>
</item>
</channel>
</rss>
I tried deleting the deps folder to allow it to rebuild in case there was a version issue or corruption but it didn't seem to help; on first boot I didn't get the error but it returned immediately on the next restart afterwards.
I am restoring things from a previous backup and this is the only thing left that I haven't been able to figure out on my own. It was working previously for me. I also double checked the config of the sensor itself and it seems valid. I even tried excluding the georss:point data from the sensor, but after restart I got the same exact error.
Here's the config:
- platform: feedparser
name: Traffic Incidents
#Source RSS - http://511nj.org/RSS511Service/RSS511Service.svc/rest/rss/RSSActiveIncidents
feed_url: https://siftrss.com/f/rM97xqQppx
exclusions:
- georss:point
I'm kinda out of my realm of knowledge at this point and I was hoping that you might be able to take a look and either point me in the right direction or advise a solution. I'd really hate to have to stop using FeedParser as I still want to use it elsewhere; I recently got my WeeWx weather station running on a spare Pi and was hoping to pull the feed on it into HA.
Thanks for your time and effort!
I have issues getting the weather. https://cdn.knmi.nl/knmi/xml/rss/rss_KNMIverwachtingen.xml
I dont use the card. I use it for a tts system.
I used wget to download the xml content to my local website used that as an connection and that works.
cant find any logs why it should not work.
Hello guys and girls,
I've just updated and now I have no more images in my feed. Something I need to change or is it a bug?
My feed sensor:
- platform: feedparser
name: Het nieuws
feed_url: 'https://www.nu.nl/rss'
date_format: '%a, %d %b %Y %H:%M:%S %Z'
scan_interval:
minutes: 1
inclusions:
- title
- link
- description
- image
- pubDate
exclusions:
- language
result:
Before this update it worked fine...
Hi,
Anybody know if Feedparser can do event loop blocking in HA?
thanks
Since a few days my sensor.nws is not populating,
nothing in the logs either.
And i made no changes anywhere too.
I installed feedparser and to try it out I used the example configuration.
When I visit https://www.sciencedaily.com/rss/matter_energy/engineering.xml I see the feed.
But in Home Assistant I see nothing.
Hello, I am getting values into my HA sensors and they are updating in line with the feed, but there doesn't seem to be any history of state changes in Home Assistant? It just says the latest value has always been the value... any idea why this is? Thanks!
Making the json sensor into a list would make it possible to use the data in other ways,for instance I want to be able to send the titles of a news feed to my led matrix for a scrolling display.
Hey Ian,
i don't know, if this is an issue, but the order of entries in my feed seems to be absolutely random (?). In the original code they are sorted bei publishing date, but in Home Assistant, they aren't and they aren't sorted by Alphabet, too.
Greetings from Germany,
Simon
I want the news podcast over my speakers but i cant parse the rss feed. Gives a empty result.
- platform: feedparser
name: anp nieuws
feed_url: https://www.omnycontent.com/d/playlist/56ccbbb7-0ff7-4482-9d99-a88800f49f6c/a49c87f6-d567-4189-8692-a8e2009eaf86/9fea2041-fccd-4fcf-8cec-a8e2009eeca2/podcast.rss
scan_interval:
hours: 0.5
show_topn: 1
inclusions:
- media
- title
Hi,
I was wondering if you will add support for hacs in a next release?
I think it will be helpful to keep up to date.
This message appears in home-assistant.log:
(MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'feedparser'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'feedparser'
Hello,
I get this errer for the component.
"Integration feedparser not found when trying to verify its sensor platform."
//Rickard
According to the current instructions there is no option to add multiple RSS feeds to the sensor.
Can this be added to the feature request list?
thank you
I would like to watch the rss feed from a site that is blocked
After update to v0.1.7 the state is reporting unknown. State attributes (feed items) are working correctly.
If I roll back to v0.1.6 it reports the number of feed entries again.
My feed parser config.
- platform: feedparser
name: Home Assistant Alerts
feed_url: https://alerts.home-assistant.io/feed.xml
date_format: '%Y-%m-%d'
inclusions:
- title
- updated
- content
- link
exclusions:
- language
Tonight my config check failed against the development version.
https://github.com/metbril/home-assistant-config/actions/runs/4836401020
self._state = self._topn if len(parsedFeed.entries) > self._topn else len(parsedFeed.entries)
# self._state = len(parsedFeed.entries)
self.hass.data[self._name] = {}
for entry in parsedFeed.entries[:self._state]:
After updating from Python 3.8.7 to 3.9.1 in a VENV on a Mac running Big Sur 11.2, the feedparser integration fails with the following error. HA was simultaneously updated from to 2021.1.5 to 2021.2.2. Oddly this also causes multiple other sensors to become unavailable (such as SSL expiry, local & available versions of HA, etc). Removing the integration resolves the other sensor errors.
AttributeError: module 'base64' has no attribute 'decodestring'
- platform: feedparser
name: headlines
feed_url: 'https://www.huffpost.com/section/front-page/feed?x=1'
date_format: '%a, %b %d %I:%M %p'
inclusions:
- title
- link
Not sure if it's showrss fault or this plugin, but when i use it to get stuff from there it won't show in home assistant.
Any way to get around this or make it compatible ?
showrss.info
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.