Commit Graph

42658 Commits (7c09cff3ad07e623e6ebb579fc3655130489abc9)

Author SHA1 Message Date
epenet 7c09cff3ad
Use new DeviceClass and EntityCategory enums in august (#61288)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 22:15:15 +01:00
Daniel Hjelseth Høyer b2ae018837
Use new EntityCategory in Opengarage (#61285) 2021-12-08 22:14:43 +01:00
Daniel Hjelseth Høyer eb3fa12a6a
Use new EntityCategory enum in Switchbot (#61280) 2021-12-08 22:14:16 +01:00
Daniel Hjelseth Høyer d6725715a1
Use new EntityCategory in Tractive (#61289) 2021-12-08 22:13:01 +01:00
epenet d817b4c7ea
Use new BinarySensorDeviceClass enum in balboa (#61292)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 22:11:49 +01:00
epenet dff77e39ce
Use new BinarySensorDeviceClass enum in axis (#61291)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 22:09:19 +01:00
Daniel Hjelseth Høyer 503593b301
Use new EntityCategory in Mill (#61294) 2021-12-08 22:08:44 +01:00
Daniel Hjelseth Høyer 07d0b6f726
Use new EntityCategory in rfxtrx (#61295) 2021-12-08 22:08:05 +01:00
Daniel Hjelseth Høyer eae1e669d0
Use new EntityCategory enum in Tibber (#61279) 2021-12-08 22:04:11 +01:00
epenet c893ad80e4
Use new SwitchDeviceClass in aten_pe (#61281)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 22:03:51 +01:00
epenet fd7328ce23
Use new DeviceClass and StateClass enums in atome (#61284)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 22:03:24 +01:00
J. Nick Koston aca2c3a27a
Restore rest integration ability to follow http redirects (#61293) 2021-12-08 22:03:07 +01:00
epenet d2216363c5
Use new DeviceClass and StateClass enums in aseko_pool_live (#61276)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 21:57:25 +01:00
epenet 25db4a4f1f
Use new SensorDeviceClass in arwn (#61275)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 21:56:41 +01:00
epenet 84141ff3dd
Use new SensorDeviceClass in arlo (#61274)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 21:56:05 +01:00
epenet 880a2b69b6
Use new SensorDeviceClass in apcupsd (#61271)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 21:55:44 +01:00
epenet c0529ac1ce
Use new SensorDeviceClass enum in awair (#61290)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 21:54:50 +01:00
J. Nick Koston e130688141
Bump flux_led to 0.26.3 (#61287) 2021-12-08 12:54:41 -08:00
Daniel Hjelseth Høyer 1990b5b608
Use new EntityCategory enum in Surepetcare (#61282) 2021-12-08 10:46:30 -10:00
epenet c05eca1c82
Remove log flooding prevention logic from discovery info (#61243)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 10:28:26 -10:00
epenet 9c11bb8ba1
Use new SensorDeviceClass in aqualogic (#61272)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 21:21:49 +01:00
Paulus Schoutsen ce59ed2a5e
Guard cannot connect during Tuya init (#61267) 2021-12-08 21:21:33 +01:00
Paulus Schoutsen 3223332c1e
Use correct template parameter in Rest template rendering (#61269) 2021-12-08 12:19:22 -08:00
epenet 7215244c17
Use new DeviceClass and EntityCategory enums in advantage_air (#61255)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 12:19:10 -08:00
epenet fd58c1eff5
Use new SensorDeviceClass enums in aemet (#61256)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 12:18:14 -08:00
epenet 048bdd321e
Use new DeviceClass and StateClass enums in airly (#61258)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 12:17:41 -08:00
epenet 25224f6945
Use new SensorStateClass enum in airnow (#61259)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 12:17:20 -08:00
epenet 646da7a9b7
Use new EntityCategory enum in airthings (#61260)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 12:17:03 -08:00
epenet e460eec134
Use new CoverDeviceClass enum in aladdin_connect (#61262)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 12:16:43 -08:00
epenet c1a09d2bac
Use new DeviceClass and StateClass enums in ambee (#61264)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 12:13:59 -08:00
epenet 549b72e48e
Use new SensorStateClass enum in amberelectric (#61265)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 12:13:33 -08:00
epenet e4e0dcbae0
Use new BinarySensorDeviceClass enum in amcrest (#61268)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 12:13:18 -08:00
epenet 8a11cf3d1f
Use new DeviceClass, StateClass and EntityCategory enums in ambient_station (#61266)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 13:06:31 -07:00
epenet c71fe71654
Use new SensorDeviceClass enum in airvisual (#61261)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 12:49:02 -07:00
Paulus Schoutsen 77a74a9bf4
Fix smartthings timestamp sensor (#61254) 2021-12-08 11:44:53 -08:00
alim4r 7d256f56c5
Refactor Prometheus tests (#60451)
* Removed prometheus from .coveragerc

* Update prometheus tests with handler categories

* Updated prometheus metrics to use the current registry
- don't use the registry created on import (needed for tests)

* Reset the prometheus CollectorRegistry before every test

* Update prometheus metrics generation
- Use latest registry when generating a response

* Add default collectors when resetting the registry

* Move entities to the specific prometheus test case

* Refactor body generation for prometheus tests

* Add test case for sensors without unit after rebase

* Fix prometheus tests
- Wait for events in prometheus tests
- Add workaround for demo platform dependecy conversation (aiohttp frozen router)

* Added prometheus tests for attribute metrics

* Added prometheus tests for binary_sensor

* Add prometheus test for input_boolean

* Add prometheus test for lights

* Add prometheus test for lock

* Add prometheus test for sensor fahrenheit conversion

* Fix prometheus test for input_number
2021-12-08 20:18:21 +01:00
Erik Montnemery 159506262a
Skip duplicated data when calculating fossil energy consumption (#60599) 2021-12-08 10:59:26 -08:00
Milan Meulemans dbe0a801c6
Use _attr_* in whois integration (#61250) 2021-12-08 10:58:46 -08:00
epenet 40828e221e
Use new DeviceClass enums in abode (#61244)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 10:58:01 -08:00
epenet d03b73eb23
Use new DeviceClass enums in accuweather (#61246)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 10:57:36 -08:00
epenet d79169ca2e
Use new DeviceClass enums in acmeda (#61248)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 10:57:18 -08:00
epenet b5f7e14985
Use new DeviceClass enums in ads (#61249)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 10:56:59 -08:00
Jan Bouwhuis 17a542689f
Fix pvoutput template use and REST integer parsing (#61171)
* Fix pvoutput template use and REST integer parsing

* revert accepting templates as input
2021-12-08 19:32:25 +01:00
jjlawren 9f3a4c3617
Improve Sonos tests, begin adding coverage (#61198)
* Update entity registry handling

* Add and use fixtures to test setup via config entry

* Remove legacy redundant tests

* Remove unnecessary mock_coro

* Remove unnecessary namespace change

* Move zeroconf payload to fixture

* Begin adding Sonos to codecov

* Mock proper return value

* Revert return value for platform
2021-12-08 19:28:27 +01:00
Dave T af91addc6c
Use SensorDeviceClass and SensorStateClass enums in Aurora ABB (#61245) 2021-12-08 18:01:52 +01:00
Erik Montnemery f30eb05870
Refactor recorder queue handling (#61161)
* Refactor recorder queue handling

* Address pylint's concerns

* Implement workaround for mypy bug

* Address review comments
2021-12-08 16:54:26 +01:00
Thomas Dietrich bbe6d3c9ae
Statistics refactor testcases in async pytest style (#60935)
* Implement optional manually defined uniqueid

* Fix test case via mocked environment

* Refactor testcases

* Fix missing awaits

* Revert order changes, reduce use of block command

* Tidy up mocked time testcases
2021-12-08 16:53:18 +01:00
Erik Montnemery 5169ee69c7
Attempt to fix flaky prometheus test (#61242) 2021-12-08 16:08:02 +01:00
epenet 9f15e7dcf4
Fix flaky tests around frame helper (#61179)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 10:50:56 +01:00
Daniel Hjelseth Høyer 9a46e802b7
Address late review of Adax (#61200)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-12-08 10:04:13 +01:00