File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed
Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,11 @@ async def login(
208208 return True
209209
210210 # CozyTouch authentication using jwt
211- if self .server == SUPPORTED_SERVERS [Server .ATLANTIC_COZYTOUCH ]:
211+ if self .server in [
212+ SUPPORTED_SERVERS [Server .ATLANTIC_COZYTOUCH ],
213+ SUPPORTED_SERVERS [Server .THERMOR_COZYTOUCH ],
214+ SUPPORTED_SERVERS [Server .SAUTER_COZYTOUCH ],
215+ ]:
212216 jwt = await self .cozytouch_login ()
213217 payload = {"jwt" : jwt }
214218
Original file line number Diff line number Diff line change 8080 manufacturer = "Rexel" ,
8181 configuration_url = "https://utilisateur.energeasyconnect.com/user/#/zone/equipements" ,
8282 ),
83+ Server .SAUTER_COZYTOUCH : OverkizServer ( # duplicate of Atlantic Cozytouch
84+ name = "Sauter Cozytouch" ,
85+ endpoint = "https://ha110-1.overkiz.com/enduser-mobile-web/enduserAPI/" ,
86+ manufacturer = "Sauter" ,
87+ configuration_url = None ,
88+ ),
8389 Server .SIMU_LIVEIN2 : OverkizServer ( # alias of https://tahomalink.com
8490 name = "SIMU (LiveIn2)" ,
8591 endpoint = "https://ha101-1.overkiz.com/enduser-mobile-web/enduserAPI/" ,
104110 manufacturer = "Somfy" ,
105111 configuration_url = None ,
106112 ),
113+ Server .THERMOR_COZYTOUCH : OverkizServer ( # duplicate of Atlantic Cozytouch
114+ name = "Thermor Cozytouch" ,
115+ endpoint = "https://ha110-1.overkiz.com/enduser-mobile-web/enduserAPI/" ,
116+ manufacturer = "Thermor" ,
117+ configuration_url = None ,
118+ ),
107119 Server .UBIWIZZ : OverkizServer (
108120 name = "Ubiwizz" ,
109121 endpoint = "https://ha129-1.overkiz.com/enduser-mobile-web/enduserAPI/" ,
Original file line number Diff line number Diff line change @@ -26,9 +26,11 @@ class Server(StrEnum):
2626 HI_KUMO_OCEANIA = "hi_kumo_oceania"
2727 NEXITY = "nexity"
2828 REXEL = "rexel"
29+ SAUTER_COZYTOUCH = "sauter_cozytouch"
2930 SIMU_LIVEIN2 = "simu_livein2"
3031 SOMFY_DEVELOPER_MODE = "somfy_developer_mode"
3132 SOMFY_EUROPE = "somfy_europe"
3233 SOMFY_AMERICA = "somfy_america"
3334 SOMFY_OCEANIA = "somfy_oceania"
35+ THERMOR_COZYTOUCH = "thermor_cozytouch"
3436 UBIWIZZ = "ubiwizz"
You can’t perform that action at this time.
0 commit comments