GitHub Action
81e3ef03f7
[ci skip] Translation update
2022-08-02 00:27:42 +00:00
GitHub Action
377f56ff5f
[ci skip] Translation update
2022-07-31 00:25:44 +00:00
GitHub Action
c4ad6d46ae
[ci skip] Translation update
2022-07-30 00:22:48 +00:00
GitHub Action
87797c8b66
[ci skip] Translation update
2022-07-21 00:26:18 +00:00
GitHub Action
79a0940932
[ci skip] Translation update
2022-07-17 00:25:56 +00:00
GitHub Action
a3fd5acf3f
[ci skip] Translation update
2022-07-13 00:27:34 +00:00
Franck Nijhof
97426911a3
Update lxml to 4.9.1 ( #74663 )
2022-07-07 20:50:31 -07:00
Franck Nijhof
809f101f55
Re-introduce default scan interval in Scrape sensor ( #74455 )
2022-07-05 13:41:33 +02:00
J. Nick Koston
1288085b31
Revert scrape changes to 2022.6.6 ( #74305 )
2022-07-01 10:10:40 -07:00
Paulus Schoutsen
c78c159d72
Add scan interval to scrape sensor ( #74285 )
2022-07-01 09:40:05 +02:00
J. Nick Koston
2723ca0b85
Filter out CONF_SCAN_INTERVAL from scrape import ( #74254 )
2022-06-30 10:39:36 -07:00
GitHub Action
ba64d9db64
[ci skip] Translation update
2022-06-26 00:28:21 +00:00
GitHub Action
c607994fbe
[ci skip] Translation update
2022-06-24 00:23:27 +00:00
GitHub Action
33c263d09b
[ci skip] Translation update
2022-06-23 00:20:13 +00:00
GitHub Action
78dd522ccd
[ci skip] Translation update
2022-06-22 00:26:36 +00:00
GitHub Action
109d1844b3
[ci skip] Translation update
2022-06-21 00:22:51 +00:00
GitHub Action
42d39d2c7e
[ci skip] Translation update
2022-06-13 00:25:34 +00:00
GitHub Action
a1637e4fce
[ci skip] Translation update
2022-06-12 00:25:33 +00:00
G Johansson
dd923b2eed
Minor fix scrape ( #73369 )
2022-06-11 12:35:15 -07:00
GitHub Action
1331c75ec2
[ci skip] Translation update
2022-06-08 00:22:19 +00:00
GitHub Action
05e5dd7baf
[ci skip] Translation update
2022-06-07 00:20:09 +00:00
GitHub Action
7f0091280f
[ci skip] Translation update
2022-06-06 00:21:14 +00:00
GitHub Action
13734428bb
[ci skip] Translation update
2022-06-05 00:26:15 +00:00
GitHub Action
636f650563
[ci skip] Translation update
2022-06-04 00:23:28 +00:00
G Johansson
8d0dd1fe8c
Config flow for scrape integration ( #70476 )
2022-06-03 09:24:04 -10:00
J. Nick Koston
b770ca319e
Improve scrape performance by using lxml parser ( #71087 )
...
* Improve scape performance by using lxml parser
* load it
* tweak
* tweak
* ensure libxml2 is installed in dev container
2022-05-01 21:04:05 -05:00
Fabian Affolter
a275b6a9ec
Upgrade beautifulsoup4 to 4.11.1 ( #70058 )
2022-04-14 23:15:40 +03:00
G Johansson
6d20e68e6d
Code quality scrape ( #65441 )
2022-02-12 08:28:54 -06:00
MizterB
604a900658
Scrape HTML attributes that are not key/val pairs ( #58247 )
2022-01-21 11:17:48 +01:00
epenet
4c48705fe8
Add setup type hints [s] (part 1) ( #63476 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 17:34:47 +01:00
Lukas
abf6edea6a
Add device_class and state_class as optional attributes to the scrape sensor, to support statistics ( #58164 )
2021-10-26 13:39:34 +02:00
Marc Mueller
be201e3ebe
Use assignment expressions 27 ( #58188 )
2021-10-22 11:29:21 +02:00
Fabian Affolter
be34a2ddea
Upgrade beautifulsoup4 to 4.10.0 ( #56764 )
2021-09-29 11:25:29 +02:00
Erik Montnemery
e558b3463e
Move temperature conversions to sensor base class (6/8) ( #54476 )
...
* Move temperature conversions to entity base class (6/8)
* Fix tests
2021-08-12 17:40:55 +02:00
J. Nick Koston
14869483ca
Fix scrape sensor auth with httpx ( #49806 )
2021-04-28 11:24:11 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
Erik Montnemery
64bc9a8196
Migrate integrations r-s to extend SensorEntity ( #48215 )
2021-03-22 19:54:14 +01:00
Fabian Affolter
f1c24939f3
Upgrade beautifulsoup4 to 4.9.3 ( #45619 )
2021-01-28 12:06:36 +01:00
J. Nick Koston
dd0afc3b66
Create httpx helper to wrap a shared httpx.AsyncClient ( #43877 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-12-09 17:18:57 +01:00
Moritz Schmitz von Hülst
434d39a5ea
Add initial rest query params ( #42198 )
...
* add initial rest query params
* of course I didn't run black
* fix tests
* fix tests
* add test
* reformat
* add binary sensor test
* fix tests
* add one more test and fix switch
* should not have touched that
* if you don't pay attention once
2020-11-11 09:03:55 -10:00
J. Nick Koston
183f94364a
Parse html in the executor for scrape sensors ( #41987 )
2020-10-17 18:57:59 +02:00
J. Nick Koston
5580b21260
Decouple RestData from rest.sensor ( #41980 )
2020-10-17 04:56:45 +02:00
J. Nick Koston
ad6ce5fa83
Convert rest sensors to async using httpx ( #41973 )
2020-10-16 19:21:13 -05:00
Fabian Affolter
41ba1dff71
Upgrade beautifulsoup4 to 4.9.1 ( #39158 )
2020-08-22 14:48:25 -04:00
Ryan
59063a7d61
Add scrape sensor name to logs ( #38020 )
2020-07-20 23:07:36 +02:00
David Beitey
7a73c6adf7
scrape: extract strings from new non-text tags ( #35021 )
...
With the upgrade to beautifulsoup4 to 4.9.0 (#34007 ), certain tags
(`<style>`, `<script>` and `<template>`) are no longer treated as having
text content (see
https://www.crummy.com/software/BeautifulSoup/bs4/doc/#comments-and-other-special-strings
and reported bug https://bugs.launchpad.net/beautifulsoup/+bug/1868861 )
meaning the content of these types of tags became inaccessible to HA.
Where the previous code could access `.text` on the tag, bs4 4.9 now
yields an empty string; these types of tags require accesing `.string`
instead. This PR checks the tag name (which will aalways be lowercase
given how the parser works;
https://www.crummy.com/software/BeautifulSoup/bs4/doc/#other-parser-problems )
and applies this different access strategy to get the content of the
HTML tag. All other tags are handled in the original manner.
2020-05-04 10:45:40 +02:00
Fabian Affolter
91e7bcbfac
Upgrade beautifulsoup4 to 4.9.0 ( #34007 )
2020-04-11 12:56:18 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
Paulus Schoutsen
270758417b
Properly define depenency for Scrape integration on Rest integ… ( #32136 )
2020-02-24 00:03:33 -08:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00