Skip to content

Commit

Permalink
Remove deprecated code (#461)
Browse files Browse the repository at this point in the history
* Remove deprecated code

* Remove old codeql config

* Remove unused fixture

* Minor clean up

* Refactor async_post_request

Signed-off-by: Tobias Sauerwein <cgtobi@gmail.com>

---------

Signed-off-by: Tobias Sauerwein <cgtobi@gmail.com>
  • Loading branch information
cgtobi authored Nov 26, 2023
1 parent d922414 commit 446943f
Show file tree
Hide file tree
Showing 17 changed files with 65 additions and 5,279 deletions.
68 changes: 0 additions & 68 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

21 changes: 1 addition & 20 deletions src/pyatmo/__init__.py
Original file line number Diff line number Diff line change
@@ -1,44 +1,25 @@
"""Expose submodules."""
from pyatmo import const, modules
from pyatmo.account import AsyncAccount
from pyatmo.auth import AbstractAsyncAuth, ClientAuth, NetatmoOAuth2
from pyatmo.camera import AsyncCameraData, CameraData
from pyatmo.auth import AbstractAsyncAuth
from pyatmo.exceptions import ApiError, InvalidHome, InvalidRoom, NoDevice, NoSchedule
from pyatmo.home import Home
from pyatmo.home_coach import AsyncHomeCoachData, HomeCoachData
from pyatmo.modules import Module
from pyatmo.modules.device_types import DeviceType
from pyatmo.public_data import AsyncPublicData, PublicData
from pyatmo.room import Room
from pyatmo.thermostat import AsyncHomeData, AsyncHomeStatus, HomeData, HomeStatus
from pyatmo.weather_station import AsyncWeatherStationData, WeatherStationData

__all__ = [
"AbstractAsyncAuth",
"ApiError",
"AsyncAccount",
"AsyncCameraData",
"AsyncHomeCoachData",
"AsyncHomeData",
"AsyncHomeStatus",
"AsyncPublicData",
"AsyncWeatherStationData",
"CameraData",
"ClientAuth",
"HomeCoachData",
"HomeData",
"HomeStatus",
"InvalidHome",
"InvalidRoom",
"Home",
"Module",
"Room",
"DeviceType",
"NetatmoOAuth2",
"NoDevice",
"NoSchedule",
"PublicData",
"WeatherStationData",
"const",
"modules",
]
Loading

0 comments on commit 446943f

Please sign in to comment.