Multiscrape broken in newest update?
See original GitHub issueVersion of the custom_component
Installed component version: 4.0.1 Core Version: 2021.6.4 Supervisor: 2021.06.0 Host: Home Assistant OS 6.0
Configuration
- resource: http://192.168.178.45/livedata.htm
scan_interval: 15
sensor:
- name: weatherstation_windspeed
unit_of_measurement: km/h
select: "input[name='avgwind'][type='text']"
attribute: value
- name: weatherstation_winddirection
unit_of_measurement: °
select: "input[name='windir'][type='text']"
attribute: value
- name: weatherstation_temperature
unit_of_measurement: °C
select: "input[name='outTemp'][type='text']"
attribute: value
- name: weatherstation_battery
select: "input[name='outBattSta1'][type='text']"
attribute: value
- name: weatherstation_humidity
unit_of_measurement: '%'
select: "input[name='outHumi'][type='text']"
attribute: value
- name: weatherstation_uvi
select: "input[name='uvi'][type='text']"
attribute: value
- name: weatherstation_solarradiation
unit_of_measurement: w/m2
select: "input[name='solarrad'][type='text']"
attribute: value
- name: weatherstation_eventrain
unit_of_measurement: mm
select: "input[name='eventr
Describe the bug
Multiscrape is just not starting up anymore for me since the latest update. Before the update everything worked fine with this configuration.
Debug log
Logger: custom_components.multiscrape
Source: custom_components/multiscrape/data.py:45
Integration: Multiscrape scraping component (documentation, issues)
First occurred: 13:52:46 (8 occurrences)
Last logged: 13:59:53
Unexpected error fetching rest data data: object of type 'NoneType' has no len()
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data
return await self.update_method()
File "/config/custom_components/multiscrape/data.py", line 45, in async_update
self.soup = BeautifulSoup(self.data, self._parser)
File "/usr/local/lib/python3.8/site-packages/bs4/__init__.py", line 310, in __init__
elif len(markup) <= 256 and (
TypeError: object of type 'NoneType' has no len()
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (3 by maintainers)
Top Results From Across the Web
Scrape sensor improved - scraping multiple values
20210520 - IMPORTANT UPDATE: I have created a new repository named ha-multiscrape for this sensor as the orginal development setup wasn't ideal.
Read more >Release Notes / Changelog — MediaElch 2.8.18 documentation
Settings: If a new movie folder is added, “in separate folders” is enabled by ... Audio-channel detection was broken since the previous version...
Read more >need Advice & tips Hegner Multicut - scroll saw forum
This nylon link is designed to break as I was told when I ordered a new one but I was not told ......
Read more >Hegner Multicut 2S and SE Scroll Saws
A scroll saw is a powered version of a hand fretsaw. ... a patented blade fragment retention system which contains bits of blade...
Read more >HistoCore MULTICUT - Leica Biosystems
We are under no obligation to update the present manual periodically and on an ongoing basis according to the latest technical developments, nor...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Heyho just installed 2021.6.5 ^^ It’s working again 😃
Yes, I can also confirm this solves the problem for me as well.