Commit Graph

43189 Commits (d7c5e41802e26cb96cd1180811ec3aabb5f7dd03)

Author SHA1 Message Date
Peeter N 571b245b7e
Add battery entity for Maxcube devices (#58699) 2021-12-17 15:02:28 +01:00
Kim Frellsen 9cd82e0f00
Update fortios device_tracker (#61970)
* FortiOS 7.0 support

Added support for FortiOS 7.0 and retaining FortiOS 6.4 support.
Since an API was deprecated in FortiOS 7.0 and replace by a new API the integration now also support FortiOS 7.0.
It is planned to deprecate the support for FortiOS 6.4 in a year

* updated requirement to fortios

* Update device_tracker.py

indentation fix

* Update device_tracker.py

run flake8 fixes

* flake8 fixes

* Update device_tracker.py

black fixing line breaks

* Update device_tracker.py

black fixes

* Update device_tracker.py

linter fixes

* Update device_tracker.py

linter fixes

* Update device_tracker.py

linter fix

* Update device_tracker.py

removed comment that pylint does not like :-~

* Update homeassistant/components/fortios/device_tracker.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/fortios/device_tracker.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/fortios/device_tracker.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update device_tracker.py

to resolve double guard for supported versions.

* updated fortios device tracker

Deprecated old api.
cleaned up code.
better checking with try-catch
removed unnecessary error output.

* Update device_tracker.py

lint compliance.

* Update device_tracker.py

lint updates

* Update device_tracker.py

lint updates

* Update device_tracker.py

lint updates

* Update device_tracker.py

lint updates

* Update device_tracker.py

updated to use awesomeversion component.

* Update device_tracker.py

pylint updates

* Update device_tracker.py

pylint updates

* Clean up

* Simplify

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-17 14:20:23 +01:00
Erik Montnemery 474ef54477
Fix threading error in recorder tests (#62187) 2021-12-17 13:17:48 +01:00
Erik Montnemery f7f1d9b15d
Fix threading error in litejet (#62185) 2021-12-17 13:16:44 +01:00
Daniel Hjelseth Høyer 9c749682bf
Add Tibber peak hour, monthly consumption and monthly cost sensors (#61853)
* Tibber, Consumption data

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Tibber sensors

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Tibber, Consumption data

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Add peak_hour_time

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-12-17 12:55:16 +01:00
Robert Hillis 1c15e36afc
Use enums in wallbox (#61997) 2021-12-17 12:46:21 +01:00
Erik Montnemery 6b9447e3a2
Fix threading error in demo vacuum (#62165) 2021-12-17 12:45:53 +01:00
epenet 8cde2e805b
Use new SensorDeviceClass enum in climacell (#61362)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-17 12:44:29 +01:00
Ernst Klamer e771421ed0
Move Solarlog state to entity description (#62093)
* Move value to const

* Move value to const

* remove cast

* Remove Statetype import

* Add in and output for callable

* fix mypy

* Add int to callable

* fix callable

* Only convert value

* Add datetime import

* Update homeassistant/components/solarlog/const.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-17 12:40:32 +01:00
Aidan Timson 0f2a3c074e
Force Lyric token refresh on first authentication failure (#62100) 2021-12-17 12:33:41 +01:00
Erik Montnemery 8c777011b6
Fix threading error in qwikswitch (#62173) 2021-12-17 12:03:29 +01:00
Erik Montnemery 9164a74fcc
Fix threading error in zha (#62170) 2021-12-17 11:42:15 +01:00
Erik Montnemery 112e259437
Fix threading error in scripts with repeat or choose actions (#62168) 2021-12-17 11:41:54 +01:00
Robert Hillis 85c122f3e5
Use enums in unifi tests (#62151) 2021-12-17 11:12:43 +01:00
Robert Hillis 499cae9900
Use enums for testing_config (#62140) 2021-12-17 11:10:06 +01:00
Robert Hillis 626a3f35f5
Use enums in helpers tests (#62141) 2021-12-17 11:09:24 +01:00
Robert Hillis 07532c3153
Use enums in sensor tests (#62152) 2021-12-17 11:07:18 +01:00
Marcel van der Veldt ad171944da
Add guard in call to activate_scene in Hue (#62177) 2021-12-17 10:50:10 +01:00
Ian a6cfbd4072
Nextbus upcoming sort as integer (#61416) 2021-12-17 09:39:55 +01:00
sindudas 67255d4b52
Update ebusdpy version (#59899) 2021-12-17 09:34:27 +01:00
Simone Chemelli 72e1fa1392
Improve availability for Shelly Valve (#62129) 2021-12-17 09:16:02 +01:00
Allen Porter beb824c452
Bump google-nest-sdm to 0.4.9 (#62160) 2021-12-17 09:07:51 +01:00
Dave T 4418b0a43e
Use DeviceClass Enums in gogogate2 tests (#62137) 2021-12-17 08:45:39 +01:00
Dave T 28e373297f
Use DeviceClass Enums in gios tests (#62135) 2021-12-17 08:43:03 +01:00
Dave T b25595289e
Use DeviceClass Enums in forecast_solar tests (#62132) 2021-12-17 08:38:37 +01:00
Dave T f55668ff40
Use DeviceClass Enums in blebox tests (#62109) 2021-12-17 08:28:31 +01:00
J. Nick Koston ccf8dcd14a
Fix Non-thread-safe operation in logbook (#62148) 2021-12-17 08:19:07 +01:00
J. Nick Koston 8bf58df624
Fix Non-thread-safe operation in homekit light events (#62147) 2021-12-17 08:17:32 +01:00
Dave T c710958261
Use DeviceClass Enums in goalzero tests (#62136) 2021-12-16 22:52:25 -08:00
Dave T 569d5644ab
Use DeviceClass Enums in google_assistant tests (#62142) 2021-12-16 22:50:46 -08:00
GitHub Action d4f8a7c056 [ci skip] Translation update 2021-12-17 00:14:01 +00:00
Dave T ec4a9be4e6
Use EntityCategory Enums in elkm1 (#62123) 2021-12-16 23:41:17 +01:00
Dave T 82e11aecca
Use DeviceClass Enums in efergy tests (#62119) 2021-12-16 23:40:58 +01:00
Dave T f92baffd09
Use DeviceClass Enums in energy tests (#62122) 2021-12-16 23:40:24 +01:00
Dave T f02e9eb70f
Use DeviceClass Enums in directv tests (#62118) 2021-12-16 23:34:07 +01:00
Dave T 61f2f9d9ac
Use DeviceClass Enums in devolo_home_control tests (#62116) 2021-12-16 23:27:44 +01:00
Robert Hillis b7ece5ae00
Use enums in pvpc_hourly_pricing (#62076) 2021-12-16 23:27:15 +01:00
Robert Hillis da60680b2f
Use enums in rachio (#62056) 2021-12-16 23:26:53 +01:00
Dave T 16e152b797
Use DeviceClass Enums in axis tests (#62096) 2021-12-16 23:26:23 +01:00
Matthias Alphart 2f3f64c339
Use DeviceClass Enum in KNX schema (#61960) 2021-12-16 23:25:34 +01:00
Robert Hillis 72462b5dd1
Use enums in satel_integra (#62048) 2021-12-16 23:24:46 +01:00
epenet dce9d551f8
Use new SensorDeviceClass in juicenet (#61828) 2021-12-16 23:13:26 +01:00
epenet 42c7c38515
Use new enums in nam (#61940) 2021-12-16 23:05:34 +01:00
epenet 61cdc04f3f
Use new enums in nanoleaf (#61938) 2021-12-16 23:03:37 +01:00
epenet e20029d87f
Use attr** in meteoalarm (#61895)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-16 23:01:31 +01:00
epenet 863a139b6f
Use _attr_attribution in goalzero (#61890)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-16 23:00:04 +01:00
epenet d26454a313
Use _attr_attribution in flipr (#61889)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-16 22:59:29 +01:00
epenet 98e1b7c95d
Use attr** in linux-battery (#61883)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-16 22:59:05 +01:00
epenet 6778e4058e
Use attr** in lightwave (#61881)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-16 22:57:15 +01:00
epenet bb538a9782
Use new enums in motion_blinds (#61931) 2021-12-16 22:47:23 +01:00