home-assistant / core Public
dev
Commits on Mar 21, 2022
-
Add PECO power outage counter integration (#65194)
* Create a new NWS Alerts integration * Create a new NWS Alerts integration * Create new PECO integration * Remove empty keys * Revert "Create a new NWS Alerts integration" This reverts commit 38309c5. * Revert "Create a new NWS Alerts integration" This reverts commit aeabdd3. * Fix test with new mock data * Add init and sensor to .coveragerc and more tests for config flow * Small fixes and replacing patch with pytest.raises in testing invalid county * Add type defs and fix test_config_flow to use MultipleValid instead * Fix issues with 'typing.Dict' * Move API communication to seperate PyPI library * Switch PyPI library from httpx to aiohttp to allow for passing in websessions * Commit file changes requested by farmio as listed here: https://github.com/home-assistant/core/pull/65194/files/d267e4300a4d359d88ef33e43b66d0e961ac154d * Add suggestions requested by farmio as listed here: https://github.com/home-assistant/core/pull/65194/files/586d8ffa42d7860d91e25fb82b2d6eace6645a82 * Move native_unit_of_measurement from prop to attr * Update PLATFORMS constant type annotation Co-authored-by: Matthias Alphart <[email protected]> * Add peco to .strict-typing I am from school so I can't run mypy atm * Forgot to import Final * Do as requested [here](https://github.com/home-assistant/core/runs/5070634928?check_suite_focus=true) * Updated mypy.ini, checks should pass now * Fix to conform to mypy restrictions https://github.com/home-assistant/core/runs/5072861837\?check_suite_focus\=true * Fix type annotations * Fix tests * Use cast in async_update_data * Add data type to CoordinatorEntity and DataUpdateCoordinator * More cleanup from suggestions here: #65194 * Fix tests for new code * Cleaning up a speck of dust * Remove unused variable from the peco sensor * Add rounding to percentage, and extra clean-up * Final suggestions from @farmio * Update SCAN_INTERVAL to be a little bit faster * Change the SCAN_INTERVAL to be somewhat near the update interval of the outage map, as noted by farmio * New UpdateCoordinator typing
-
Improve recorder setup in tests (#68333)
Co-authored-by: J. Nick Koston <[email protected]>
-
-
-
Add select platform to Plugwise (#68303)
Co-authored-by: Franck Nijhof <[email protected]>
-
-
Bump asyncsleepiq to 1.2.0 (#68438)
Co-authored-by: J. Nick Koston <[email protected]>
-
-
-
-
-
Add update platform to WLED (#68454)
* Add update platform to WLED * Copy pasta fixes * Apply suggestions from code review Co-authored-by: Martin Hjelmare <[email protected]> * Update tests/components/wled/test_update.py Co-authored-by: Martin Hjelmare <[email protected]> * Fix tests Co-authored-by: Martin Hjelmare <[email protected]>
-
-
-
-
-
-
-
Add update entity platform (#68248)
Co-authored-by: Glenn Waters <[email protected]>
-
-
Adopt SelectEntity in Utility Meter (#55690)
Co-authored-by: Erik Montnemery <[email protected]>
-
-
-
Commits on Mar 20, 2022
-
Intellifire DHCP Auto Discovery (#67053)
Co-authored-by: J. Nick Koston <[email protected]>
-
-
-
Add calendar platform to Twente Milieu (#68190)
* Add calendar platform to Twente Milieu * Apply suggestions from code review Co-authored-by: Martin Hjelmare <[email protected]> * Sorting... Co-authored-by: Martin Hjelmare <[email protected]>
-
-
-
Add yale_smart_alarm to strict typing (#68422)
* Add yale_smart_alarm to strict typing * Type as Any