diff --git a/CheapPriceNotifier.py b/CheapPriceNotifier.py index 4e4a664..8d915b0 100644 --- a/CheapPriceNotifier.py +++ b/CheapPriceNotifier.py @@ -7,9 +7,9 @@ max_price = get_max_price() if curr_price.value == min_price.value: - send_sms('Put the washing machine on! Min price: ' + - min_price.value_euro + '@' + min_price.hour + ', Max price: ' + max_price.value_euro + '@' + max_price.hour + - ', Current Price: ' + curr_price.value_euro + '@' + curr_price.hour + '.') + send_sms('Put the washing machine on!!\n - Min: ' + + min_price.value_euro + '@' + min_price.hour + '\n - Max: ' + max_price.value_euro + '@' + max_price.hour + + '\n - Current: ' + curr_price.value_euro + '@' + curr_price.hour) else: print('No need to put the washing machine on. Min price is ' + min_price.value_euro+', max price is' + max_price.value_euro+', current price is '+curr_price.value_euro+'.') diff --git a/DailyPriceNotifier.py b/DailyPriceNotifier.py index 6a39298..38da050 100644 --- a/DailyPriceNotifier.py +++ b/DailyPriceNotifier.py @@ -5,8 +5,8 @@ min_price = get_min_price() max_price = get_max_price() -message = 'Prices today: Min price: ' + \ - min_price.value_euro + '@' + min_price.hour + ', Max price: ' + \ +message = 'Prices today:\n - Min: '+min_price.value_euro + '@' + \ + min_price.hour + '\n - Max: ' + \ max_price.value_euro + '@' + max_price.hour print(message) diff --git a/ExpensivePriceNotifier.py b/ExpensivePriceNotifier.py index 9acdf1d..ca6ea7f 100644 --- a/ExpensivePriceNotifier.py +++ b/ExpensivePriceNotifier.py @@ -7,9 +7,9 @@ max_price = get_max_price() if curr_price.value == max_price.value: - send_sms('Turn everything off!! Now is the most expensive time. Min price: ' + - min_price.value_euro + '@' + min_price.hour + ', Max price: ' + max_price.value_euro + '@' + max_price.hour + - ', Current Price: ' + curr_price.value_euro + '@' + curr_price.hour + '.') + send_sms('Turn everything off!!\n - Min: ' + + min_price.value_euro + '@' + min_price.hour + '\n - Max: ' + max_price.value_euro + '@' + max_price.hour + + '\n - Current: ' + curr_price.value_euro + '@' + curr_price.hour) else: print('No need to warn about the price. Min price is ' + min_price.value_euro+', max price is' + max_price.value_euro+', current price is '+curr_price.value_euro+'.')