update
This commit is contained in:
parent
725694fa7b
commit
f7e1baaf2e
|
@ -44,7 +44,7 @@ def create_Message():
|
||||||
day = i['date']['day']
|
day = i['date']['day']
|
||||||
month = i['date']['month']
|
month = i['date']['month']
|
||||||
if day == get_current_date()[0] and month == get_current_date()[1]:
|
if day == get_current_date()[0] and month == get_current_date()[1]:
|
||||||
message = message + ' ' + i['message']
|
message = message + ' ' + i['name']
|
||||||
|
|
||||||
if config.holidays == 'true':
|
if config.holidays == 'true':
|
||||||
filename = 'holidays.json'
|
filename = 'holidays.json'
|
||||||
|
@ -52,7 +52,7 @@ def create_Message():
|
||||||
day = i['date']['day']
|
day = i['date']['day']
|
||||||
month = i['date']['month']
|
month = i['date']['month']
|
||||||
if day == get_current_date()[0] and month == get_current_date()[1]:
|
if day == get_current_date()[0] and month == get_current_date()[1]:
|
||||||
message = message + ' ' + i['message']
|
message = message + ' ' + i['name']
|
||||||
|
|
||||||
|
|
||||||
# Send Message to the Device
|
# Send Message to the Device
|
||||||
|
|
20
events.json
20
events.json
|
@ -6,7 +6,7 @@
|
||||||
"month": "11",
|
"month": "11",
|
||||||
"year": 2021
|
"year": 2021
|
||||||
},
|
},
|
||||||
"name": "Lottas {{years}}. Geburtstag",
|
"name": "Lottas Geburtstag",
|
||||||
"message": "Nur noch {{hours}} Stunden bis {{name}}!"
|
"message": "Nur noch {{hours}} Stunden bis {{name}}!"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
"month": "02",
|
"month": "02",
|
||||||
"year": 1989
|
"year": 1989
|
||||||
},
|
},
|
||||||
"name": "Ines {{years}}. Geburtstag",
|
"name": "Ines Geburtstag",
|
||||||
"message": "Nur noch {{hours}} Stunden bis {{name}}!"
|
"message": "Nur noch {{hours}} Stunden bis {{name}}!"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
"month": "05",
|
"month": "05",
|
||||||
"year": 1961
|
"year": 1961
|
||||||
},
|
},
|
||||||
"name": "Rudis {{years}}. Geburtstag",
|
"name": "Rudis Geburtstag",
|
||||||
"message": "Nur noch {{hours}} Stunden bis {{name}}!"
|
"message": "Nur noch {{hours}} Stunden bis {{name}}!"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
"month": "02",
|
"month": "02",
|
||||||
"year": 1936
|
"year": 1936
|
||||||
},
|
},
|
||||||
"name": "Oma Ferls {{years}}. Geburtstag",
|
"name": "Oma Ferls Geburtstag",
|
||||||
"message": "Nur noch {{hours}} Stunden bis {{name}}!"
|
"message": "Nur noch {{hours}} Stunden bis {{name}}!"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
"month": "05",
|
"month": "05",
|
||||||
"year": 1967
|
"year": 1967
|
||||||
},
|
},
|
||||||
"name": "Haikes {{years}}. Geburtstag",
|
"name": "Haikes Geburtstag",
|
||||||
"message": "Nur noch {{hours}} Stunden bis {{name}}!"
|
"message": "Nur noch {{hours}} Stunden bis {{name}}!"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
"month": "02",
|
"month": "02",
|
||||||
"year": 1966
|
"year": 1966
|
||||||
},
|
},
|
||||||
"name": "Marios {{years}}. Geburtstag",
|
"name": "Marios Geburtstag",
|
||||||
"message": "Nur noch {{hours}} Stunden bis {{name}}!"
|
"message": "Nur noch {{hours}} Stunden bis {{name}}!"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
"month": "12",
|
"month": "12",
|
||||||
"year": 2021
|
"year": 2021
|
||||||
},
|
},
|
||||||
"name": "{{years}}. Verlobungstag",
|
"name": "Verlobungstag",
|
||||||
"message": "Nur noch {{hours}} Stunden bis zum {{name}}!"
|
"message": "Nur noch {{hours}} Stunden bis zum {{name}}!"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -76,7 +76,7 @@
|
||||||
"month": "02",
|
"month": "02",
|
||||||
"year": 1985
|
"year": 1985
|
||||||
},
|
},
|
||||||
"name": "Susannes {{years}}. Geburtstag",
|
"name": "Susannes Geburtstag",
|
||||||
"message": "Nur noch {{hours}} Stunden bis {{name}}!"
|
"message": "Nur noch {{hours}} Stunden bis {{name}}!"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -96,7 +96,7 @@
|
||||||
"month": "04",
|
"month": "04",
|
||||||
"year": 1999
|
"year": 1999
|
||||||
},
|
},
|
||||||
"name": "Steffens {{years}}. Geburtstag",
|
"name": "Steffens Geburtstag",
|
||||||
"message": "Nur noch {{hours}} Stunden bis {{name}}!"
|
"message": "Nur noch {{hours}} Stunden bis {{name}}!"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -146,7 +146,7 @@
|
||||||
"month": "11",
|
"month": "11",
|
||||||
"year": 1995
|
"year": 1995
|
||||||
},
|
},
|
||||||
"name": "Viviennes {{years}}. Geburtstag",
|
"name": "Viviennes Geburtstag",
|
||||||
"message": "Nur noch {{hours}} Stunden bis {{name}}!"
|
"message": "Nur noch {{hours}} Stunden bis {{name}}!"
|
||||||
}
|
}
|
||||||
]
|
]
|
Loading…
Reference in New Issue
Block a user