Erik Montnemery
63c538b024
Add config flow for template sensor ( #98970 )
...
* Add config flow for template sensor
* Tweak error reporting
* Improve validation
* Fix test
* Rename translation strings
* Improve validation
* Fix sensor async_setup_entry
* Avoid duplicating sensor device class translations
* Avoid duplicating sensor device class translations
* Add config flow tests
* Include all units from DEVICE_CLASS_UNITS in unit_of_measurement select
* Address review comments
2023-08-30 16:22:52 +02:00
Franck Nijhof
868a5f377f
Ruff: isort don't split imports based on trailing comma ( #98162 )
2023-08-10 14:27:03 +02:00
Erik Montnemery
68db751ce1
Refactor template image ( #95353 )
2023-06-27 18:46:36 +02:00
Jan Bouwhuis
98cc45ec10
Add image url support ( #95301 )
...
* Add image url support
* Use hass as parameter
* Add verify ssl parameter and improve exception handling
* Improve error handling, ignore empty URL's
* Update existing image platforms
---------
Co-authored-by: Erik <erik@montnemery.com>
2023-06-27 08:36:12 +02:00
Erik Montnemery
8e2ba81995
Add image platform to the template integration ( #94928 )
...
* Add image platform to the template integration
* Set a default name
* Fix typo
* Add tests
* Improve test coverage
* Derive content-type from fetched image
2023-06-26 15:54:51 +02:00