Commit graph

22 commits

Author SHA1 Message Date
Marc Mueller
516cb31635
Fix multi inheritance with CoordinatorEntity () 2023-01-03 23:07:59 +01:00
Marc Mueller
972eb34ed9
Improve bluetooth generic typing ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-02 21:19:53 -10:00
Willem-Jan van Rootselaar
949dede16b
Add support for BSBLAN firmware v3 ()
* bump python-bsblan version to 0.5.8

* add static_state

this holds values that only needs retrieving once in a while

* update diagnostics  json with the right info
2022-11-30 16:36:33 +01:00
Willem-Jan van Rootselaar
1fe397f7d7
Update bsblan integration ()
* Update bsblan integration

Update the integration to current standards

* removed unused code

update coverage

* some cleanup

* fix conflicts due upstream changes

* fix prettier json files

* fix remove comment code

* use dataclass instead of tuple

* fix spelling

* Set as class attribute

main entity doesn't need to give own name

* fix requirements
2022-10-18 12:06:51 +02:00
epenet
ec532414ba
Import climate constants from root [a-l] () 2022-09-10 23:39:52 +02:00
epenet
4de50fc471
Improve type hint in bsblan climate entity () 2022-08-19 10:09:20 +02:00
epenet
dedf063e43
Improve entity type hints [b] () 2022-08-19 09:54:13 +02:00
epenet
93e2d5c29a
Use climate enums in bsblan ()
* Use climate enums in bsblan

* Adjust type hint

* Update climate.py
2022-04-25 22:45:46 +03:00
epenet
8af37235ec
Use EntityFeature enum in components (b**) () 2022-04-05 23:53:45 +02:00
Robert Hillis
137d41d8b4
Use DeviceInfo Class B-C () 2021-10-23 11:41:32 +02:00
Milan Meulemans
8ab3d9cc12
Use homeassistant.const instead of integration const for device_info ATTR_ () 2021-08-02 15:11:41 +02:00
Robert Hillis
a1df3519db
Use entity class attributes for Bsblan () 2021-07-21 19:37:12 +02:00
Marc Mueller
a56485a8c5
Revert new unit types () 2021-07-20 14:13:51 +02:00
jan iversen
d4589894fe
Correct typing in bsblan and activate mypy () 2021-07-19 19:30:52 +02:00
Shay Levy
cf228e3fe5
Add constructor return type in integrations A-D () 2021-05-20 18:51:39 +03:00
Milan Meulemans
29d72714f3
Replace dict with DeviceInfo ()
* Replace dict with DeviceInfo

* Clean up

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-02 00:37:19 +02:00
Ruslan Sayfutdinov
0301706fc6
Define AddEntitiesCallback type () 2021-04-29 12:28:14 +02:00
Franck Nijhof
006bcde435
Remove HomeAssistantType alias - Part 3 () 2021-04-17 12:48:03 +02:00
Marc Mueller
76199c0eb2
Update typing 04 () 2021-03-17 23:34:25 +01:00
Willem-Jan
1340abb2fe
Bump version bsblan library to 0.4.0 () 2020-10-23 14:32:47 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 () 2020-08-27 13:56:20 +02:00
Willem-Jan
cf30895460
Add BSBLan Climate integration ()
* Initial commit for BSBLan Climate component

The most basic climate functions work.

* Delete manifest 2.json

wrongly added to commit

* fix incorrect name

current_hvac_mode

* update coverage to exclude bsblan

* sorted and add configflow

* removed unused code, etc

* fix hvac, preset  mix up

now it sets hvac mode to none and preset to eco

* fix naming

* removed commented code and cleaned code that isn't needed

* Add test for the configflow

* Update requirements

fixing some issues in bsblan Lib

* Update coverage file to include configflow bsblan

* Fix hvac preset is not in hvac mode

rewrote how to handle presets.

* Add passkey option

My device had a passkey so I needed to push this functionality to do testing

* Update constants

include passkey and added some more for device indentification

* add passkey for configflow

* Fix use discovery_info instead of user_input

also added passkey

* Fix name

* Fix for discovery_info[CONF_PORT] is None

* Fix get value CONF_PORT

* Fix move translation to new location

* Fix get the right info

* Fix remove zeroconf and fix the code

* Add init for mockConfigEntry

* Fix removed zeroconfig and fix code

* Fix changed ClimateDevice to ClimatEntity

* Fix log error message

* Removed debug code

* Change name of device.

* Remove check

This is done in the configflow

* Remove period from logging message

* Update homeassistant/components/bsblan/strings.json

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

* Add passkey

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-05-09 22:16:21 -04:00