This repository was archived by the owner on Aug 27, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +12
-10
lines changed
custom_components/authenticated Expand file tree Collapse file tree 4 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 11default_config :
22logger :
3- default : error
3+ default : info
44 logs :
55 custom_components.authenticated : debug
66
Original file line number Diff line number Diff line change 11{
22 "name" : " Custom integration authenticated" ,
3- "image" : " ludeeus/container: integration" ,
3+ "image" : " ghcr.io/ ludeeus/devcontainer/ integration:stable " ,
44 "context" : " .." ,
55 "appPort" : [
66 " 9123:8123"
1111 " github.vscode-pull-request-github" ,
1212 " ryanluker.vscode-coverage-gutters" ,
1313 " ms-python.vscode-pylance"
14- ],
15- "settings" : {
14+ ],
15+ "settings" : {
1616 "files.eol" : " \n " ,
1717 "editor.tabSize" : 4 ,
1818 "terminal.integrated.shell.linux" : " /bin/bash" ,
2424 "editor.formatOnSave" : true ,
2525 "editor.formatOnType" : true ,
2626 "files.trimTrailingWhitespace" : true
27- }
27+ }
2828}
Original file line number Diff line number Diff line change 11{
22 "domain" : " authenticated" ,
33 "name" : " Authenticated" ,
4- "version" : " v0.0.0" ,
4+ "version" : " 0.0.0" ,
5+ "iot_class" : " local_polling" ,
56 "documentation" : " https://github.com/custom-components/authenticated" ,
67 "issue_tracker" : " https://github.com/custom-components/authenticated/issues" ,
78 "codeowners" : [
Original file line number Diff line number Diff line change @@ -201,14 +201,15 @@ def update(self):
201201 accessdata = AuthenticatedData (access , tokens [access ])
202202 ipaddress = IPData (accessdata , users , self .provider )
203203 ipaddress .lookup ()
204- if ipaddress .new_ip :
205- if self .notify :
206- ipaddress .notify (self .hass )
207- ipaddress .new_ip = False
208204
209205 if ipaddress .hostname is None :
210206 ipaddress .hostname = get_hostname (ipaddress .ip_address )
211207
208+ if ipaddress .new_ip :
209+ if self .notify :
210+ ipaddress .notify (self .hass )
211+ ipaddress .new_ip = False
212+
212213 self .hass .data [PLATFORM_NAME ][access ] = ipaddress
213214
214215 for ipaddr in sorted (
You can’t perform that action at this time.
0 commit comments