diff --git a/custom_components/tapo_control/manifest.json b/custom_components/tapo_control/manifest.json index 921ff306..70856496 100644 --- a/custom_components/tapo_control/manifest.json +++ b/custom_components/tapo_control/manifest.json @@ -4,7 +4,7 @@ "documentation": "https://github.com/JurajNyiri/HomeAssistant-Tapo-Control", "issue_tracker": "https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues", "codeowners": ["@JurajNyiri"], - "version": "3.3.2", + "version": "3.3.3", "requirements": [ "pytapo==1.2.1", "onvif-zeep-async==1.0.0", diff --git a/custom_components/tapo_control/utils.py b/custom_components/tapo_control/utils.py index 682c3464..e226aee0 100644 --- a/custom_components/tapo_control/utils.py +++ b/custom_components/tapo_control/utils.py @@ -199,7 +199,7 @@ async def syncTime(hass, entry): time_params.UTCDateTime = { "Date": {"Year": now.year, "Month": now.month, "Day": now.day}, "Time": { - "Hour": now.hour if time.localtime().tm_isdst == "0" else now.hour + 1, + "Hour": now.hour if time.localtime().tm_isdst == 0 else now.hour + 1, "Minute": now.minute, "Second": now.second, },