1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-21 14:27:07 +00:00

26 Commits

Author SHA1 Message Date
Paulus Schoutsen
88c9233d50
Remove deprecated Switchbot import () 2022-03-31 20:12:02 +02:00
Marc Mueller
539a469a8b
Update coordinator typing (5) [r-s] () 2022-03-21 15:24:05 +01:00
Franck Nijhof
176f03d4ac
Allow toggles (switches) state to be None () 2022-01-23 11:31:01 +01:00
RenierM26
e3848944e8
Switchbot Set initial state for switch () 2022-01-08 12:58:31 +01:00
Robert Hillis
e593377fba
Add deprecation warning to switchbot yaml config ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-12-22 22:17:53 +01:00
epenet
7da7a8434e
Use new enums in switchbot ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 18:03:08 +01:00
RenierM26
6749930736
Switchbot "in memory" state for push mode switch ()
* Add in memory state tracking to Switchbot switch.

* Switchbot assumed state

* Add in memory state when Bot is in push mode.

* Cleanup
2021-11-13 18:21:37 +01:00
Marc Mueller
a48ddcadd4
Use assignment expressions 31 () 2021-10-30 16:29:07 +02:00
RenierM26
972db29c88
Add sensor to switchbot platform ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-23 15:27:34 -05:00
RenierM26
26e9590927
Add cover platform to switchbot ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-21 12:35:47 -05:00
RenierM26
3ce8109e5e
Add config flow to Switchbot ()
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-18 09:25:05 -10:00
jan iversen
504d23ac72
Activate mypy for switchbot ()
* Please mypy.

* Update homeassistant/components/switchbot/switch.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-08-25 13:37:08 +02:00
Marc Mueller
a3cd1854f6
Update typing 12 () 2021-03-18 14:31:38 +01:00
Erik Montnemery
14ff6d4d1f
Update integrations p-s to override extra_state_attributes() () 2021-03-11 21:23:20 +01:00
Ville Skyttä
dc880118a4
Lint suppression cleanups ()
* Unused pylint suppression cleanups

* Remove outdated pylint bug references

* Add flake8-noqa config and note to run it every now and then

* Add codes to noqa's

* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
Philip Allgaier
dde6305549
Cleanup unused loggers (components N-Z + tests) () 2020-10-16 21:24:08 -05:00
Erik Montnemery
066e921a8b
Rename SwitchDevice to SwitchEntity () 2020-04-26 18:50:37 +02:00
Jaryl Chng
6c6318d18f
Update PySwitchbot to 0.8.0 and add password configuration option ()
* Update PySwitchbot to 0.8.0 and added password configuration

* Removed unchanged retry_count attribute

* Fix dependencies and formatting

* Removed default value for password and use config.get instead
2020-03-26 20:55:00 +01:00
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling ()
* Be consistent with Home Assistant spelling

* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
springstan
04bad4bc74 Move imports to top for switchbot () 2019-11-29 19:34:40 +01:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
manonstreet
0be0353eed Add last_run_success boolean attribute to Switchbot for error trapping ()
* Add last_run_error boolean attribute to Switchbot entity to allow for trapping of errors

* Add last_run_success boolean attribute to Switchbot for error trapping

* Add last_run_success boolean attribute to Switchbot for error trapping
2019-07-27 16:13:48 +02:00
Daniel Høyer Iversen
95bbea20a8 Fix Switchbot restore state ()
* switchbot library

* req

* req

* issue 
2019-04-23 19:23:52 -07:00
cgtobi
2c07bfb9e0 Remove dependencies and requirements ()
* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit fe7171b4cd30889bad5adc9a4fd60059d05ba5a7.

* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit 391355ee2cc53cbe6954f940062b18ae34b05621.

* Remove dependencies and requirements

* Fix flake8 complaints

* Fix more flake8 complaints

* Revert non-component removals
2019-04-12 10:13:30 -07:00
Daniel Høyer Iversen
350904870e restore entity for switchbot () 2019-03-19 16:16:10 +01:00
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests ()
* Consolidate

* Fix tests

* Update imports

* Fix import

* Use importlib because integration and package share name

* Fix more tests

* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00