diff --git a/custom_templates/speech.jinja b/custom_templates/speech.jinja index f57d2be..0a825db 100644 --- a/custom_templates/speech.jinja +++ b/custom_templates/speech.jinja @@ -49,4 +49,101 @@ It is {{ now().strftime("%I:%M %p") }}. "In case you hadn't had enough idiotic humor today, here is a little more ", "For further proof that the developer responsible for my existence is an idiot, I present the following joke ", ] | random }} {{ states('sensor.random_joke') }} +{% endmacro %} + +{% macro inspirational_quote() %} +{{ [ +"Life is about making an impact, make it a positive one. ", +"Whatever the mind of man can conceive and believe, it can achieve. ", +"Strive not to be a success, but rather to be of value. ", +"I attribute my overall success to never giving or taking an excuse. ", +"You miss one hundred percent of the shots you dont take. ", +"The most difficult thing is the decision to act, the rest is merely tenacity. ", +"The only difference between who you are and who you want to be, is what you do. ", +"Every strike brings me closer to the next home run. ", +"Defining thepurpose is the starting point of all achievement. ", +"Life is not about getting and having, it's about giving and being. ", +"We become what we think about. ", +"Be the change that you wish to see in the world. ", +"A wise man changes his mind but a fool never will. ", +"Change is inevitable. Growth is optional. ", +"dont worry, be happy. ", +"There are far better things ahead of us than behind us. ", +"If you want to go fast, go alone but if you want to go far, go with others. ", +"The key to success is to focus on goals not obstacles. ", +"Sometimes we are tested not to show our weaknesses, but to discover our strengths. ", +"Do something today that your future self will thank you for. ", +"Life is ten percent what happens to you and ninety percent how you react to it. ", +"The most common way people give up their power is by thinking they do not have any. ", +"The mind is everything. What you think, you will become. ", +"Always try to Live your best life. ", +"When nothing goes right, go left. ", +"The best time to plant a tree was twenty years ago. The second best time is now. ", +"An unexamined life is not worth living. ", +"Eighty percent of success is showing up. ", +"Do not stop when you are tired, stop when you are done. ", +"Luck is being prepared and ready for the opportunities when they come. ", +"Do not wait for opportunity. Create it.", +"action is the foundation of success. ", +"All progress takes place outside the comfort zone. ", +"You can make mistakes but you should never quit. ", +"Do not let the fear of losing be greater than the excitement of winning. ", +"The way to get started is to quit talking and begin doing. ", +"when you feel like quitting, remember why you started. ", +"The harder you work, the more luck people will think you have. ", +"The harder you work for something, the greater you will feel when you achieve it. ", +"Your time is limited, so do not waste it living someone elses life. ", +"Winning is not everything, but wanting to win is. ", +"I am not a product of my circumstances. I am a product of my decisions. ", +"You can never cross the ocean until you have the courage to lose sight of the shore. ", +"Either you run the day, or the day runs you. ", +"Whether you think you can or you think you cannot, you will be right. ", +"The two most important days in your life are the day you are born and the day you find out why. ", +"Never ruin a good day by thinking about a bad yesterday. ", +"Whatever you can do, or dream you can, begin it. Boldness has genius, power and magic in it. ", +"The best revenge is massive success. ", +"The universe cant put good into your hands unless you let go of the bad.", +"People often say that motivation does not last. Well, neither does bathing. That is why we recommend it daily. ", +"Life shrinks or expands in proportion to ones courage. ", +"If you hear a voice within you say you cannot paint, then by all means paint and that voice will be silenced. ", +"Do not raise your voice, instead improve your argument. ", +"There is only one way to avoid criticism: do nothing, say nothing, and be nothing. ", +"Ask and it will be given to you; search, and you will find; knock and the door will be opened for you. ", +"The only person you are destined to become is the person you decide to be. ", +"Go confidently in the direction of your dreams. Live the life you have imagined. ", +"Certain things catch your eye, but pursue only those that capture the heart. ", +"Believe you can and you are halfway there. ", +"Good things take time. ", +"If you cant beat the Fear... just do it scared! ", +"There is no place like home. ", +"Life can be tough but so are you. ", +"Everything you have ever wanted is on the other side of fear. ", +"Start where you are. Use what you have. Do what you can. ", +"Fall seven times and stand up eight. ", +"Everything has beauty, but not everyone can see. ", +"Life is like riding a bicycle. To keep your balance, you must keep moving. ", +"Life is not measured by the number of breaths we take, but by the moments that take our breath away. ", +"in any given moment, we can choose to move forward and grow or retreat.", +"Happiness is not something readymade. It comes from your own actions. ", +"If you are offered a seat on a rocket ship, do not ask what seat! Just get on. ", +"If the wind will not move you forward, take to the oars. ", +"If you can dream it, you can do it. ", +"You can not fall if you do not climb. But theres no joy in living your whole life on the ground. ", +"Too many of us are not living our dreams because we are living our fears. ", +"Live your dreams or live your fears. You can only choose one… ", +"Challenges are what make life interesting and overcoming them is what makes life meaningful. ", +"If you want to lift yourself up, lift up someone else. ", +"Be nice to others and nice things will happen to you.", +"Everyone has a plan until they get punched in the face. Be ready to pivot and adapt to the situation. ", +"You are the Artist of your OWN life. Dont hand the paint brush to anyone else. ", +"Try to be a rainbow for someone elses cloud. ", +"It is nice to be important, but more important to be nice.", +"You have within you right now, everything you need to deal with whatever the world can throw at you.", +"The only way to do great work is to love what you do. If you havent found it yet, keep looking. Dont settle.", +"Life is too short to waste time hating anyone.", +"Be yourself, everyone else is already taken.", +"Dream big, work hard, stay focused, and surround yourself with good people.", +"What we fear doing most is usually what we need to do most.", +"Be the energy you want to attract." +] | random }} {% endmacro %} \ No newline at end of file diff --git a/templates/speech/daily_briefing.yaml b/templates/speech/daily_briefing.yaml index 42329c4..fa7b998 100644 --- a/templates/speech/daily_briefing.yaml +++ b/templates/speech/daily_briefing.yaml @@ -1,7 +1,7 @@ > {# Daily Briefing #} {%- macro getReport() -%} - {% from 'speech.jinja' import greeting, dadjoke %} + {% from 'speech.jinja' import greeting, dadjoke, inspirational_quote %} {% from 'time.jinja' import input_datetime_12hr %}

{{ greeting() }} @@ -446,6 +446,10 @@ {% endif %}

+

+ And now, one more thing before I go. {{ inspirational_quote() }} +

+ {%- endmacro -%} diff --git a/templates/speech/kallen_morning_briefing.yaml b/templates/speech/kallen_morning_briefing.yaml index a23065e..76eb7ee 100644 --- a/templates/speech/kallen_morning_briefing.yaml +++ b/templates/speech/kallen_morning_briefing.yaml @@ -1,8 +1,8 @@ > {# Kallen Morning Briefing #} {%- macro getReport() -%} - {% from 'time.jinja' import current_time_12hr, current_date_readout, input_datetime_12hr%} - {% from 'speech.jinja' import dadjoke %} + {% from 'time.jinja' import current_time_12hr, current_date_readout, input_datetime_12hr %} + {% from 'speech.jinja' import dadjoke, inspirational_quote %}

Good morning, Collin. @@ -178,6 +178,10 @@ {% endif %}

+

+ And now, one more thing before I go. {{ inspirational_quote() }} +

+ {%- endmacro -%} {# a macro that removes all newline characters, empty spaces, and returns formatted text #} diff --git a/templates/speech/morning_briefing.yaml b/templates/speech/morning_briefing.yaml index 4e0af50..263db59 100644 --- a/templates/speech/morning_briefing.yaml +++ b/templates/speech/morning_briefing.yaml @@ -1,7 +1,7 @@ > {# Morning Briefing #} {%- macro getReport() -%} - {% from 'speech.jinja' import greeting_nodate, dadjoke %} + {% from 'speech.jinja' import greeting_nodate, dadjoke, inspirational_quote %} {% from 'time.jinja' import input_datetime_12hr %}

{{ greeting_nodate() }} @@ -224,6 +224,10 @@ {% endif %}

+

+ And finally, here is a bit of inspiration to start your day. {{ inspirational_quote() }} +

+ {%- endmacro -%} diff --git a/templates/speech/nightly_briefing.yaml b/templates/speech/nightly_briefing.yaml index 71c1c2c..40f0ebf 100644 --- a/templates/speech/nightly_briefing.yaml +++ b/templates/speech/nightly_briefing.yaml @@ -2,7 +2,7 @@ {# Nightly Briefing #} {%- macro getReport() -%} {% from 'speech.jinja' import greeting, dadjoke %} - {% from 'time.jinja' import input_datetime_12hr, read_time_from_calendar %} + {% from 'time.jinja' import input_datetime_12hr, read_time_from_calendar, inspirational_quote %}

{{ greeting() }}

@@ -276,6 +276,10 @@ {% endif %}

+

+ One last thing before I go. {{ inspirational_quote() }} +

+ {%- endmacro -%} {# a macro that removes all newline characters, empty spaces, and returns formatted text #}