G Johansson
d9906b63b7
Add `payload` to Scrape config flow ( #98412 )
...
Payload to config flow
2023-08-21 15:47:11 +02:00
epenet
4f54e33f67
Allow removal of sensor settings in scrape ( #90412 )
...
* Allow removal of sensor settings in scrape
* Adjust
* Adjust
* Add comment
* Simplify
* Simplify
* Adjust
* Don't allow empty string
* Only allow None
* Use default as None
* Use sentinel "none"
* Not needed
* Adjust unit of measurement
* Add translation keys for "none"
* Use translations
* Sort
* Add enum and timestamp
* Use translation references
* Remove default and set suggested_values
* Disallow enum device class
* Adjust tests
* Adjust _strip_sentinel
2023-03-31 14:34:20 +02:00
Olivier Ouellet
1c465b5ad0
Add encoding configuration setting to REST and Scape ( #90254 )
...
* Create new config parameter for default character encoding if no character encoding is declared
* Changes suggested by gjohansson-ST
* Added config flow for scape
* Removed "character"
* Change to create_async_httpx_client
* Remove CONF_ENCODING from Scrape SENSOR_SCHEMA
* Debug scrape test
2023-03-28 12:42:31 +02:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
epenet
cbf8a41eed
Add ability to edit sensors in scrape config flow ( #82926 )
...
* Add ability to edit sensors in scrape config flow
* Fix docstring
* Update homeassistant/components/scrape/config_flow.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* docstring
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-11-30 14:16:28 +01:00
epenet
92fef0f2ba
Improve resource validation in scrape config flow ( #82965 )
...
* Improve resource validation in scrape
* Coverage
2022-11-30 14:05:01 +01:00
epenet
23831d746e
Add ability to remove sensors in scrape config flow ( #82912 )
...
* Add ability to remove sensors in scrape config flow
* Add test
* Cleanup registry
* Cleanup
* Adjust comments
* Fix bad cleanup
2022-11-29 13:36:33 +01:00
epenet
53e05dec02
Add ability to add sensors in scrape config flow ( #82802 )
...
* Add ability to add sensors in scrape config flow
* Fix menu
* Adjust comment
* Use sentinel
* Adjust docstring
2022-11-29 10:13:38 +01:00
G Johansson
a63581b5c8
Add unique id for Scrape config entry entities ( #82508 )
...
* scrape unique id
* fix uuid str
* add back UoM
2022-11-24 21:12:47 +01:00
G Johansson
b3dd59f202
Add config flow to Scrape ( #81193 )
...
* Scrape take 2
* cleanup
* new entity name
* Fix name, add tests
* Use FlowResultType
* Add test abort
* hassfest
* Remove not needed test
* clean
* Remove config entry and implement datacoordinator
* fix codeowners
* fix codeowners
* codeowners reset
* Fix coordinator
* Remove test config_flow
* Fix tests
* hassfest
* reset config flow
* reset strings
* reset sensor
* Reconfig
* Fix tests
* coverage
* Remove coverage
* Remove print
* Add config flow
* Fix config flow
* Add back init
* Add entry to sensor
* float to int
* Fix SelectSelector
* Add tests for config entry to existing
* Test config flow
* Fix test reload
* Fix rebase
* Fix strings
* clean init
* Clean test_sensor
* Align sensor setup entry
* Add error to strings
* review changes
* clean tests
* Add back options flow
* review changes
* update_listener
* Add tests
* Remove duplicate abort
* strings
* sensors to sensor
* review changes
* more review changes
* clarify test payload
* fixture name
2022-11-21 21:39:39 +01:00
J. Nick Koston
1288085b31
Revert scrape changes to 2022.6.6 ( #74305 )
2022-07-01 10:10:40 -07:00
G Johansson
8d0dd1fe8c
Config flow for scrape integration ( #70476 )
2022-06-03 09:24:04 -10:00