mirror of
https://github.com/lumapu/ahoy.git
synced 2025-04-29 18:26:21 +02:00
fixed change in dependency
This commit is contained in:
parent
a8343fdbb8
commit
a269edc03c
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class SunsetHandler:
|
|||
if self.suntimes:
|
||||
local_sunrise = self.suntimes.riselocal(datetime.now()).strftime("%d.%m.%YT%H:%M")
|
||||
local_sunset = self.suntimes.setlocal(datetime.now()).strftime("%d.%m.%YT%H:%M")
|
||||
local_zone = self.suntimes.setlocal(datetime.now()).tzinfo._key
|
||||
local_zone = self.suntimes.setlocal(datetime.now()).tzinfo.key
|
||||
mqtt_client.info2mqtt({'topic' : f'{dtu_name}/{dtu_ser}'}, \
|
||||
{'dis_night_comm' : 'True', \
|
||||
'local_sunrise' : local_sunrise, \
|
||||
|
|
Loading…
Add table
Reference in a new issue