[
  {
    "path": ".gitignore",
    "content": ".uuid"
  },
  {
    "path": "CODE_OF_CONDUCT.md",
    "content": "# Code of Conduct\n\n## 1. Purpose\n\nA primary goal of Homeassistant Example Config is to be inclusive to the largest number of contributors, with the most varied and diverse backgrounds possible. As such, we are committed to providing a friendly, safe and welcoming environment for all, regardless of gender, sexual orientation, ability, ethnicity, socioeconomic status, and religion (or lack thereof).\n\nThis code of conduct outlines our expectations for all those who participate in our community, as well as the consequences for unacceptable behavior.\n\nWe invite all those who participate in Homeassistant Example Config to help us create safe and positive experiences for everyone.\n\n## 2. Open Source Citizenship\n\nA supplemental goal of this Code of Conduct is to increase open source citizenship by encouraging participants to recognize and strengthen the relationships between our actions and their effects on our community.\n\nCommunities mirror the societies in which they exist and positive action is essential to counteract the many forms of inequality and abuses of power that exist in society.\n\nIf you see someone who is making an extra effort to ensure our community is welcoming, friendly, and encourages all participants to contribute to the fullest extent, we want to know.\n\n## 3. Expected Behavior\n\nThe following behaviors are expected and requested of all community members:\n\n*   Participate in an authentic and active way. In doing so, you contribute to the health and longevity of this community.\n*   Exercise consideration and respect in your speech and actions.\n*   Attempt collaboration before conflict.\n*   Refrain from demeaning, discriminatory, or harassing behavior and speech.\n*   Be mindful of your surroundings and of your fellow participants. Alert community leaders if you notice a dangerous situation, someone in distress, or violations of this Code of Conduct, even if they seem inconsequential.\n*   Remember that community event venues may be shared with members of the public; please be respectful to all patrons of these locations.\n\n## 4. Unacceptable Behavior\n\nThe following behaviors are considered harassment and are unacceptable within our community:\n\n*   Violence, threats of violence or violent language directed against another person.\n*   Sexist, racist, homophobic, transphobic, ableist or otherwise discriminatory jokes and language.\n*   Posting or displaying sexually explicit or violent material.\n*   Posting or threatening to post other people’s personally identifying information (\"doxing\").\n*   Personal insults, particularly those related to gender, sexual orientation, race, religion, or disability.\n*   Inappropriate photography or recording.\n*   Inappropriate physical contact. You should have someone’s consent before touching them.\n*   Unwelcome sexual attention. This includes, sexualized comments or jokes; inappropriate touching, groping, and unwelcomed sexual advances.\n*   Deliberate intimidation, stalking or following (online or in person).\n*   Advocating for, or encouraging, any of the above behavior.\n*   Sustained disruption of community events, including talks and presentations.\n\n## 5. Consequences of Unacceptable Behavior\n\nUnacceptable behavior from any community member, including sponsors and those with decision-making authority, will not be tolerated.\n\nAnyone asked to stop unacceptable behavior is expected to comply immediately.\n\nIf a community member engages in unacceptable behavior, the community organizers may take any action they deem appropriate, up to and including a temporary ban or permanent expulsion from the community without warning (and without refund in the case of a paid event).\n\n## 6. Reporting Guidelines\n\nIf you are subject to or witness unacceptable behavior, or have any other concerns, please notify a community organizer as soon as possible. .\n\n\n\nAdditionally, community organizers are available to help community members engage with local law enforcement or to otherwise help those experiencing unacceptable behavior feel safe. In the context of in-person events, organizers will also provide escorts as desired by the person experiencing distress.\n\n## 7. Addressing Grievances\n\nIf you feel you have been falsely or unfairly accused of violating this Code of Conduct, you should notify Ciquattro Fpv with a concise description of your grievance. Your grievance will be handled in accordance with our existing governing policies.\n\n\n\n## 8. Scope\n\nWe expect all community participants (contributors, paid or otherwise; sponsors; and other guests) to abide by this Code of Conduct in all community venues–online and in-person–as well as in all one-on-one communications pertaining to community business.\n\nThis code of conduct and its related procedures also applies to unacceptable behavior occurring outside the scope of community activities when such behavior has the potential to adversely affect the safety and well-being of community members.\n\n## 9. Contact info\n\n\n\n## 10. License and attribution\n\nThis Code of Conduct is distributed under a [Creative Commons Attribution-ShareAlike license](http://creativecommons.org/licenses/by-sa/3.0/).\n\nPortions of text derived from the [Django Code of Conduct](https://www.djangoproject.com/conduct/) and the [Geek Feminism Anti-Harassment Policy](http://geekfeminism.wikia.com/wiki/Conference_anti-harassment/Policy).\n\nRetrieved on November 22, 2016 from [http://citizencodeofconduct.org/](http://citizencodeofconduct.org/)\n"
  },
  {
    "path": "CONTRIBUTING.md",
    "content": "---\nlayout: page\ntitle: \"Contributor License Agreement\"\ndescription: \"The Code of Conduct for Home Assistant projects.\"\ndate: 2017-01-21 15:05:00 -0800\nsidebar: true\ncomments: false\nsharing: true\nfooter: true\n---\n\n# Contributor License Agreement\n\n```\nBy making a contribution to this project, I certify that:\n\n(a) The contribution was created in whole or in part by me and I\n    have the right to submit it under the Apache 2.0 license; or\n\n(b) The contribution is based upon previous work that, to the best\n    of my knowledge, is covered under an appropriate open source\n    license and I have the right under that license to submit that\n    work with modifications, whether created in whole or in part\n    by me, under the Apache 2.0 license; or\n\n(c) The contribution was provided directly to me by some other\n    person who certified (a), (b) or (c) and I have not modified\n    it.\n\n(d) I understand and agree that this project and the contribution\n    are public and that a record of the contribution (including all\n    personal information I submit with it) is maintained indefinitely\n    and may be redistributed consistent with this project or the open\n    source license(s) involved.\n```\n\n## Attribution\n\nThe text of this license is available under the [Creative Commons Attribution-ShareAlike 3.0 Unported License](http://creativecommons.org/licenses/by-sa/3.0/).  It is based on the Linux [Developer Certificate Of Origin](http://elinux.org/Developer_Certificate_Of_Origin), but is modified to explicitly use the Apache 2.0 license\nand not mention sign-off.\n\n## Signing\n\nIf you have not signed the CLA and you submit a pull request to a repository under the Home Assistant organization, a link will be automatically generated. Just follow the link and the instructions in the link.\n\n## Adoption\n\nThis Contributor License Agreement (CLA) was first announced on January 21st, 2017 in [this][cla-blog] blog post and adopted January 28th, 2017.\n\n[cla-blog]: /blog/2017/01/21/home-assistant-governance/\n"
  },
  {
    "path": "LICENSE",
    "content": "                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n"
  },
  {
    "path": "PULL_REQUEST_TEMPLATE.md",
    "content": "Submit your work\n\nSubmit your improvements, fixes, and new features to Homeassistant-Example-Config one at a time, using GitHub Pull Requests. Here are the steps:\n\n    From your fork's dev branch, create a new branch to hold your changes:\n\n    git checkout -b some-feature\n\n    Make your changes, create a new platform, develop a new component, or fix issues.\n\n    Test your changes and check for style violations.\n\n    If everything looks good according to these musts, commit your changes:\n\n    git add .\n\n    git commit -m \"Added some-feature\"\n        Write a meaningful commit message and not only Update or Fix.\n        Use a capital letter to start with your commit message.\n        Don't prefix your commit message with [bla.bla] or platform:.\n        Consider adding tests to ensure that your code works.\n\n    Push your committed changes back to your fork on GitHub:\n\n    git push origin HEAD\n\n    Follow these steps to create your pull request.\n        On GitHub, navigate to the main page of the Home Assistant repository.\n        In the \"Branch\" menu, choose the branch that contains your commits (from your fork).\n        To the right of the Branch menu, click New pull request.\n        Use the base branch dropdown menu to select the branch you'd like to merge your changes into, then use the compare branch drop-down menu to choose the topic branch you made your changes in. Make sure the Home Assistant branch matches with your forked branch (dev) else you will propose ALL commits between branches.\n        Type a title and complete the provided description for your pull request.\n        Click Create pull request.\n\n    Check for comments and suggestions on your pull request and keep an eye on the CI output.\n\n"
  },
  {
    "path": "README.md",
    "content": "# Homeassistant Template Example By Nicolò Steffè\n\nHome assistant Configuration (YAMLs)\n\nThis is my Home Assistant Configuration created with Raspberry Pi3 with Hassio.\n\n- Alexa voice command integrated with haaska https://github.com/mike-grant/haaska/wiki\n- Android Devices (iPads, iPods, iPhones)\n- Owntracks for presence detection and GPS logging\n![alt text](screenshots/hass02.png \"Screenshot Example\")\n\n- Mitsubishi Air Conditioner and Belkin IR Blaster - Mini R3\n\n.   ![alt text](screenshots/ir02.png \"Player View\")\n.   ![alt text](screenshots/ir01.png \"Player View\")\n\n- Sony Bravia Android TV and Chromecast TV \n\n\n.   ![alt text](screenshots/player01.png \"Media Player View\")\n\n- Alexa Media Player\n![alt text](screenshots/alexa01.png \"Alexa Media players\")\n\n- Fritbox and Presence detection\n\n- Synology NAS\n- Reolink E1 Pro\n![alt text](screenshots/cam01.png \"Camera View\")\n\n- Shelly Devices\n\n![alt text](screenshots/shelly01.png \"Lights View\")\n![alt text](screenshots/shelly02.png \"Lights View\")\n\n- Yeelight RGB and White Bulb and Hass Scenes\n![alt text](screenshots/lights01.png \"Lights View\")\n\n- Efergy for Energy cost monitor\n![alt text](screenshots/energy01.png \"Efergy Example\")\n![alt text](screenshots/efergy01.png \"Efergy Example\")\n![alt text](screenshots/efergy02.png \"Efergy Example\")\n\n- Telegram Notification\n- FitBit Integration\n\n![alt text](screenshots/fitbit01.png \"Fitbit Example\")\n\n- Active Weather Map and International Space Station Integration\n![alt text](screenshots/hass02.png \"Screenshot Example\")\n\n- View Example\n![alt text](screenshots/hass01.png \"Screenshot Example\")\n\n"
  },
  {
    "path": "alarm.yaml",
    "content": "platform: manual\nname: House\npending_time: 30\ntrigger_time: 600"
  },
  {
    "path": "announcements.yaml",
    "content": "  #alias: 'People Greeting'\n  #trigger:\n    #- platform: state\n      #entity_id:\n        #- device_tracker.my_my\n        #- device_tracker.person_person\n        #- device_tracker.iphonemarie\n      #from: 'not_home'\n      #to: 'home'\n      #for: '00:02:00'\n  #action:\n    #- service: script.Voice_notify\n      #data_template:\n        #value1: >\n          #{% set person = trigger.entity_id.split('.')[1]|replace('_', ' ')%}\n          #{%- macro greeting_sentence(person) -%}\n          #{{ [\n          #\"Welcome home \" ~ person,\n          #\"Guess who is home? \"  ~ person +\" is!\",\n          #\"Attention: \" ~ person + \" is now in the house.\",\n          #\"Welcome Home \" ~ person + \".  We've missed you. or at least Molly did.\",\n          #\"Our home is now complete, Rest your head and relax your feet! Welcome Back \" ~ person,\n          #\"Life is like a song, you’re back where you belong. Welcome home \" ~ person,\n          #\"Hey there \" ~ person + \" Welcome Home!\",\n          #person ~ \"! You're home!\"\n          #] | random }}\n          #{%- endmacro -%}\n          #\"{{greeting_sentence(person)}}\""
  },
  {
    "path": "automations.yaml",
    "content": "# - id: letsencrypt-renewal-30d-before-expiry\n#   alias: Let's Encrypt Renewal at 15 Days before expiration\n#   initial_state: 'on'\n#   trigger:\n#   - platform: numeric_state\n#     entity_id: sensor.ssl_certificate_expiry\n#     below: 15\n#     for:\n#       minutes: 20\n#   action:\n#   - service: notify.hassnico_bot\n#     data_template:\n#       message: '\"Let's Encrypt CA must be Renewed. Expiry date is at 30 Days from\n#         now\"'\n#   - service: hassio.addon_restart\n#     data:\n#       addon: core_letsencrypt\n#   - service: notify.hassnico_bot\n#     data_template:\n#       message: '\"Let's Encrypt CA was Renewed\"'\n#   - delay: 00:10:00\n#   - service: script.restart_ha\n#   - service: notify.hassnico_bot\n#     data:\n#       message: HA - Restart - Triggered - After CA Renew\n\n- alias: Coffe Greetings - Notification \n  id: coffe-greetings-notify\n  initial_state: 'on'\n  trigger:\n    # platform: template\n    # value_template: \"{{ state_attr('sensor.shelly_shplg_s_04169c_current_consumption', 'consumption')|int > 1000 }}\"\n    platform: numeric_state\n    entity_id: sensor.shelly_shplg_s_04169c_current_consumption\n    above: 1000\n    for:\n      seconds: 6\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Qualcuno sta facendo il Caffè\n  # - service: media_player.volume_set\n  #   data:\n  #     entity_id: media_player.nico_bose_home\n  #     volume_level: 0.25\n  - delay: 00:00:20\n  #- service: script.cucinacoffe\n  - service: script.cast_on_kitchen\n  - service: notify.alexa_media\n    data:\n      target:\n      # - media_player.nico_bose_home\n      - media_player.nicolo_s_2nd_bose_home_speaker_500\n      data:\n        type: tts\n      message: >\n        {{ [ \n         \"Spero che il Caffè sia buono\",\n         \"Spero che il Caffè sia di tuo gradimento\",\n         \"Nespresso o Borbone, questo è il problema!\",\n         \"Oh che bello caffè\",\n         \"Ci vuole proprio una bella pausa caffè\",\n         \"Non c’è niente di meglio di una tazza di caffè\",\n         \"All you need is Coffee\",\n        ] | random }}\n\n\n- id: scene-washing-machine-working-notify\n  alias: Washing Machine is Working - Notification\n  initial_state: 'on'\n  trigger:\n    # platform: template\n    # value_template: \"{{ state_attr('sensor.shelly_shplg_s_5b2502_current_consumption', 'consumption')|int > 200 }}\"\n    platform: numeric_state\n    entity_id: sensor.shelly_shplg_s_5b2502_current_consumption\n    above: 250\n    for:\n      seconds: 6\n  action:\n  - service: input_select.select_option\n    data:\n      entity_id: input_select.washing_machine_state\n      option: Working\n\n\n- id: scene-washing-machine-working\n  alias: Washing Machine is Working - Notification\n  trigger:\n    platform: state\n    entity_id: input_select.washing_machine_state\n    to: Working\n  action:\n  - service: notify.hassnico_bot\n    data_template:\n      message: 'Washing Machine is : {{ trigger.to_state.state }}'\n  - service: notify.hassnico_bot\n    data:\n      message: La Lavatrice è in Funzione\n  - service: notify.alexa_media\n    data:\n      target:\n      # - media_player.nico_bose_home\n      - media_player.nicolo_s_2nd_bose_home_speaker_500\n      data:\n        type: tts\n      message: >\n        {{ [ \n        \"La Lavatrice è in funzione, Ricordati di verificare se ci sono altri elettrodomestici accesi\",\n        \"Si avverte la gentile clientela che la lavatrice è iniziata, si prega di verificare che altri elettrodomestici ad alto consumo non siano attivi\",\n        \"La Lavatrice è in funzione, verifica anche se ci sono altri elettrodomestici in funzione\",\n        \"Era proprio l'ora di fare la lavatrice, ti volevo ricordare di fare un controllo se anche altri elettrodomestici sono attivi.\",\n        ] | random }}\n  - service: script.cast_on_kitchen\n\n- id: scene-washing-machine-off-notify\n  alias: Washing Machine Scene Power Off - Notification\n  initial_state: 'on'\n  trigger:\n    # platform: template\n    # value_template: \"{{ state_attr('sensor.shelly_shplg_s_5b2502_current_consumption', 'consumption')|int < 25 }}\"\n    platform: numeric_state\n    entity_id: sensor.shelly_shplg_s_5b2502_current_consumption\n    below: 26\n    for:\n      minutes: 1\n      seconds: 10\n  action:\n  - service: input_select.select_option\n    data:\n      entity_id: input_select.washing_machine_state\n      option: Power Off\n\n- id: scene-washing-machine-poweroff\n  alias: Washing Machine Power off- Notification\n  trigger:\n    platform: state\n    entity_id: input_select.washing_machine_state\n    to: Power Off\n  action:\n  - service: notify.hassnico_bot\n    data_template:\n      message: 'Washing Machine is : {{ trigger.to_state.state }}'\n  - service: notify.hassnico_bot\n    data:\n      message: La Lavatrice è finita\n  - service: notify.alexa_media\n    data:\n      target:\n      # - media_player.nico_bose_home\n      - media_player.nicolo_s_2nd_bose_home_speaker_500\n      data:\n        type: tts\n      message: >\n        '{{ [ \n        \"La Lavatrice è finita, ora bisogna stendere i panni\",\n        \"La lavatrice ha terminato il lavaggio\",\n        \"La lavatrice è finita, chi stende i panni?\",\n        \"I panni li stende Nico o li stende Maria? Questo è il problema\",\n        ] | random }}'\n  - service: script.cast_on_kitchen\n\n- alias: Energy Alarm - Notification\n  id: 12181a719f5f4473916149f7ce20502b\n  initial_state: 'on'\n  trigger:\n    # platform: template\n    # value_template: \"{{ state_attr('sensor.shelly_shem_b9ee2d_1_current_consumption', 'consumption')|int > 100 }}\"\n    platform: numeric_state\n    entity_id: sensor.shelly_shem_b9ee2d_1_current_consumption\n    above: 3200\n    for:       \n      minutes: 10\n    # below: 25\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Sta per scattare la corrente a casa\n  - service: media_player.volume_set\n    data:\n      entity_id: media_player.nico_bose_home\n      volume_level: 0.35\n  - service: notify.alexa_media\n    data:\n      target:\n      - media_player.nico_bose_home\n      data:\n        type: tts\n      message: >\n         '{{ [ \n         \"Il consumo energetico sta per superare il limite consentito, verificare se sono accesi troppi elettrodomestici prima che scatti la corrente perfavore\",\n         \"Perfavore controllate i consumi energetici, si sta superando la soglia consentita, potrebbe scattare la corrente\",\n         \"Sta per scattare la corrente, perfavore controllare i dispositivi accesi in casa\",\n         ] | random }}'\n\n- alias: Nico is Driving - Notification\n  initial_state: 'on'\n  trigger:\n    platform: template\n    value_template: \"{{ state_attr('device_tracker.sm_g950f', 'velocity')|int >= 50 }}\"\n    for:\n      seconds: 20\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Nico is Driving\n  - service: script.alexatraffic2\n  id: f5d2b6ae95cc4cb893b890b3ff4cc0ce\n\n- id: light-self-shutdown\n  alias: Lights Self Shutdown\n  initial_state: 'on'\n  trigger:\n  - platform: state\n    entity_id:\n    - switch.shelly_shsw_25_687269_1\n    - switch.shelly_shsw_25_687269_2\n    to: 'on'\n    for: 00:30:00\n  - platform: state\n    entity_id:\n    - switch.shelly_shsw_25_e5e601_1\n    - switch.shelly_shsw_25_e5e601_2\n    to: 'on'\n    for: 01:15:00\n  - platform: state\n    entity_id:\n    - switch.shelly_shsw_25_686d62_1\n    - switch.shelly_shsw_25_686d62_2\n    - switch.shelly_shsw_25_68796e_1\n    - light.shelly_shsw_25_68796e_1\n    - switch.shelly_shsw_25_68796e_2\n    - light.shelly_shsw_25_68796e_2\n    to: 'on'\n    for: 02:00:00\n  action:\n  - service: switch.turn_off\n    data_template:\n      entity_id: '{{ trigger.entity_id }}'\n  - service: notify.hassnico_bot\n    data_template:\n      message: '\"{{ trigger.to_state.attributes.friendly_name }} just changed from\n        {{ trigger.to_state.state }} to {{ trigger.from_state.state }}. Self Shutdown!\"'\n  # - service: media_player.volume_set\n  #   data:\n  #     entity_id: media_player.nico_bose_home\n  #     volume_level: 0.3\n  - service: notify.alexa_media\n    data:\n      target:\n      - media_player.nicolo_s_2nd_bose_home_speaker_500\n      data:\n        type: tts\n      message: >\n        '{{ [\n        \"La Luce si è spenta automaticamente\",\n        \"Risparmio Energetico Attivato da Home Assistant, la luce si è spenta\",\n        \"La luce si è spenta\",        \n        ] | random }}'\n\n- id: camera-self-turn_on\n  alias: Video Camera Self Turn On\n  initial_state: 'on'\n  trigger:\n  - platform: state\n    entity_id:\n    - switch.ciabatta_rack_fritz_dect_200_1\n    to: 'off'\n    for: 00:45:00\n  action:\n  - service: switch.turn_on\n    data_template:\n      entity_id: '{{ trigger.entity_id }}'\n  - service: notify.hassnico_bot\n    data_template:\n      message: '\"{{ trigger.to_state.attributes.friendly_name }} just changed from\n        {{ trigger.to_state.state }} to {{ trigger.from_state.state }}. Self Turn on!\"'\n\n\n- id: midnight-routine-shutdown\n  alias: Turn off Light and Nesthub at Midnight\n  initial_state: 'on'\n  trigger:\n    platform: time\n    at: '23:59:00'\n  action:\n    - service: homeassistant.turn_off\n      entity_id: group.lights\n    - service: media_player.turn_off\n      entity_id: media_player.cucina\n\n- id: light-on-at-entrance-after-sunset\n  alias: Turn on Light After Sunset - All Days - when Family group at Home\n  initial_state: 'on'\n  trigger:\n  - platform: state\n    entity_id: group.family\n    to: home\n  condition:\n    condition: or\n    conditions:\n    - condition: sun\n      after: sunset\n    - condition: sun\n      before: sunrise\n  action:\n  - service: switch.turn_on\n    entity_id: switch.shelly_shsw_25_68796e_1  #luci salone 1\n  - service: switch.turn_on\n    entity_id: switch.shelly_shsw_25_68796e_2 #luci cucina 2\n  - service: notify.alexa_media\n    data:\n      target:\n      - media_player.nicolo_s_2nd_bose_home_speaker_500\n      data:\n        type: tts\n      message: >\n        '{{ [ \n        \"Luci di benvenuto attivate\",\n        \"Luci di benvenuto attive\",\n        \"Luci di cortesia attive\",\n        ] | random }}'\n  - service: notify.hassnico_bot\n    data_template:\n      message: '\"Qualcuno è tornato/a a casa e sono state accese le luci di benvenuto\"'\n\n- id: light-on-sunset\n  alias: Light on Sunset\n  initial_state: 'on'\n  trigger:\n    platform: sun\n    event: sunset\n    offset: \"-00:59:00\"\n  condition:\n    condition: state\n    entity_id: group.family\n    state: 'home'\n  action:\n  - service: homeassistant.turn_on\n    entity_id: switch.shelly_shsw_25_686d62_2\n  - service: notify.hassnico_bot\n    data:\n      message: Sunset - Lights ON at {{ states('sensor.date_time') }}\n  # - service: media_player.volume_set\n  #   data:\n  #     entity_id: media_player.nico_bose_home\n  #     volume_level: 0.3\n  - delay: 00:00:02\n  - service: notify.alexa_media\n    data:\n      target:\n      - media_player.nicolo_s_2nd_bose_home_speaker_500\n      data:\n        type: tts\n      message: >\n       '{{ [\n       \"Le luci sono state accese al tramonto\",\n       \"Casa era poco illuminata ed ho pensato di accendere le luci\",\n       \"Le luci sono state accese perchè era poco illuminato\",\n        ] | random }}'\n\n- id: notify-update\n  alias: Update Available Notifications\n  initial_state: 'on'\n  trigger:\n  - platform: state\n    entity_id: binary_sensor.updater\n    from: 'off'\n    to: 'on'\n  action:\n    service: notify.hassnico_bot\n    data:\n      message: Home Assistant {{ state_attr('binary_sensor.updater', 'newest_version') }} is available.\n\n- id: bad-logins\n  alias: Login Failure\n  initial_state: 'on'\n  trigger:\n    platform: template\n    value_template: \"{{ states('persistent_notification.httplogin') != 'authentication' }}\"\n  action:\n    service: notify.hassnico_bot\n    data:\n      message: Bad Login.. There was a Hack attempt! Go Check the GUI for details.\n\n- id: notify-today-chef\n  alias: Who Cook\n  initial_state: 'on'\n  trigger:\n    platform: state\n    entity_id: input_select.who_cooks\n  action:\n  - service: notify.hassnico_bot\n    data_template:\n      message: \"Today Cook {{ trigger.to_state.state }}\"\n\n- id: notify-nico-battery-low\n  alias: Nico Battery Low - Notification\n  initial_state: 'on'\n  trigger:\n  - platform: numeric_state\n    entity_id:\n    - sensor.batteria_telefono_nico\n    above: 0\n    below: 36\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Nico's Telephone is on low Battery at {{ states('sensor.date_time')\n        }}\n  - service: notify.hassnico_bot\n    data:\n      message: Nico's Telephone Battery Level is {{ states('sensor.batteria_telefono_nico')\n        }}%\n\n- id: notify-mamma-battery-low\n  alias: Mamma Battery Low - Notification\n  initial_state: 'on'\n  trigger:\n  - platform: numeric_state\n    entity_id:\n    - sensor.batteria_telefono_mamma\n    above: 0\n    below: 36\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Mom's Telephone is on low Battery at {{ states('sensor.date_time')\n        }}\n  - service: notify.hassnico_bot\n    data:\n      message: Mom's Telephone Battery Level is {{ states('sensor.batteria_telefono_mamma')\n        }}%\n\n- id: notify-hass-start\n  alias: Home Assistant Start - Notify\n  initial_state: 'on'\n  trigger:\n    platform: homeassistant\n    event: start\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Home Assistant Start at {{ states('sensor.date_time') }}\n  # - service: media_player.volume_set\n  #   data:\n  #     entity_id: media_player.nico_bose_home\n  #     volume_level: 0.3\n  - delay: 00:00:02\n  - service: notify.alexa_media\n    data:\n      target:\n      - media_player.nicolo_s_2nd_bose_home_speaker_500\n      data:\n        type: tts\n      message: >\n        '{{ [\n        \"Home Assistant è nuovamente disponibile\",\n        \"Home Assistant è operativo\",\n        \"Home assistant is back piccole bibbi\",\n        \"Sono nuovamente operativa\",\n        \"Signori e Signore Ladies and Gentlement Home assistant è nuovamente operativo\",\n        \"Home assistant è avviato\",\n        ] | random }}'\n  - service: recorder.purge\n    data:\n      keep_days: 7\n      repack: true\n  # - service: google_assistant.request_sync\n  # - service: notify.hassnico_bot\n  #   data:\n  #     message: Google Assistant Sync at {{ states('sensor.date_time') }}\n  - service: script.cast_on_kitchen\n\n\n- id: notify-hass-stop\n  alias: Home Assistant Stop - Notify\n  initial_state: 'on'\n  trigger:\n    platform: event\n    event_type: homeassistant_stop\n  action:\n    service: notify.hassnico_bot\n    data:\n      message: Home Assistant Stop at {{ states('sensor.date_time') }}\n\n- id: zone-mamma-home\n  alias: Mamma at Home - Notification\n  initial_state: 'on'\n  trigger:\n    platform: zone\n    event: enter\n    zone: zone.home\n    entity_id: device_tracker.mamma_mamma\n  action:\n    service: notify.hassnico_bot\n    data:\n      message: Mamma is at Home at {{ states('sensor.date_time') }}\n\n- id: zone-mamma-out-home\n  alias: Mamma Outside Home - Notification\n  initial_state: 'on'\n  trigger:\n    platform: zone\n    event: leave\n    zone: zone.home\n    entity_id: device_tracker.mamma_mamma\n  action:\n    service: notify.hassnico_bot\n    data:\n      message: Mamma is going out at {{ states('sensor.date_time') }}\n\n- id: zone-maria-home\n  alias: Maria at Home - Notification\n  initial_state: 'on'\n  trigger:\n    platform: state\n    entity_id: person.maria\n    from: not_home\n    to: home\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Maria is at Home {{ states('sensor.date_time') }}\n  - delay:\n      seconds: 30\n  # - service: media_player.volume_set\n  #   data:\n  #     entity_id: media_player.nico_bose_home\n  #     volume_level: 0.35\n  - delay: 00:00:02\n  - service: notify.alexa_media\n    data:\n      target:\n      - media_player.nicolo_s_2nd_bose_home_speaker_500\n      data:\n        type: tts\n      message: >\n        '{{ [ \n        \"Bentornata a casa Maria\",\n        \"Bentornata\",\n        \"Ciao Mascia\",\n        \"Sei bellissima oggi, è un piacere rivederti\",\n        \"Sono felice di rivederti\",\n        \"è un piacere averti qui\",\n        \"Un membro della gang è a casa\",\n        \"Welcome to the candy shop\",\n        \"Mascia finalmente sei a casa\",\n        \"Ci sei mancata Mascia, spero che la giornata sia andata bene\",\n        \"Sono felicissima di vederti Mascia, come stai?\",\n        \"La regina Mascia è a casa\",\n        \"Sua Maestà sono felicissima di rivederla\",\n        \"Mascia, stare qui non aveva senso senza di te. Ben Tornata!\",\n        ] | random }}'\n  # - service: rest_command.ss_home_on\n  # - service: rest_command.ss_preset_home\n  # - delay:\n  #     seconds: 10\n  # - service: rest_command.ss_preset_living\n  # - delay:\n  #     seconds: 10\n  # - service: rest_command.ss_preset_bedroom\n  # - delay:\n  #     seconds: 10\n  # - service: rest_command.ss_preset_home\n\n- id: zone-maria-out-home\n  alias: Maria Outside Home - Notification\n  initial_state: 'on'\n  trigger:\n    platform: state\n    entity_id: device_tracker.iphone\n    to: not_home\n    for: 00:05:00\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Maria is going out at {{ states('sensor.date_time') }}\n\n- id: zone-konstantin-home\n  alias: Konstantin at Home - Notification\n  initial_state: 'on'\n  trigger:\n    platform: state\n    entity_id: device_tracker.galaxy_s10e\n    from: not_home\n    to: home\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Konstantin is at Home {{ states('sensor.date_time') }}\n  - delay:\n      seconds: 30\n  # - service: media_player.volume_set\n  #   data:\n  #     entity_id: media_player.nico_bose_home\n  #     volume_level: 0.35\n  - delay: 00:00:02\n  - service: notify.alexa_media\n    data:\n      target:\n      - media_player.nicolo_s_2nd_bose_home_speaker_500\n      data:\n        type: tts\n      message: >\n        '{{ [ \n        \"Ciao Konstantin\",\n        \"Bentornato Konstantin\",\n        \"Ciao Konstantin\",\n        \"Ciao Costantino\",\n        ] | random }}'\n\n- id: zone-natascia-home\n  alias: Natascia at Home - Notification\n  initial_state: 'on'\n  trigger:\n    platform: state\n    entity_id: device_tracker.galaxy_note10\n    from: not_home\n    to: home\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Konstantin is at Home {{ states('sensor.date_time') }}\n  - delay:\n      seconds: 30\n  # - service: media_player.volume_set\n  #   data:\n  #     entity_id: media_player.nico_bose_home\n  #     volume_level: 0.35\n  - delay: 00:00:02\n  - service: notify.alexa_media\n    data:\n      target:\n      - media_player.nicolo_s_2nd_bose_home_speaker_500\n      data:\n        type: tts\n      message: >\n        '{{ [ \n        \"Ciao Natascia\",\n        \"Bentornata Natascia\",\n        ] | random }}'\n\n- id: zone-nico-home\n  alias: Nico at Home - Notification\n  initial_state: 'on'\n  trigger:\n    platform: zone\n    entity_id: person.nico\n    zone: zone.home\n    event: enter\n  condition:\n    condition: time\n    after: 07:00:00\n    before: '23:59:00'\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Nico is at Home at {{ states('sensor.date_time') }}\n  # - service: media_player.volume_set\n  #   data:\n  #     entity_id: media_player.echo_dot_di_nicolo\n  #     volume_level: 0.35\n  - delay: 00:00:03\n  - service: notify.alexa_media\n    data:\n      target:\n      - media_player.echo_dot_di_nicolo\n      data:\n        type: tts\n      message: > \n        '{{ [ \n        \"Nico è a casa di Mamma\",\n        \"Nico è arrivato da Mamma\",\n        \"Nico è andato a trovare la Mamma\",\n        \"Wooow, Rossella è felicissima di vedere Nico\",\n        \"Il boss è dalla mamma\",\n        ] | random }}'\n\n- id: zone-nico-out-home\n  alias: Nico is going out - Notification\n  initial_state: 'on'\n  trigger:\n    platform: zone\n    entity_id: device_tracker.sm_g950f\n    zone: zone.home\n    event: leave\n  condition:\n    condition: time\n    after: 07:00:00\n    before: '23:59:00'\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Nico is going out from Home at {{ states('sensor.date_time') }}\n\n- id: zone-nico-casetta\n  alias: Nico at Home - Notification\n  initial_state: 'on'\n  trigger:\n    platform: zone\n    entity_id: device_tracker.sm_g950f\n    zone: zone.casetta\n    event: enter\n  condition:\n    condition: time\n    after: 07:00:00\n    before: '23:59:00'\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Nico is at Casetta at {{ states('sensor.date_time') }}\n\n- id: zone-nico-casetta2\n  alias: Nico at Home 2 - Notification\n  initial_state: 'on'\n  trigger:\n    platform: state\n    entity_id: device_tracker.sm_g950f\n    from: not_home\n    to: home\n  action:\n  # - service: media_player.volume_set\n  #   data:\n  #     entity_id: media_player.nico_bose_home\n  #     volume_level: 0.3\n  - delay: 00:00:02\n  - service: notify.alexa_media\n    data:\n      target:\n      - media_player.nicolo_s_2nd_bose_home_speaker_500\n      data:\n        type: tts\n      message: >\n        '{{ [\n        \"Bentornato a casa Nico\",\n        \"Nico sei finalmente a casa\",\n        \"Si sente la differenza senza di te. Mi sei mancato\",\n        \"Ci sei mancato\",\n        \"Nico, ci sei mancato tantissimo\",\n        \"Nico, Siamo felicissimi di vederti\",\n        \"Ladies and Gentlement, Signori e Signore, Il boss è a casa\",\n         ] | random }}'\n  - service: rest_command.ss_home_on\n  - service: rest_command.ss_preset_home\n  - delay:\n      seconds: 10\n  - service: rest_command.ss_preset_living\n  - delay:\n      seconds: 10\n  - service: rest_command.ss_preset_bedroom\n  - delay:\n      seconds: 10\n  - service: rest_command.ss_preset_home\n\n- id: zone-nico-out-casetta\n  alias: Nico is going out - Notification\n  initial_state: 'on'\n  trigger:\n    platform: zone\n    entity_id: device_tracker.sm_g950f\n    zone: zone.casetta\n    event: leave\n  condition:\n    condition: time\n    after: 07:00:00\n    before: '23:59:00'\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Nico is going out from Casetta at {{ states('sensor.date_time') }}\n  - service: script.alexatraffic2\n  - service: rest_command.ss_preset_home\n  - delay:\n      seconds: 10\n  - service: rest_command.ss_preset_living\n  - delay:\n      seconds: 10\n  - service: rest_command.ss_preset_bedroom\n  - delay:\n      seconds: 10\n  - service: rest_command.ss_preset_home\n\n- id: zone-nico-dad-home\n  alias: Nico at Papa's Home - Notification\n  initial_state: 'on'\n  trigger:\n    platform: zone\n    event: enter\n    zone: zone.papa\n    entity_id: device_tracker.sm_g950f\n  action:\n    service: notify.hassnico_bot\n    data:\n      message: Nico is at Papa's Home at {{ states('sensor.date_time') }}\n\n- id: zone-nico-out-dad-home\n  alias: Nico leaving Papa's Home - Notification\n  initial_state: 'on'\n  trigger:\n    platform: zone\n    event: leave\n    zone: zone.papa\n    entity_id: device_tracker.sm_g950f\n  action:\n    service: notify.hassnico_bot\n    data:\n      message: Nico is going out from Papa's Home {{ states('sensor.date_time') }}\n\n- id: zone-nico-work\n  alias: Nico at Work - Notification\n  initial_state: 'on'\n  trigger:\n    platform: zone\n    event: enter\n    zone: zone.work\n    entity_id: device_tracker.sm_g950f\n  condition:\n    condition: time\n    after: 07:00:00\n    before: '20:00:00'\n    weekday:\n    - mon\n    - tue\n    - wed\n    - thu\n    - fri\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Nico at Work at {{ states('sensor.date_time') }}\n\n- id: zone-nico-work-tigre\n  alias: Nico at Work (Tigre) - Notification\n  initial_state: 'on'\n  trigger:\n    platform: zone\n    event: enter\n    zone: zone.tigre\n    entity_id: device_tracker.sm_g950f\n  condition:\n    condition: time\n    after: 07:00:00\n    before: '20:00:00'\n    weekday:\n    - mon\n    - tue\n    - wed\n    - thu\n    - fri\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Nico at Work at {{ states('sensor.date_time') }}\n\n- id: zone-nico-out-work\n  alias: Nico out from Work - Notification\n  initial_state: 'on'\n  trigger:\n    platform: zone\n    event: leave\n    zone: zone.work\n    entity_id: device_tracker.sm_g950f\n  condition:\n    condition: time\n    after: 07:00:00\n    before: '20:00:00'\n    weekday:\n    - mon\n    - tue\n    - wed\n    - thu\n    - fri\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Nico is going out from Work at {{ states('sensor.date_time') }}\n\n- id: zone-nico-out-tigre\n  alias: Nico out from Work (Tigre)) - Notification\n  initial_state: 'on'\n  trigger:\n    platform: zone\n    event: leave\n    zone: zone.tigre\n    entity_id: device_tracker.sm_g950f\n  condition:\n    condition: time\n    after: 07:00:00\n    before: '20:00:00'\n    weekday:\n    - mon\n    - tue\n    - wed\n    - thu\n    - fri\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Nico is going out from Work at {{ states('sensor.date_time') }}\n\n- id: notify-sunrise\n  alias: Notify on sunrise\n  initial_state: 'on'\n  trigger:\n    platform: sun\n    event: sunrise\n    offset: \"+00:00:00\"\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Beautiful sunrise!\n  - service: notify.hassnico_bot\n    data:\n      message: The sun is up. Wake Up! {{ states('sensor.date_time') }}\n\n\n- id: notify-sunset\n  alias: Notify on sunset\n  initial_state: 'on'\n  trigger:\n    platform: sun\n    event: sunset\n    offset: \"-00:59:00\"\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Beautiful sunset!\n  - service: notify.hassnico_bot\n    data:\n      message: Oh wow you really missed something great. {{ states('sensor.date_time')\n        }}\n  # - service: media_player.volume_set\n  #   data:\n  #     entity_id: media_player.nico_bose_home\n  #     volume_level: 0.3\n  - service: notify.alexa_media\n    data:\n      target:\n      - media_player.nicolo_s_2nd_bose_home_speaker_500\n      data:\n        type: tts\n      message: >\n        '{{ [ \n        \"C'è un tramonto meraviglioso oggi, affacciati alla finestra\",\n        \"Che ne pensi del tramonto di oggi? Non è Bellissimo?\",\n        ] | random }}'\n\n- id: pc-restart\n  alias: pc_restart\n  trigger:\n    platform: state\n    entity_id: input_select.pcoptions\n    to: Restart\n  action:\n  - service: shell_command.restart_pc\n  - service: notify.hassnico_bot\n    data:\n      message: PC Restart at {{ states('sensor.date_time') }}\n  # - service: media_player.volume_set\n  #   data:\n  #     entity_id: media_player.nico_bose_home\n  #     volume_level: 0.3\n  - service: script.alexascriptpcrestart\n\n- id: pc-shutdown\n  alias: pc_shutdown\n  trigger:\n    platform: state\n    entity_id: input_select.pcoptions\n    to: Shutdown\n  action:\n  - service: shell_command.shutdown_pc\n  - service: notify.hassnico_bot\n    data:\n      message: PC Shutdown at {{ states('sensor.date_time') }}\n  # - service: media_player.volume_set\n  #   data:\n  #     entity_id: media_player.nico_bose_home\n  #     volume_level: 0.3\n  - service: script.alexascriptpcoff\n\n\n- id: pc-sleep\n  alias: pc_sleep\n  trigger:\n    platform: state\n    entity_id: input_select.pcoptions\n    to: Sleep\n  action:\n  - service: shell_command.sleep_pc\n  - service: notify.hassnico_bot\n    data:\n      message: PC Sleep at {{ states('sensor.date_time') }}\n\n\n- id: pc-hibernate\n  alias: pc_hibernate\n  trigger:\n    platform: state\n    entity_id: input_select.pcoptions\n    to: Hibernate\n  action:\n  - service: shell_command.hibernate_pc\n  - service: notify.hassnico_bot\n    data:\n      message: PC Hibernated at {{ states('sensor.date_time') }}\n\n\n- id: TTS-flush-cache\n  alias: Flush TTS Cache\n  initial_state: 'on'\n  trigger:\n    platform: time\n    at: '2:35:00'\n  action:\n    service: tts.clear_cache\n\n- id: telegram-start\n  alias: Telegram Start Command\n  initial_state: 'on'\n  trigger:\n    platform: event\n    event_type: telegram_command\n    event_data:\n      command: /start\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: \"{{ [ \\\"Ciao, sono il tuo assistente di casa.. Ti elenco seguito la\\\n        \\ lista dei comandi disponibili\\\", \\\"Come posso esserti utile?\\\", \\\"Yes Sir!\\\"\\\n        , \\\"Se proprio insisti, questa è la lista dei comandi\\\", \\\"Aaaaa.. ancora\\\n        \\ qui?\\\", \\\"E' un piacere rivederti\\\" ] | random }}       \\n\"\n      data:\n        keyboard:\n        - /nico, /mamma\n        - /nicopcon, /nicopcoff, /nicopcreboot\n        - /ping, /camera\n        - /start, /cp\n\n- alias: Telegram_Bot_Stop\n  id: 26fb96b64f5240eea48a862116bbaf53\n  trigger:\n  - platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /stop\n  action:\n  - service: notify.hassnico_bot\n    data_template:\n      message: '*Control Panel*'\n      data:\n        inline_keyboard:\n        - 💡 Lights:/lights, 🚨 Security:/security\n        - 💻 System:/system, 💻 Status:/status, Help:/help, Ping:/ping\n        - 📄 Sommario:/Sommario, ☀ Weather:/weather\n        - Addons:/addons\n\n\n- id: telegram-camera-ss\n  alias: Camera command\n  initial_state: 'on'\n  trigger:\n    platform: event\n    event_type: telegram_command\n    event_data:\n      command: /camera\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: E1 Pro - Salone - Snapshot\n  - service: script.camera_snapshot\n\n- id: telegram-ha-restart\n  alias: Home Assistant restart\n  initial_state: 'on'\n  trigger:\n    platform: event\n    event_type: telegram_command\n    event_data:\n      command: /harestart\n  action:\n  - service: notify.alexa_media\n    data:\n      target:\n      - media_player.nicolo_s_2nd_bose_home_speaker_500\n      data:\n        type: tts\n      message: '{{ [ \"Home Assistant si sta riavviando\", \"Riavvio Home Assistant\",\n        \"Sto riavvando Home Assistant\", \"Riavvio Home Assistant\", ] | random }}'\n  - service: script.restart_ha\n  - service: notify.hassnico_bot\n    data:\n      message: HA - Restart - Triggered\n\n- id: telegram-nico-gps\n  alias: GPS Notify Nico\n  initial_state: 'on'\n  trigger:\n    platform: event\n    event_type: telegram_command\n    event_data:\n      command: /nico\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Nico GPS Position\n  - service: script.nico_gps_notify_telegram\n\n- id: telegram-mom-gps\n  alias: GPS Notify Mom\n  initial_state: true\n  trigger:\n    platform: event\n    event_type: telegram_command\n    event_data:\n      command: /mamma\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: Mom GPS Position\n  - service: script.mamma_gps_notify_telegram\n\n- id: telegram-ca-renew\n  alias: Certificate Renew\n  initial_state: 'on'\n  trigger:\n    platform: event\n    event_type: telegram_command\n    event_data:\n      command: /certificate\n  action:\n  - service: script.letsencrypt_renew\n\n- id: telegram-ping-pong\n  alias: Telegram bot that reply pong to ping\n  initial_state: true\n  trigger:\n    platform: event\n    event_type: telegram_command\n    event_data:\n      command: /ping\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: pong\n\n- id: telegram-nico-pc-on\n  alias: Telegram - Nico PC ON\n  initial_state: true\n  trigger:\n    platform: event\n    event_type: telegram_command\n    event_data:\n      command: /nicopcon\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: >\n        '{{ [\n        \"Il PC è stato accesso\",\n        \"Accendero il tuo PC nel piu breve tempo possibile!\",\n        \"Yes Sir! Accendo subito il PC\",\n        \"Aaaaa.. vuoi nuovamente che accendo il PC? Quanto rompi!\",\n        \"Hmmm.. ok dai ti accendo il PC\",\n        \"3.. 2.. 1.. ON\"\n        ] | random }}'\n  - service: switch.turn_on\n    entity_id: switch.nico_computer\n\n- id: telegram-nico-pc-off\n  alias: Telegram - Nico PC OFF\n  initial_state: true\n  trigger:\n    platform: event\n    event_type: telegram_command\n    event_data:\n      command: /nicopcoff\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: >\n        '{{ [\n        \"Il PC è stato Spento\",\n        \"Eddajee te lo spengooo\",\n        \"Yes Sir! Spengo subito il PC\",\n        \"Aaaaa.. vuoi nuovamente che spengo il PC? Quanto rompi!\",\n        \"Hmmm.. ok dai ti spengo il PC\",\n        \"3.. 2.. 1.. Off\",\n        ] | random }}'\n  - service: shell_command.shutdown_pc\n\n- id: telegram-nico-pc-reboot\n  alias: Telegram - Nico PC Reboot\n  initial_state: true\n  trigger:\n    platform: event\n    event_type: telegram_command\n    event_data:\n      command: /nicopcreboot\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: > \n        '{{ [\n        \"Il PC è stato Riavviato\",\n        \"Eddajee te lo riavvio\",\n        \"Yes Sir! Riavvio subito il PC\",\n        \"Aaaaa.. vuoi nuovamente che riavvio il PC? Quanto rompi!\",\n        \"Hmmm.. ok dai ti riavvio il PC\",\n        \"3.. 2.. 1.. Reboot\"\n        ] | random }}'\n  - service: shell_command.restart_pc\n\n- id: telegram-control-pannel-start\n  alias: Telegram Control Pannel Command\n  initial_state: 'on'\n  trigger:\n    platform: event\n    event_type: telegram_command\n    event_data:\n      command: /cp\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: \"{{ [ \\\"Home Assistant Status\\\", \\\"Control Panel\\\", \\\"Yes Sir!\\\", \\\"\\\n        Home Assistant Control Panel\\\", \\\"Pannello di controllo\\\" ] | random }}  \\\n        \\     \\n\"\n      data:\n        inline_keyboard:\n        - 💡 Lights:/lights, 🚨 Security:/security\n        - 💻 System:/system, ℹ Status:/status, Help:/help, Ping:/ping\n        - 📄 Sommario:/Sommario, ☀ Weather:/weather\n        - Addons:/addons\n\n- id: telegram-ik-ping-pong\n  alias: telegram ping pong\n  trigger:\n  - platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /ping\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: 'Callback received from {{ trigger.event.data.from_first }}. Message\n        id: {{ trigger.event.data.message.message_id }}. Data: {{ trigger.event.data.data\n        }} {{now().strftime(\"%H:%M:%S %Y-%m-%d\")}} Pong, Message from {{ trigger.event.data[\"user_id\"]\n        }}.'\n      show_alert: true\n\n- id: telegram-weather-info\n  alias: Weather Info\n  trigger:\n  - platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /weather\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Weather\n  - service: notify.hassnico_bot\n    data_template:\n      message: '{{ \"\\U00002600\" }} *Weather*:------------------------------------------------*Tempo*:   {{ states.sensor.dark_sky_summary_tmpl.state}}*Temp. Tomorrow Max/Min*:   {{ states.sensor.dark_sky_daytime_high_temperature_1d.state}}/{{\n        states.sensor.dark_sky_overnight_low_temperature_1d.state}} °C*Forecasts*:   {{ states.sensor.dark_sky_hourly_summary_tmpl.state}}'\n      data:\n        inline_keyboard:\n        - '{{ \"\\u21a9\\ufe0f\" }} Control Panel:/stop'\n\n- id: telegram-system-status\n  alias: System status\n  trigger:\n  - platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /status\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: System Status\n  - service: notify.hassnico_bot\n    data_template:\n      message: \"\\n{{ \\\"\\\\U0001F4BB\\\" }} *System*:\\n------------------------------------------------\\\n        \\        \\n*CPU Usage*:   {{ states.sensor.processor_use.state }} %\\n*CPU\\\n        \\ Up Time*:   {{ states.sensor.uptime.state }} h\\n*Last Reboot*:   {{ states.sensor.last_boot.state\\\n        \\ }}\\n*Temp CPU*:   {{ states.sensor.cpu_temp.state }} °C\\n*Free Memory*:\\\n        \\   {{ states.sensor.memory_free.state }} Mb\\n*Memory Used*:   {{ states.sensor.memory_usage_real.state\\\n        \\ }} %\\n  \"\n      data:\n        inline_keyboard:\n        - '{{ \"\\u21a9\\ufe0f\" }} Control Panel:/stop'\n\n- id: telegram-ik-security-alarm\n  alias: Telegram Alarm\n  trigger:\n  - platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /security\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Alarm control\n  - service: telegram_bot.edit_message\n    data_template:\n      message_id: last\n      chat_id: '{{ trigger.event.data.user_id }}'\n      message: '{% if is_state(\"input_boolean.burglar_alarm_door\", \"off\") %}Alarm\n        is OFF. {% else %}Alarm is ON. {% endif %} {% if is_state(\"input_boolean.away_scene\",\n        \"off\") %}Presence simulation is OFF. {% else %}Presence simulation is ON.\n        {% endif %}'\n      inline_keyboard:\n      - Away ON:/away_on, Away OFF:/away_off\n      - Alarm ON:/alarm_on, Alarm OFF:/alarm_off, Cancel:/cancel\n\n- alias: Want pizza?\n  id: e16c9ed3708b4ed988bd3768f1d6505b\n  trigger:\n    platform: time\n    at: '18:30:00'\n  condition:\n  - condition: state\n    entity_id: person.maria\n    state: home\n  - condition: state\n    entity_id: person.nico\n    state: not_home\n  action:\n  - service: telegram_bot.send_message\n    data_template:\n      title: Want pizza?\n      target: '{{ trigger.event.data.user_id }}'\n      #-189154344\n      message: You look like you are home alone. Should I order you a pizza?\n      inline_keyboard:\n      - Gimme Pizza:/gimmepizza\n      - No thanks:/nopizza\n\n\n- alias: No pizza\n  id: 00aea60bf4df41ea873af5bb00914bf9\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /nopizza\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Ok, no pizza then\n\n\n- alias: gimme pizza\n  id: 2664ed6ab9d04317a20914ac195ea623\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /gimmepizza\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: PIZZA TIME\n  - service: dominos.order\n    data:\n      order_entity_id: dominos.medium_pan\n\n\n- alias: Lights Actions\n  id: 395856c12a51458a8fcba2801af89a87\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /lights\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: What you want to do with Lights?\n  - service: telegram_bot.send_message\n    data_template:\n      title: Lights ON or OFF?\n      target: -189154344\n      message: Look like you want to turn on or off your lights. What you want to\n        do?\n      inline_keyboard:\n      - ALL ON:/lighton, Living ON:/Living_on, Bedroom ON:/bedroom_on\n      - ALL OFF:/lightoff, Living OFF :/Living_off, Bedroom OFF:/bedroom_off\n      - Kitchen ON:/kitchen_on, BathRoom ON:/bath_on\n      - Kitchen OFF:/kitchen_off, BathRoom OFF:/bath_off\n\n\n- alias: IK - Telegram - Light On\n  id: de9c96983e0249dca7ff6a383cf3fee5\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /lighton\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Lights ON\n  - service: switch.turn_on\n    data:\n      entity_id: group.lights\n\n\n- alias: IK - Telegram - Light Off\n  id: a385f2a51e974e7087abced292444f08\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /lightoff\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Lights OFF\n  - service: switch.turn_off\n    data:\n      entity_id: group.lights\n\n\n- alias: IK - Telegram - Living Light On\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /Living_on\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Living Lights ON\n  - service: switch.turn_on\n    data:\n      entity_id: group.living\n  id: 93819def968a4138a042b2c9914cdcab\n\n- alias: IK - Telegram - Living Light OFF\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /Living_off\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Living Lights OFF\n  - service: switch.turn_off\n    data:\n      entity_id: group.living\n  id: 4a791d4879af458caa18cdaf07396fb4\n\n- alias: IK - Telegram - Kitchen Light On\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /kitchen_on\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Kitchen Lights ON\n  - service: switch.turn_on\n    data:\n      entity_id: group.kitchen\n  id: d0db7a6136df4543a9cec7e48d3755e2\n\n- alias: IK - Telegram - Kitchen Light OFF\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /kitchen_off\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Kitchen Lights OFF\n  - service: switch.turn_off\n    data:\n      entity_id: group.kitchen  \n  id: c9d0f4d9d33e46eeb08bd93e09d79b51\n\n- alias: IK - Telegram - BedRoom Light On\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /bedroom_on\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: BedRoom Lights ON\n  - service: switch.turn_on\n    data:\n      entity_id: group.bedroom\n  id: a663b90a49864dfbb8e427077d0e7d38\n\n- alias: IK - Telegram - BedRoom Light OFF\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /bedroom_off\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: BedRoom Lights OFF\n  - service: switch.turn_off\n    data:\n      entity_id: group.bedroom\n  id: a73bc62c02204d9a9dc2acc57fb30f98\n\n- alias: IK - Telegram - BathRoom Light On\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /bath_on\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: BathRoom Lights ON\n  - service: switch.turn_on\n    data:\n      entity_id: group.bathroom\n  id: 84bbf8fc552e44b1841dd2d557baf6b1\n\n- alias: IK - Telegram - BathRoom Light OFF\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /bath_off\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: BathRoom Lights OFF\n  - service: switch.turn_off\n    data:\n      entity_id: group.bathroom\n  id: 82c1eddb9a694237bf7fbc5ee6581843\n\n- alias: HA System Actions\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /system\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: What actions you want to do on HA?\n  - service: telegram_bot.send_message\n    data_template:\n      title: HA System Actions\n      target: -189154344\n      message: Look like you want to do something about your Home Assistant istance..\n        What you want to do?\n      inline_keyboard:\n      - Check Config:/config, Automation Reload:/automreload\n      - SSL certificate:/ssl, SSL Renew:/sslrenew\n      - HA Restart:/harestart, Host Reboot:/hassioreboot\n  id: cd77f15bdc134091bb724ff88c2209f2\n\n- alias: IK - Telegram - Automation reload\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /automreload\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Automation Reload\n  - service: script.reload_automations\n  - service: notify.hassnico_bot\n    data:\n      message: Automation - Reload - Triggered\n  id: fe7953d2058449c3ac8151413c59c52d\n\n- alias: IK - Telegram - HA Restart\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /harestart\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: HA restart\n  - service: script.restart_ha\n  - service: notify.hassnico_bot\n    data:\n      message: HA - Restart - Triggered\n  id: 21923d7d73e64125b52f19622304c15e\n\n- alias: IK - Telegram - SSL Renew\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /sslrenew\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: SSL Renew\n  - service: script.letsencrypt_renew\n  - service: notify.hassnico_bot\n    data:\n      message: SSL - Renew - Triggered\n  id: 5023c18fd0cb4ec2bd4ab9b40b270bdd\n\n- alias: IK - Telegram - Host Reboot\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /hassioreboot\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Host Reboot\n  - service: hassio.host_reboot\n  - service: notify.hassnico_bot\n    data:\n      message: Host - Reboot - Triggered\n  id: 4095dcaa857646dda279642d3af178c3\n\n- alias: Addons Actions\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /addons\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: What you want to do with these addons?\n  - service: telegram_bot.send_message\n    data_template:\n      title: Addons\n      target: -189154344\n      message: Look like you want to turn on or off your Addons. What you want to\n        do?\n      inline_keyboard:\n      - Web SSH ON:/webssh_on, Pi-Hole ON:/pihole_on\n      - Web SSH OFF:/webssh_off, Pi-Hole OFF:/pihole_off\n      - IDE ON:/ide_on, LogViewer ON:/logview_on\n      - IDE OFF:/ide_off, LogViewer OFF:/logview_off\n      - NodeRed ON:/nodered_on, NodeRed OFF:/nodered__off\n  id: 881d4f591f03455e94096c5dd98a4318\n\n- alias: IK - Telegram - Addon SSH Web Start\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /webssh_on\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Addon SSH Web Start - Triggered\n  - service: hassio.addon_start\n    data:\n      addon: a0d7b954_ssh\n  - service: notify.hassnico_bot\n    data:\n      message: SSH Enabled... Web SSH is available at https://nico-casetta.duckdns.org:7681\n  id: 2bb0cd84615945419aaed0a414f64dd5\n\n- alias: IK - Telegram - Addon SSH Web Stop\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /webssh_off\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Addon SSH Web Stop - Triggered\n  - service: hassio.addon_stop\n    data:\n      addon: a0d7b954_ssh\n  - service: notify.hassnico_bot\n    data:\n      message: Addon SSH Web Stopped\n  id: 2c66fce6802d4be28ec41fe08123d8f0\n\n- alias: IK - Telegram - Addon  Log Viewer Start\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /logview_on\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Addon  Log Viewer Start - Triggered\n  - service: hassio.addon_start\n    data:\n      addon: a0d7b954_logviewer\n  - service: notify.hassnico_bot\n    data:\n      message: ' Log Viewer... Log Viewer is available at https://nico-casetta.duckdns.org:4277'\n  id: 417fccccf3ba4d4eafa4b8a23724689a\n\n- alias: IK - Telegram - Addon  Log Viewer Stop\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /logview_off\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Addon  Log Viewer Stop - Triggered\n  - service: hassio.addon_stop\n    data:\n      addon: a0d7b954_logviewer\n  - service: notify.hassnico_bot\n    data:\n      message: Addon  Log ViewerStopped\n  id: ea7b80b540ed4c5c8d0b2c7208ca8509\n\n- alias: IK - Telegram - Addon  Pi-Hole Start\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /logview_on\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Addon  Pi-Hole Start - Triggered\n  - service: hassio.addon_start\n    data:\n      addon: a0d7b954_pi-hole\n  - service: notify.hassnico_bot\n    data:\n      message: Pi-Hole is available at https://nico-casetta.duckdns.org:4277\n  \n  id: 42d79f34480347ada179654f3fd48eca\n- alias: IK - Telegram - Addon  Pi-Hole Stop\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /logview_off\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Addon  Pi-Hole Stop - Triggered\n  - service: hassio.addon_stop\n    data:\n      addon: a0d7b954_pi-hole\n  - service: notify.hassnico_bot\n    data:\n      message: Addon  Pi-Hole Stopped\n  \n  id: 7d27cedd571942178b4e3fad4dd99c3e\n- alias: IK - Telegram - Addon  IDE Start\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /ide_on\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Addon  IDE Start - Triggered\n  - service: hassio.addon_start\n    data:\n      addon: a0d7b954_ide\n  - service: notify.hassnico_bot\n    data:\n      message: IDE is available at https://nico-casetta.duckdns.org:4277\n  id: 093c013d0af544709a9dc40b406243ed\n\n- alias: IK - Telegram - Addon  IDE Stop\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /ide_off\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Addon  IDE Stop - Triggered\n  - service: hassio.addon_stop\n    data:\n      addon: a0d7b954_ide\n  - service: notify.hassnico_bot\n    data:\n      message: Addon  IDE Stopped\n  \n  id: e17e1bf050034ad789250d6c110ee881\n- alias: IK - Telegram - Addon  NodeRed Start\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /nodered_on\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Addon  NodeRed Start - Triggered\n  - service: hassio.addon_start\n    data:\n      addon: a0d7b954_nodered\n  - service: notify.hassnico_bot\n    data:\n      message: NodeRed is available at https://nico-casetta.duckdns.org:1880\n  \n  id: 74c5248c98f14ed0820ffe11bc3783a6\n- alias: IK - Telegram - Addon  NodeRed Stop\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /nodered_off\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Addon  NodeRed Stop - Triggered\n  - service: hassio.addon_stop\n    data:\n      addon: a0d7b954_nodered\n  - service: notify.hassnico_bot\n    data:\n      message: Addon  NodeRed Stopped\n  id: e15198a590af4101ac923b3787eb7d6c\n\n- alias: Help\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /help\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Help sections\n  - service: telegram_bot.send_message\n    data_template:\n      title: Help\n      target: -189154344\n      message: Look like you want to turn on or off your Addons. What you want to\n        do?\n      inline_keyboard:\n      - Info Service Port:/info\n  id: ef3df648d7f4471a820c96c0b31fb6f5\n\n- alias: IK - Telegram - Help Info\n  trigger:\n    platform: event\n    event_type: telegram_callback\n    event_data:\n      data: /info\n  action:\n  - service: telegram_bot.answer_callback_query\n    data_template:\n      callback_query_id: '{{ trigger.event.data.id }}'\n      message: Help info - Triggered\n  - service: notify.hassnico_bot\n    data_template:\n      message: \"\\n{{ \\\"\\\\U0001F4BB\\\" }} *Info*:\\n------------------------------------------------\\n\\\n        \\ \\n*HA*:   https://nico-casetta.duckdns.org:8123\\n \\n*SSH Web*:   https://nico-casetta.duckdns.org:7681\\n\\\n        \\ \\n*Log Viewer*:   https://nico-casetta.duckdns.org:4277\\n \\n*Node Red*: \\\n        \\  https://nico-casetta.duckdns.org:1880\\n \\n*Pi-Hole*:    https://nico-casetta.duckdns.org:4865\"\n      data:\n        inline_keyboard:\n        - '{{ \"\\u21a9\\ufe0f\" }} Control Panel:/stop'\n  id: 6da100a00b0c42f1ba097145a470185f\n\n- id: themes-sunset\n  alias: Random Darker Theme At Sunset\n  initial_state: true\n  trigger:\n    platform: sun\n    event: sunset\n  action:\n  - service: frontend.set_theme\n    data_template:\n      name: '{{ [\"darkcyan\", \"darkred\", \"midnight\", \"darkorange\", \"darkblue\", \"slate\",\n        \"amoled\", \"material_dark_green\", \"material_dark_pink\", \"ios-dark-mode\", \"noctis\"] | random  }}'\n\n- id: themes-sunrise\n  alias: Random Lighter Theme At Sunrise\n  initial_state: true\n  trigger:\n    platform: sun\n    event: sunrise\n  action:\n  - service: frontend.set_theme\n    data_template:\n      name: '{{ [\"default\", \"slate\", \"amoled\", \"clear\", \"oxfordblue\"] | random  }}'\n\n- id: log-level\n  alias: Log Level\n  trigger:\n    platform: state\n    entity_id: input_select.log_level\n  action:\n    service: logger.set_level\n    data_template:\n      homeassistant.components: '{{ trigger.to_state.state }}'\n\n- id: owntracks-refresh\n  alias: Owntracks Refresh\n  trigger:\n  - platform: time_pattern\n    minutes: /5\n    seconds: 0\n  action:\n    service: script.owntracks_update\n\n- id: family-coming-back\n  alias: Family Coming Back to Home\n  trigger:\n    platform: state\n    entity_id: group.family\n    to: home\n  action:\n  - delay:\n      seconds: 5\n  - service: notify.alexa_media\n    data:\n      target:\n      - media_player.nicolo_s_2nd_bose_home_speaker_500\n      data:\n        type: tts\n      message: '{{ [ \"Sono felice di rivedervi\", \"Bentornati a casa.\", ] | random\n        }}'\n  # - service: rest_command.ss_home_on\n  - service: notify.hassnico_bot\n    data:\n      message: >\n       '{{ [\n       \"Qualcuno è tornato a casa\",\n       \"Un Membro della gang è tornato a casa\",\n       \"Un Membro della famiglia è tornato a casa\",\n        ] | random }}'\n  - service: script.shutters_open_all\n\n- id: family-going-out\n  alias: Family Going Out\n  trigger:\n    platform: state\n    entity_id: group.family\n    to: not_home\n  action:\n  - delay:\n      seconds: 5\n  - service: notify.alexa_media\n    data:\n      target:\n      - media_player.nicolo_s_2nd_bose_home_speaker_500\n      data:\n        type: tts\n      message: '{{ [ \"Mi Dispiace che ve ne andate\", \"Spero di rivedervi presto\",\n        ] | random }}'\n  # - service: rest_command.ss_home_off\n  - service: notify.hassnico_bot\n    data:\n      message: >\n        '{{ [\n        \"Qualcuno è uscito da casa\",\n        \"Qualcuno è uscito da casa\",\n        ] | random }}'\n  - service: input_select.select_option\n    data:\n      entity_id: input_select.ac_state\n      option: Power Off\n  - service: cover.set_cover_position\n    data:\n      entity_id: cover.shelly_shsw_25_e6704f\n      position: 22\n  # - service: script.shutters_close_all\n  - service: switch.turn_off\n    data:\n      entity_id: group.lights\n\n#   id: 1ed32739e4b649659834ec85f0b01aa5\n# - alias: IFTTT - Test Notification Received\n#   initial_state: 'on'\n#   trigger:\n#     platform: event\n#     event_type: ifttt_webhook_received\n#     event_data:\n#       action: call_service\n#   action:\n#     service_template: '{{ trigger.event.data.service }}'\n#     data_template:\n#       entity_id: '{{ trigger.event.data.entity_id }}'\n  \n#   id: f467e5667918486eb2b4168be00e7151\n# - alias: IFTTT - Startup Notification\n#   initial_state: 'on'\n#   trigger:\n#     platform: homeassistant\n#     event: start\n#   action:\n#     service: ifttt.trigger\n#     data:\n#       event: HA_Start\n#       value1: Hello World!\n#   id: 8b228639aca84a4c8cfb52a558e78c45\n\n# - alias: IFTTT - Startup Notification two\n#   trigger:\n#     platform: homeassistant\n#     event: start\n#   action:\n#     service: script.ifttt_notify\n#     data_template:\n#       value1: 'HA Status:'\n#       value2: '{{ trigger.event.data.entity_id.split('_')[1] }} is '\n#       value3: '{{ trigger.event.data.to_state.state }}'\n\n- alias: 'Trigger alarm while armed away'\n  trigger:\n    - platform: state\n      entity_id: sensor.pir1\n      to: 'active'\n    - platform: state\n      entity_id: sensor.pir2\n      to: 'active'\n    - platform: state\n      entity_id: sensor.door\n      to: 'open'\n    - platform: state\n      entity_id: sensor.window\n      to: 'open'\n  condition:\n    - condition: state\n      entity_id: alarm_control_panel.ha_alarm\n      state: armed_away\n  action:\n    service: alarm_control_panel.alarm_trigger\n    entity_id: alarm_control_panel.ha_alarm\n  id: 7c7986eba7f94410b400ad0045ccbdfd\n\n- alias: 'Send notification when alarm triggered'\n  trigger:\n    - platform: state\n      entity_id: alarm_control_panel.ha_alarm\n      to: 'triggered'\n  action:\n    - service: notify.hassnico_bot\n      data:\n        message: \"ALARM! The alarm has been triggered\"\n  id: e3c9600df6f343e4ad010a7f900b49ab\n\n- alias: 'Disarm alarm when door unlocked by keypad'\n  trigger:\n    - platform: state\n      entity_id: sensor.front_door_lock_alarm_type\n      to: '19'\n      # many z-wave locks use Alarm Type 19 for 'Unlocked by Keypad'\n  action:\n    - service: alarm_control_panel.alarm_disarm\n      entity_id: alarm_control_panel.house_alarm\n  id: 57977b7dd37745728b3c4152539729ac\n\n- alias: 'Send notification when alarm is Disarmed'\n  trigger:\n    - platform: state\n      entity_id: alarm_control_panel.home_alarm\n      to: 'disarmed'\n  action:\n    - service: notify.hassnico_bot\n      data_template:\n        message: \"ALARM! The alarm is Disarmed at {{ states('sensor.date_time') }}\"\n  id: 00f3f26d34f44c50abbd18593c3bf3c3\n\n- alias: 'Send notification when alarm is in pending status'\n  trigger:\n    - platform: state\n      entity_id: alarm_control_panel.home_alarm\n      to: 'pending'\n  action:\n    - service: notify.hassnico_bot\n      data_template:\n        message: \"ALARM! The alarm is in pending status at {{ states('sensor.date_time') }}\"\n  id: 1e98346fd2a54596bf1dfbf642589a30\n\n- alias: 'Send notification when alarm is Armed in Away mode'\n  trigger:\n    - platform: state\n      entity_id: alarm_control_panel.home_alarm\n      to: 'armed_away'\n  action:\n    - service: notify.hassnico_bot\n      data_template:\n        message: \"ALARM! The alarm is armed in Away mode {{ states('sensor.date_time') }}\"\n  id: 838cf4d3b1c843e1a04b9faada033e85\n\n- alias: 'Send notification when alarm is Armed in Home mode'\n  trigger:\n    - platform: state\n      entity_id: alarm_control_panel.home_alarm\n      to: 'armed_home'\n  action:\n    - service: notify.hassnico_bot\n      data_template:\n        # Using multi-line notation allows for easier quoting\n        message: >\n          ALARM! The alarm is armed in Home mode {{ states('sensor.date_time') }}\n  id: d624aa68bbde45bcaa2c11c7a6ef40ed\n\n- alias: Weekly Backup Friday at 3 AM\n  initial_state: 'on'\n  trigger:\n    platform: time\n    at: 03:00:00\n  condition:\n  - condition: time\n    weekday:\n    - mon\n    - tue\n    - wed\n    - thu\n    - fri\n  action:\n  - service: hassio.snapshot_full\n    data_template:\n      name: Automated Backup {{ now().strftime('%Y-%m-%d') }}\n  - service: notify.hassnico_bot\n    data_template:\n      message: Creating backup named \"Automated Backup {{ now().strftime('%Y-%m-%d') }}\"\n  id: d316d840e9fd4ebdbc748b2419853558\n\n- alias: Weekly Backup to Google Friday at 3:30 AM\n  initial_state: 'on'\n  trigger:\n    platform: time\n    at: 03:30:00\n  condition:\n  - condition: time\n    weekday:\n    - mon\n    - tue\n    - wed\n    - thu\n    - fri\n  action:\n  - service: rest_command.google_backup\n  id: 4df385d2bced4f73adb6b7e872261e8f\n\n- alias: Earth Quake Alert\n  trigger:\n    platform: geo_location\n    source: usgs_earthquakes_feed\n    zone: zone.earth_quake_alert_zone\n    event: enter\n  condition:\n    condition: template\n    value_template: \"{{ trigger.to_state.attributes.type == 'earthquake' }}\"\n  action:\n  - service: persistent_notification.create\n    data_template:\n      message: \"{{ trigger.to_state.name }} - {{ trigger.to_state.attributes.status }}\"\n      title: Earth Quake Alert\n  - service: notify.hassnico_bot\n    data_template:\n      message: ALARM! Earth Quake Detected {{ states('sensor.date_time') }}\n  - service: hassio.addon_stdin\n    data_template:\n      addon: 89275b70_dss_voip\n      input:\n        call_sip_uri: sip:+393402703738@sip.voipcheap.com\n        message_tts: Allerta, E' stato registrato un Terremoto con intensità superiore a 4\n  id: 098391ffd0574f8babccb9fcb4083568\n\n- alias: Set Living Room Cover position\n  initial_state: 'on'\n  trigger:\n  - platform: state\n    entity_id: input_number.living_room_cover\n  action:\n  - service: cover.set_cover_position\n    entity_id: cover.shelly_shsw_25_e6704f\n    data:\n      position: \"{{ states('input_number.living_room_cover') | int }}\"\n  id: 140b23ad91dc4fb599916029df40042a\n\n- alias: Flood Sensor - Notification\n  id: e495de65acc84b3abad35bf92a9505fb\n  initial_state: 'on'\n  trigger:\n    platform: template\n    value_template: \"{{ is_state_attr('sensor.shelly_shwt_1_694834_flood', 'flood', 'true') }}\"\n  action:\n  - service: notify.hassnico_bot\n    data:\n      message: C'è una perdita d'acqua in magazzino\n  - service: media_player.volume_set\n    data:\n      entity_id: media_player.nicolo_s_2nd_bose_home_speaker_500\n      volume_level: 0.3\n  - delay: 00:00:20\n  - service: notify.alexa_media\n    data:\n      target:\n      - media_player.nicolo_s_2nd_bose_home_speaker_500\n      data:\n        type: tts\n      message: >\n        {{ [ \n        \"C'è una perdita d'acqua in magazzino controllare per terra vicino alla lavatrice\",\n        \"C'è una perdita d'acqua in magazzino controllare per terra vicino alla lavatrice\",\n        ] | random }}\n\n- id: nico-birthday-tomorrow\n  alias: Birthday Nico Tomorrow\n  initial_state: 'on'\n  trigger:\n  - platform: numeric_state\n    entity_id: sensor.birthday_nico\n    above: 0\n    below: 2\n  action:\n  - service: notify.hassnico_bot\n    data_template:\n      message: \"Domani è il compleanno di Nico\"\n  - service: notify.alexa_media\n    data:\n      target:\n      - media_player.nicolo_s_2nd_bose_home_speaker_500\n      data:\n        type: tts\n      message: >\n               {{ [\n                \"Domani è il compleanno di Nico\",\n                \"Domani è il compleanno di Nico\",\n                \"Domani è il compleanno di Nico\",\n                \"Domani è il compleanno di Nico\",\n                \"Domani è il compleanno di Nico\",\n               ] | random }}\n\n- id: nico-birthday-today\n  alias: Birthday Nico Today\n  initial_state: 'on'\n  trigger:\n  - platform: numeric_state\n    entity_id: sensor.birthday_nico\n    below: 1\n  - platform: time_pattern\n    hours: 08\n    minutes: /55\n    seconds: '00'\n  condition:\n    condition: and\n    conditions:\n    - condition: sun\n      before: sunset\n    - condition: sun\n      after: sunrise\n    - condition: numeric_state\n      entity_id: sensor.birthday_nico\n      below: 1\n  action:\n  - service: notify.hassnico_bot\n    data_template:\n      message: 'Oggi è il compleanno di Nico'\n  - service: script.alexascriptbirthday_ita\n\n- id: maria-birthday-tomorrow\n  alias: Birthday Maria Tomorrow\n  initial_state: 'on'\n  trigger:\n  - platform: numeric_state\n    entity_id: sensor.birthday_mascia\n    above: 0\n    below: 2\n  action:\n  - service: notify.hassnico_bot\n    data_template:\n      message: 'Domani è il compleanno di Nico'\n  - service: notify.alexa_media\n    data:\n      target:\n      - media_player.nicolo_s_2nd_bose_home_speaker_500\n      data:\n        type: tts\n      message: '{{ [ \n                \"Domani è il compleanno di Maria\",\n                \"Domani è il compleanno di Maria\",\n                ] | random }}'\n\n- id: maria-birthday-today\n  alias: Birthday Maria Today\n  initial_state: 'on'\n  trigger:\n  - platform: time_pattern\n    hours: 08\n    minutes: /55\n    seconds: '00'\n  condition:\n    condition: and\n    conditions:\n    - condition: sun\n      before: sunset\n    - condition: sun\n      after: sunrise\n    - condition: numeric_state\n      entity_id: sensor.birthday_mascia\n      below: 1\n  action:\n  - service: notify.hassnico_bot\n    data_template:\n      message: 'Oggi è il compleanno di Maria'\n  - service: script.alexascriptbirthday_ita\n\n- id: '157606988564489'\n  alias: Notification Test Weekly TTS\n  initial_state: 'on'\n  trigger:\n    platform: time\n    at: '20:00:00'\n  condition:\n    condition: time\n    weekday:\n    - mon\n    - tue\n    - wed\n    - thu\n    - fri\n  action:\n    - service: notify.alexa_media\n      data:\n        target: \n          - media_player.nicolo_s_2nd_bose_home_speaker_500\n          - media_player.echo_dot_di_nicolo\n        #title: \"My title for Echo show\"\n        data:\n          type: announce\n          #method: all\n        message: \"Questo è un test settimanale per il sistema di annunci Alexa.\"\n\n- id: '1576069885644898'\n  alias: Alexa Volume Quiet\n  initial_state: 'on'\n  trigger:\n    platform: time\n    at: '00:45:00'\n  condition:\n    condition: time\n    weekday:\n    - mon\n    - tue\n    - wed\n    - thu\n    - fri\n    - sat\n    - sun\n  action:\n    # - service: media_player.volume_set\n    #   data:\n    #     entity_id: media_player.nico_bose_home\n    #     volume_level: 0.1\n    - service: input_select.select_option\n      data:\n        entity_id: input_select.alexa_volume\n        option: Quiet\n\n- id: '1576069885644890'\n  alias: Alexa Volume Normal\n  initial_state: 'on'\n  trigger:\n    platform: time\n    at: '09:00:00'\n  condition:\n    condition: time\n    weekday:\n    - mon\n    - tue\n    - wed\n    - thu\n    - fri\n    - sat\n    - sun\n  action:\n    # - service: media_player.volume_set\n    #   data:\n    #     entity_id: media_player.nico_bose_home\n    #     volume_level: 0.2\n    - service: input_select.select_option\n      data:\n        entity_id: input_select.alexa_volume\n        option: Normal\n\n- id: '1576069885644899'\n  alias: Alexa Volume Movie\n  initial_state: 'on'\n  trigger:\n    platform: time\n    at: '20:00:00'\n  condition:\n    condition: time\n    weekday:\n    - mon\n    - tue\n    - wed\n    - thu\n    - fri\n    - sat\n    - sun\n  action:\n    # - service: media_player.volume_set\n    #   data:\n    #     entity_id: media_player.nico_bose_home\n    #     volume_level: 0.3\n    - service: input_select.select_option\n      data:\n        entity_id: input_select.alexa_volume\n        option: Movie\n\n- id: alexa-volume-quiet\n  alias: Alexa Volume Quiet - Notification\n  trigger:\n    platform: state\n    entity_id: input_select.alexa_volume\n    to: Quiet\n  action:\n  - service: media_player.volume_set\n    data:\n      entity_id: media_player.nico_bose_home\n      volume_level: 0.1\n  - service: media_player.volume_set\n    data:\n      entity_id: media_player.nicolo_s_2nd_bose_home_speaker_500\n      volume_level: 0.1\n  - service: media_player.volume_set\n    data:\n      entity_id: media_player.echo_dot_di_nicolo\n      volume_level: 0.2\n\n  - service: notify.hassnico_bot\n    data_template:\n      message: 'Alexa Volume is {{ trigger.to_state.state }}'\n\n- id: alexa-volume-normal\n  alias: Alexa Volume Normal - Notification\n  trigger:\n    platform: state\n    entity_id: input_select.alexa_volume\n    to: Normal\n  action:\n  - service: media_player.volume_set\n    data:\n      entity_id: media_player.nico_bose_home\n      volume_level: 0.2\n  - service: media_player.volume_set\n    data:\n      entity_id: media_player.nicolo_s_2nd_bose_home_speaker_500\n      volume_level: 0.2\n  - service: media_player.volume_set\n    data:\n      entity_id: media_player.echo_dot_di_nicolo\n      volume_level: 0.4\n  - service: notify.hassnico_bot\n    data_template:\n      message: 'Alexa Volume is {{ trigger.to_state.state }}'\n\n- id: alexa-volume-Movie\n  alias: Alexa Volume Movie - Notification\n  trigger:\n    platform: state\n    entity_id: input_select.alexa_volume\n    to: Movie\n  action:\n  - service: media_player.volume_set\n    data:\n      entity_id: media_player.nico_bose_home\n      volume_level: 0.3\n  - service: media_player.volume_set\n    data:\n      entity_id: media_player.nicolo_s_2nd_bose_home_speaker_500\n      volume_level: 0.3\n  - service: media_player.volume_set\n    data:\n      entity_id: media_player.echo_dot_di_nicolo\n      volume_level: 0.5\n  - service: notify.hassnico_bot\n    data_template:\n      message: 'Alexa Volume is {{ trigger.to_state.state }}'\n\n### Google cast ###\n\n\n- id: cast-to-hub\n  alias: Cast to Hub\n  trigger: \n    - platform: state\n      entity_id: media_player.cucina\n      to: 'idle'\n      for:\n        minutes: 1\n  action:\n    - service: script.cast_on_kitchen\n\n- id: cast-to-hub2\n  alias: Cast to Hub\n  trigger: \n    - platform: state\n      entity_id: media_player.cucina\n      to: 'on'\n      for:\n        minutes: 1\n  action:\n    - service: script.cast_on_kitchen\n\n\n- id: energy-tarrif\n  alias: Tariff Energy\n  trigger:\n    - platform: time\n      at: '07:00:00'\n    - platform: time\n      at: '19:00:00'\n  action:\n    - service: utility_meter.next_tariff\n      entity_id: utility_meter.daily_energy\n    - service: utility_meter.next_tariff\n      entity_id: utility_meter.monthly_energy\n\n\n# ###################################\n# #### Air conditioner Routines #####\n# ###################################\n\n# ### AC Power Off Routine and Self Shutdown\n\n- id: ac-state-shutdown\n  alias: AC state Shutdown\n  initial_state: 'on'\n  trigger:\n  - platform: state\n    entity_id:\n    - switch.air\n    - switch.air2\n    - switch.air3\n    to: 'off'\n  action:\n  - service: input_select.select_option\n    data:\n      entity_id: input_select.ac_state\n      option: Power Off\n\n- id: ac-self-shutdown\n  alias: AC Self Shutdown\n  initial_state: 'on'\n  trigger:\n  - platform: state\n    entity_id:\n    - switch.air\n    - switch.air2\n    to: 'on'\n    for: 03:00:00\n  - platform: state\n    entity_id:\n    - switch.air3\n    to: 'on'\n    for: 03:00:00\n  action:\n  - service: input_select.select_option\n    data:\n      entity_id: input_select.ac_state\n      option: Power Off\n  - service: switch.turn_off\n    data_template:\n      entity_id: ' {{ trigger.entity_id }} '\n  - service: notify.hassnico_bot\n    data_template:\n      #message: \"{{ trigger.to_state.attributes.friendly_name }} just changed from {{ trigger.to_state.state }} to {{ trigger.from_state.state }} - AC Self Shutdown Notify\"\n      message: '\"Self Shutdown Notify - {{ trigger.to_state.attributes.friendly_name }} just changed from\n        {{ trigger.to_state.state }} to {{ trigger.from_state.state }}.\"'\n  - delay: 00:00:03\n  - service: notify.alexa_media\n    data:\n      target:\n      - media_player.nicolo_s_2nd_bose_home_speaker_500\n      data:\n        type: tts\n      message: >\n         {{ [\n         \"Risparmio Energetico attivato, ora spengo il condizionatore\",\n         \"L'aria condizionata è stata spenta automaticamente\",\n         \"Risparmio energetico attivo, spengo il condizonatore\",       \n         ] | random }}\n\n- id: scene-ac-power-off\n  alias: AC Scene Power Off - Notification\n  trigger:\n    platform: state\n    entity_id: input_select.ac_state\n    to: Power Off\n  action:\n  - service: switch.turn_off\n    entity_id: switch.air2\n  - delay:\n      seconds: 10\n  - service: switch.turn_off\n    entity_id: switch.air\n  - delay:\n      seconds: 10\n  - service: switch.turn_off\n    entity_id: switch.air3\n  - service: notify.hassnico_bot\n    data_template:\n      message: 'AC is on Mode: {{ trigger.to_state.state }}'\n  - service: notify.hassnico_bot\n    data:\n      message: L'aria condizionata è stata Spenta (Power Off Mode)\n  # - service: notify.alexa_media\n  #   data:\n  #     target:\n  #     # - media_player.nico_bose_home\n  #     - media_player.nicolo_s_2nd_bose_home_speaker_500\n  #     data:\n  #       type: tts\n  #     message: >\n  #      {{ [\n  #      \"Ho spento l'aria condizionata\",\n  #      \"L'aria condizionata è stata spenta\",\n  #      ] | random }}\n\n- id: ac-status-change-to-off\n  alias: AC Status Change to OFF\n  trigger:\n    platform: state\n    entity_id:\n    - switch.air\n    - switch.air2\n    - switch.air3\n    to: 'off'\n  action:\n  - service: input_select.select_option\n    data:\n      entity_id: input_select.ac_state\n      option: Power Off\n  - service: notify.hassnico_bot\n    data_template:\n      message: '\"Status Change Notify - {{ trigger.to_state.attributes.friendly_name }} just changed from\n        {{ trigger.to_state.state }} to {{ trigger.from_state.state }}.\"'\n\n#### AC Spring Routine ###\n\n- id: scene-spring-high-temperature-notify\n  alias: AC Spring High temperature - Notification\n  initial_state: 'on'\n  trigger:\n    - platform: numeric_state\n      entity_id: sensor.termosifone_cucina_temperature\n      above: 23\n    # - platform: time\n    #   at: \"09:00:00\"\n    - platform: time_pattern\n    # You can also match on interval. This will match every 30 minutes\n      minutes: \"/15\"\n  condition:\n    # - condition: template\n    #   value_template: \"{{ is_state('sensor.season', 'spring') }}\"\n    - condition: state\n      entity_id: sensor.season\n      state: 'spring'\n    - condition: numeric_state\n      entity_id: 'sensor.shelly_shem_b9ee2d_1_current_consumption'\n      below: 2000\n    - condition: state\n      entity_id: group.family\n      state: home\n    - condition: numeric_state\n      entity_id: sensor.indice_thom_salone\n      above: 23\n    - condition: time\n      after: '08:00:00'\n      before: '22:00:00'\n      weekday:\n      - mon\n      - tue\n      - wed\n      - thu\n      - fri\n      - sat\n      - sun\n  action:\n  - service: input_select.select_option\n    data:\n      entity_id: input_select.ac_state\n      option: Spring\n\n- id: scene-spring-low-temperature-notify\n  alias: AC Spring low temperature - Notification\n  initial_state: 'on'\n  trigger:\n    - platform: numeric_state\n      entity_id: sensor.indice_thom_salone\n      below: 21\n    # - platform: time\n    #   at: \"09:00:00\"\n    - platform: time_pattern\n    # You can also match on interval. This will match every 30 minutes\n      minutes: \"/30\"\n  condition:\n    condition: and\n    conditions:\n      - condition: not\n        conditions:\n        - condition: state\n          entity_id: input_select.ac_mode\n          state: 'Manual'\n      - condition: and\n        conditions:\n        - condition: template\n          value_template: \"{{ is_state('sensor.season', 'spring') }}\"\n        - condition: numeric_state\n          entity_id: 'sensor.shelly_shem_b9ee2d_1_current_consumption'\n          below: 2000\n        - condition: state\n          entity_id: group.family\n          state: home\n        - condition: numeric_state\n          entity_id: sensor.indice_thom_salone\n          above: 23\n        - condition: time\n          after: '08:00:00'\n          before: '22:00:00'\n          weekday:\n          - mon\n          - tue\n          - wed\n          - thu\n          - fri\n          - sat\n          - sun\n  action:\n  - service: input_select.select_option\n    data:\n      entity_id: input_select.ac_state\n      option: Power Off\n  - service: notify.hassnico_bot\n    data:\n      message: E' Stata raggiunta la soglia di benessere dell'indicatore Thom (Spring Mode)\n\n\n- id: scene-ac-spring\n  alias: AC Scene Spring - Notification\n  trigger:\n    platform: state\n    entity_id: input_select.ac_state\n    to: Spring\n  action:\n  - service: switch.turn_on\n    entity_id: switch.air2\n  - delay:\n      seconds: 10\n  - service: switch.turn_on\n    entity_id: switch.air2\n  - service: notify.hassnico_bot\n    data_template:\n      message: 'AC is on Spring Mode: {{ trigger.to_state.state }}'\n  - service: notify.hassnico_bot\n    data:\n      message: L'aria condizionata è stata attiva in Salotto (Spring Mode)\n  - service: notify.hassnico_bot\n    data:\n      message: La temperatura ha superato il limite prefissato di 27 gradi (Spring Mode)\n  - service: notify.alexa_media\n    data:\n      target:\n      # - media_player.nico_bose_home\n      - media_player.nicolo_s_2nd_bose_home_speaker_500\n      data:\n        type: tts\n      message: >\n       {{ [\n       \"Ho notato che in Salone fa troppo caldo. Accendo l'aria condizionata per rinfrascarre l'aria\",\n       \"Mamma mia che caldo, accendo l'aria condizionata\",       \n       ] | random }}\n\n\n\n#### AC Summer Routine ###\n\n# - id: scene-summer-high-temperature-notify\n#   alias: AC Summer High temperature - Notification\n#   initial_state: 'on'\n#   trigger:\n#     - platform: numeric_state\n#       entity_id: sensor.indice_thom_salone\n#       above: 23\n#     # - platform: time\n#     #   at: \"08:00:00\"\n#     - platform: time_pattern\n#     # You can also match on interval. This will match every 30 minutes\n#       minutes: \"/30\"\n#   condition:\n#     # - condition: template\n#     #   value_template: \"{{ is_state('sensor.season', 'summer') }}\"\n#     - condition: state\n#       entity_id: sensor.season\n#       state: 'summer'\n#     - condition: numeric_state\n#       entity_id: 'sensor.shelly_shem_b9ee2d_1_current_consumption'\n#       below: 2000\n#     - condition: state\n#       entity_id: group.family\n#       state: home\n#     - condition: numeric_state\n#       entity_id: sensor.indice_thom_salone\n#       above: 23\n#     - condition: time\n#       after: '08:00:00'\n#       before: '22:00:00'\n#       weekday:\n#       - mon\n#       - tue\n#       - wed\n#       - thu\n#       - fri\n#       - sat\n#       - sun\n#   action:\n#   - service: input_select.select_option\n#     data:\n#       entity_id: input_select.ac_state\n#       option: Summer\n\n- id: scene-summer-high-temperature-notify\n  alias: AC Summer High temperature - Notification\n  initial_state: 'on'\n  trigger:\n    - platform: numeric_state\n      entity_id: sensor.indice_thom_salone\n      above: 23\n    - platform: time_pattern\n      minutes: \"/5\"\n  condition:\n    condition: and\n    conditions:\n      - condition: not\n        conditions:\n        - condition: state\n          entity_id: input_select.ac_mode\n          state: 'Manual'\n      - condition: and\n        conditions:\n        - condition: state\n          entity_id: sensor.season\n          state: 'summer'\n        - condition: numeric_state\n          entity_id: 'sensor.shelly_shem_b9ee2d_1_current_consumption'\n          below: 2000\n        - condition: state\n          entity_id: group.family\n          state: home\n        - condition: numeric_state\n          entity_id: sensor.indice_thom_salone\n          above: 23\n        - condition: time\n          after: '06:00:00'\n          before: '22:00:00'\n          weekday:\n          - mon\n          - tue\n          - wed\n          - thu\n          - fri\n          - sat\n          - sun\n  action:\n  - service: input_select.select_option\n    data:\n      entity_id: input_select.ac_state\n      option: Summer\n\n\n- id: scene-summer-low-temperature-notify\n  alias: AC Summer low temperature - Notification\n  initial_state: 'on'\n  trigger:\n    - platform: numeric_state\n      entity_id: 'sensor.indice_thom_salone'\n      below: 22\n    - platform: time\n      at: \"08:00:00\"\n  condition:\n    - condition: template\n      value_template: \"{{ is_state('sensor.season', 'summer') }}\"\n    - condition: state\n      entity_id: group.family\n      state: home\n    - condition: numeric_state\n      entity_id: 'sensor.indice_thom_salone'\n      below: 22\n    - condition: time\n      after: '08:00:00'\n      before: '22:00:00'\n      weekday:\n      - mon\n      - tue\n      - wed\n      - thu\n      - fri\n      - sat\n      - sun\n  action:\n  - service: input_select.select_option\n    data:\n      entity_id: input_select.ac_state\n      option: Power Off\n  - service: notify.hassnico_bot\n    data:\n      message: E' Stata raggiunta la soglia di benessere dell'indicatore Thom (Summer Mode)\n\n\n- id: scene-ac-summer\n  alias: AC Scene Summer - Notification\n  trigger:\n    platform: state\n    entity_id: input_select.ac_state\n    to: Summer\n  action:\n  - service: switch.turn_on\n    entity_id: switch.air2\n  - delay:\n      seconds: 10\n  - service: switch.turn_on\n    entity_id: switch.air2\n  - service: notify.hassnico_bot\n    data_template:\n      message: 'AC is on summer Mode: {{ trigger.to_state.state }}'\n  - service: notify.hassnico_bot\n    data:\n      message: L'aria condizionata è stata attiva in Salotto (Summer Mode)\n  # - service: notify.alexa_media\n  #   data:\n  #     target:\n  #     # - media_player.nico_bose_home\n  #     - media_player.nicolo_s_2nd_bose_home_speaker_500\n  #     data:\n  #       type: tts\n  #     message: >\n  #      {{ [\n  #      \"Ho notato che in Salone fa troppo caldo. Accendo l'aria condizionata per rinfrascarre l'aria\",\n  #      \"Che caldo, accendo l'aria condizionata\",       \n  #      ] | random }}\n"
  },
  {
    "path": "camera.yaml",
    "content": "- platform: onvif\n  host: 1.1.1.1\n  username: !secret e1user\n  password: !secret e1pwd\n  port: 5000\n\n- platform: generic\n  still_image_url: https://www.autostrade.it/autostrade-gis/popupVideocam.do?tlc=3141\n  name: PGeneric\n \n- platform: mjpeg\n  mjpeg_url: https://www.autostrade.it/autostrade-gis/popupVideocam.do?tlc=3141\n  name: Pmjpeg\n  \n- platform: generic\n  still_image_url: http://api.sat24.com/animated/IT/visual/1/Central%20European%20Standard%20Time/2380259'%20width=400%20height=291\n  name: Rome\n- platform: generic\n  name: Nico\n  still_image_url: https://maps.googleapis.com/maps/api/staticmap?center={{states.device_tracker.nico_nico.attributes.latitude}},{{states.device_tracker.nico_nico.attributes.longitude}}&zoom=15&size=500x500&maptype=roadmap&markers=color:blue%7Clabel:P%7C{{states.device_tracker.nico_nico.attributes.latitude}},{{states.device_tracker.nico_nico.attributes.longitude}}&keyYOURAPIKEY   \n  limit_refetch_to_url_change: true\n- platform: generic\n  name: Mamma\n  still_image_url: https://maps.googleapis.com/maps/api/staticmap?center={{states.device_tracker.mamma_mamma.attributes.latitude}},{{states.device_tracker.mamma_mamma.attributes.longitude}}&zoom=15&size=500x500&maptype=roadmap&markers=color:blue%7Clabel:P%7C{{states.device_tracker.mamma_mamma.attributes.latitude}},{{states.device_tracker.mamma_mamma.attributes.longitude}}&keyYOURAPIKEY\n  limit_refetch_to_url_change: true\n- platform: generic\n  name: ISS\n  still_image_url: https://maps.googleapis.com/maps/api/staticmap?center={{states.binary_sensor.iss.attributes.lat}},{{states.binary_sensor.iss.attributes.long}}&zoom=3&size=500x500&maptype=roadmap&markers=color:blue%7Clabel:P%7C{{states.binary_sensor.iss.attributes.lat}},{{states.binary_sensor.iss.attributes.long}}&keyYOURAPIKEY \n  limit_refetch_to_url_change: true"
  },
  {
    "path": "configuration.yaml",
    "content": "####################################################\n#                                                  #\n#                Default Config                    #\n#                                                  #\n####################################################\n# https://www.home-assistant.io/integrations/default_config/\n# Configure a default setup of Home Assistant (frontend, api, etc)\n#default_config:\nperson:\nupdater:\nzone:\nzeroconf:\nsystem_health:\nsun:\nssdp:\nmap:\nlogbook:\nconfig:\nhistory:\nlogger:\n  default: info\n\n####################################################\n#                                                  #\n#                   CUSTOMIZING                    #\n#                                                  #\n####################################################\n# https://www.home-assistant.io/docs/configuration/customizing-devices/\n#https://home-assistant.io/docs/configuration/basic/\nhomeassistant:\n  auth_providers: \n   - type: homeassistant\n   #- type: legacy_api_password\n   - type: trusted_networks\n     trusted_networks:\n       - 127.0.0.1\n       - ::1\n       - fd00::/8\n  name: !secret name\n  temperature_unit: C\n  time_zone: !secret timezone\n  latitude: !secret latitude\n  longitude: !secret longitude\n  unit_system: metric\n  elevation: 47\n  customize: !include customize.yaml\n  customize_glob: !include customize_glob.yaml\n  packages: !include_dir_named packages\n  whitelist_external_dirs:\n    - /config\n\n####################################################\n#                                                  #\n#                     HTTP                         #\n#                                                  #\n####################################################\n# https://www.home-assistant.io/integrations/http/\nhttp:\n  #base_url: https://nomescelto.duckdns.org:8123\n  ssl_certificate: /ssl/fullchain.pem\n  ssl_key: /ssl/privkey.pem\n  ip_ban_enabled: True\n  login_attempts_threshold: 5\n\n####################################################\n#                                                  #\n#                     TTS                          #\n#                                                  #\n####################################################\n# https://www.home-assistant.io/integrations/tts/\n# Text to speech\ntts:\n  - platform: google_translate\n\n####################################################\n#                                                  #\n#                  Groups                          #\n#                                                  #\n####################################################\n# https://www.home-assistant.io/integrations/mobile_app/\ngroup: !include groups.yaml\n\n####################################################\n#                                                  #\n#                  Automations                     #\n#                                                  #\n####################################################\n# https://www.home-assistant.io/integrations/automation/\nautomation: !include automations.yaml\n\n####################################################\n#                                                  #\n#                  Scripts                         #\n#                                                  #\n####################################################\n# https://www.home-assistant.io/integrations/script/\nscript: !include scripts.yaml\n\n####################################################\n#                                                  #\n#                   Scene                          #\n#                                                  #\n####################################################\n# https://www.home-assistant.io/integrations/scene/\nscene: !include scenes.yaml\n\n\n####################################################\n#                                                  #\n#                  Mobile APP                      #\n#                                                  #\n####################################################\n# https://www.home-assistant.io/integrations/mobile_app/\nmobile_app:\n\n####################################################\n#                  Dev Tracker                     #\n#                                                  #\n#                                                  #\n####################################################\n# https://www.home-assistant.io/integrations/device_tracker/\ndevice_tracker: !include device_tracker.yaml\n\n####################################################\n#                  Dev Tracker                     #\n#                   Owntracks                      #\n#                                                  #\n####################################################\n# https://www.home-assistant.io/integrations/owntracks/\n# Disable cause enabled in Integrations\n# owntracks:\n#   max_gps_accuracy: 200\n\n####################################################\n#                                                  #\n#                   Camera                         #\n#                                                  #\n####################################################\n# https://www.home-assistant.io/integrations/camera/\ncamera: !include camera.yaml\n\n####################################################\n#                                                  #\n#                   MQTT                           #\n#                                                  #\n####################################################\n# https://www.home-assistant.io/integrations/mqtt/\n# Disable cause enabled from integrations\n# mqtt: !include mqtt.yaml\n\n####################################################\n#                                                  #\n#               Frontend/Themes                    #\n#                                                  #\n####################################################\nfrontend:\n  extra_module_url:\n    - /hacsfiles/custom-sidebar/custom-sidebar.js\n  #themes: !include themes.yaml\n  themes: !include_dir_merge_named themes\n\n\n####################################################\n#                                                  #\n#              Input Slider and Boolean            #\n#                                                  #\n####################################################\n\n#input_boolean: !include_dir_merge_named input_boolean\ninput_select: !include_dir_merge_named input_select\ninput_number: !include_dir_merge_named input_number\n\n\n\nnotify: !include notify.yaml\ntelegram_bot:\n   - platform: polling\n     api_key: !secret telegram_apikey\n     #trusted_networks:\n      #- 149.154.167.197/32\n      #- 149.154.167.198/31\n      #- 149.154.167.200/29\n      #- 149.154.167.208/28\n      #- 149.154.167.224/29\n      #- 149.154.167.232/31\n     allowed_chat_ids:\n       - !secret telegram_clientid\n       - !secret telegram_clientid2\n\n\nsensor: !include sensor.yaml\n\n\n####################################################\n#                                                  #\n#                   Recorder                       #\n#                                                  #\n####################################################\n\nrecorder:\n   db_url: !secret dburl\n   purge_keep_days: 30   \n   commit_interval: 60\n   exclude:\n    domains:\n      #- automation\n      - weblink\n      - updater\n      - sensor\n      - binary_sensor\n      - zone\n      - sun\n      - camera\n      - media_player\n      - switch\n      - mqtt\n      - calendar\n      - frontend\n    entities:\n      - sensor.date\n      - sun.sun\n      - weather.dark_sky      \n   include:\n    entities:\n      - cover.shelly_shsw_25_e6704f\n      - switch.shelly_shsw_25_68796e_1\n      - switch.shelly_shsw_25_68796e_2\n      - switch.shelly_shsw_25_686d62_1\n      - switch.shelly_shsw_25_686d62_2\n      - switch.shelly_shsw_25_687269_1\n      - switch.shelly_shsw_25_687269_2\n      - switch.shelly_shsw_25_e5e601_1\n      - switch.shelly_shsw_25_e5e601_2\n      - switch.shelly_shplg_s_041a07\n      - switch.shelly_shplg_s_0409b4\n      - switch.air\n      - switch.air2\n      - switch.air3\n      - switch.nico_computer\n      - switch.shelly_shplg_s_7a33ff\n      - switch.fritz_box_guest_wifi\n      - switch.shelly_shplg_s_041a76\n      - switch.ciabatta_rack_fritz_dect_200_1\n      - switch.presa_rasp_pi3_fritz_dect_200_2       \n      - switch.shelly_shplg_s_04169c\n      - switch.shelly_shplg_s_5b2502\n      - sensor.shelly_shwt_1_694834_flood\n      - sensor.shelly_shwt_1_694834_temperature\n      - sensor.potenza_istantanea\n      - sensor.batteria_telefono_nico\n      - sensor.batteria_telefono_mamma\n      - sensor.processor_use\n      - sensor.shelly_flood_battery\n      - device_tracker.nico_nico\n      - device_tracker.mamma_mamma\n      - sensor.living_room_humidity\n      - sensor.living_room_temperature\n      - sensor.kitchen_humidity\n      - sensor.kitchen_temperature\n      - sensor.bedroom_humidity\n      - sensor.bedroom_temperature\n      - sensor.cpu_temp\n      - sensor.ssl_certificate_expiry\n      - sensor.shelly_shem_b9ee2d_1_current_consumption\n      - sensor.termosifone_cucina_temperature\n      - sensor.termosifone_notte_temperature \n      - sensor.termosifone_salone_temperature\n      - sensor.termosifone_salone_humidity\n      - sensor.termosifone_notte_humidity\n      - sensor.termosifone_cucina_humidity\n      - sensor.shelly_shem_b9ee2d_1_total_consumption_attr\n      - input_datetime.start_night\n      - sensor.command_sensor\n      - sensor.energy_spent\n      - sensor.indice_thom_salone\n      - sensor.indice_thom_cucina\n      - sensor.indice_thom_camera\n\nshelly:\n  discovery: true  #add all devices (default)\n  username: !secret shellyuser\n  password: !secret shellypwd\n  sensors:\n    - all\n  attributes:\n    - all\n  cloud_auth_key: !secret shellycloudapi\n  cloud_server: !secret shellycloudserver\n\n\n####################################################\n#                                                  #\n#                     ALEXA                        #\n#                                                  #\n####################################################\n# alexa_media:\n#   accounts:\n#     - email: !secret amazonemail\n#       password: !secret amazonpwd\n#       #url: !secret amazonurl\n#       url: !secret amazonurl_it\n#       scan_interval: 30\n      #debug: true\n      #exclude_devices:\n      #- \"This Device\"\n      #- \"nicolo's Alexa Apps\"\n      #- \"nicolo's bose home speaker 500\"\n      #- \"echo dot di nicolo\"\n      #- \"salotto\"\n\n\n####################################################\n#                                                  #\n#             Lovelace/CustomUpdater               #\n#                                                  #\n####################################################\n\n#https://www.home-assistant.io/lovelace/yaml-mode/\nlovelace:\n  mode: yaml\n  resources:\n    - url: /local/monster-card.js   \n      type: js \n    - url: /local/custom-lovelace/weather-card/weather-card.js \n      type: module \n    - url: /local/plugins/card-tools.js\n      type: js\n    - url: /hacsfiles/plan-coordinates/plan-coordinates.js \n      type: js   \n    - url: /hacsfiles/atomic_calendar/atomic_calendar.js     \n      type: module\n    - url: /hacsfiles/atomic-calendar-revive/atomic-calendar-revive.js     \n      type: module\n    - url: /hacsfiles/mini-media-player/mini-media-player-bundle.js\n      type: module \n    - url: /hacsfiles/mini-graph-card/mini-graph-card-bundle.js \n      type: module\n    - url: /hacsfiles/lovelace-slider-entity-row/slider-entity-row.js\n      type: module\n    - url: /hacsfiles/fitbit-card/fitbit-card.js\n      type: js\n    - url: /hacsfiles/secondaryinfo-entity-row/secondaryinfo-entity-row.js \n      type: module \n    - url: /hacsfiles/lovelace-auto-entities/auto-entities.js  \n      type: module\n    - url: /hacsfiles/lovelace-fold-entity-row/fold-entity-row.js\n      type: module\n    - url: /hacsfiles/lovelace-card-tools/card-tools.js  \n      type: module     \n    - url: /hacsfiles/unused-card/unused-card.js\n      type: module\n    - url:  /hacsfiles/shutter-cover-panel-card/shutter-cover-panel-card.js\n      type: module\n    - url: /hacsfiles/LG-WebOS-Remote-Control/lg-remote-control.js\n      type: module\n    - url: /hacsfiles/LG-Keypad/card-numeric-pad.js\n      type: module\n    - url: /hacsfiles/canvas-gauge-card/canvas-gauge-card.js\n      type: module\n    - url: /hacsfiles/custom-header/custom-header.js\n      type: module\n    - url: /hacsfiles/logbook-card/logbook-card.js\n      type: module\n    - url: /hacsfiles/username-element/username-element.js\n      type: module\n    - url: /hacsfiles/weather-card/weather-card.js\n      type: module\n    - url: /hacsfiles/custom-sidebar/custom-sidebar.js\n      type: module\n    - url: /hacsfiles/button-card/button-card.js\n      type: module\n\n\nswitch: !include switch.yaml\nbinary_sensor: !include binary_sensors.yaml\n\n####################################################\n#                                                  #\n#                   SPEEDTEST                      #\n#                                                  #\n####################################################\n\n#https://www.home-assistant.io/components/speedtestdotnet/\nspeedtestdotnet:\n  server_id: 3243 # server \"Telecom Italia S.p.A.\" Rome\n  scan_interval:\n    hours: 4\n  monitored_conditions:\n    - ping\n    - download\n    - upload\n\n####################################################\n#                                                  #\n#                    Weather                       #\n#                                                  #\n####################################################\n\n#https://www.home-assistant.io/components/weather.darksky/\nweather:\n  - platform: darksky\n    api_key: !secret darksky\n    mode: daily\n\n####################################################\n#                                                  #\n#                 Media player                     #\n#                                                  #\n####################################################\n# https://www.home-assistant.io/integrations/media_player/\n# https://www.home-assistant.io/integrations/universal/\n# https://www.home-assistant.io/integrations/androidtv/\n\nmedia_player: !include media_player.yaml\n\n####################################################\n#                                                  #\n#                 Shell Commands                   #\n#                                                  #\n####################################################\n# https://www.home-assistant.io/integrations/shell_command/\n\nshell_command: !include shell_commands.yaml\n\n\n####################################################\n#                    Alexa                         #\n#               Smart Home Speakers                #\n#             Powered by Haaska Skill              #\n####################################################\n#### API ALEXA ###\napi:\n alexa:\n   smart_home:\n\n####################################################\n#                    Alexa                         #\n#               Smart Home Speakers                #\n#             Powered by Haaska Skill              #\n####################################################\n### URL https://github.com/mike-grant/haaska/wiki\nalexa:\n  smart_home:\n    # endpoint: https://api.eu.amazonalexa.com/v3/events\n    # client_id: !secret alexa_client_id\n    # client_secret: !secret alexa_client_secret\n    filter:\n      include_entities:\n        #- group.all_lights\n        #- group.all\n        #- light.kitchen_white\n        #- light.living_door_rgb\n        #- light.living_sofa_rgb\n        #- light.living_window_white\n        #- light.room_nico_rgb\n        - switch.air\n        - switch.air2\n        - switch.air3\n        - switch.dsm01\n        #- switch.fritz_dect_200_1\n        #- switch.fritz_dect_200_2\n        - switch.nico_computer\n        #- sensor.miflora_1_temperature\n        #- media_player.sony_bravia_tv\n        #- sensor.bathroom_temperature\n        #- sensor.bedroom_temperature\n        #- sensor.living_room_temperature\n        - media_player.tv_casetta\n        #- cover.shelly_shsw_25_e6704f\n      include_domains:\n        #- switch\n        #- light\n        #- script\n        #- alarm_control_panel\n        #- climate\n        - media_player\n      exclude_entities:\n        #- switch.foscam_state\n        #- switch.foscam_motion\n        - media_player.nicolo_s_alexa_apps\n        - media_player.nicolo_s_bose_home_speaker_500\n        - media_player.this_device\n        - media_player.echo_dot_di_nicolo\n        - media_player.this_device_2\n        - media_player.salotto\n        - media_player.kd_55xf9005\n        - switch.fluxer\n        - climate.living_room\n        - climate.bathroom\n        - climate.living_room\n        - sensor.bathroom_temperature\n        - sensor.bedroom_temperature\n        - sensor.living_room_temperature\n      exclude_domains:\n        - automation\n        - automation\n        - group\n        - lock\n        - cover\n        - alert\n        - switch\n        - script\n        - light\n        - climate\n        #- media_player\n\n    entity_config:\n      #light.kitchen_white:\n        #name: Luce Cucina\n        #description: La Luce in Cucina\n        #display_categories: LIGHT\n      #light.living_door_rgb:\n        #name: Luce Salone\n        #description: la luce del Salone\n        #display_categories: LIGHT \n      #light.living_sofa_rgb:\n        #name: Luce Divano\n        #description: la Luce del divano\n        #display_categories: LIGHT\n      #light.living_window_white:\n        #name: Luce Finestra Salone\n        #description: la luce vicino la Finestra del salone\n        #display_categories: LIGHT\n      #light.room_nico_rgb:\n        #name: Luce Camera Nico\n        #description: La Luce della stanza di Nico\n        #display_categories: LIGHT\n      switch.nico_computer:\n        name: il PC\n        description: Computer\n        display_categories: SWITCH\n      switch.dsm01:\n        name: Synology\n        description: Il Nas\n        display_categories: SWITCH\n      #group.all_lights:\n        #name: Tutte le luci\n        #description: Tutte le luci\n      #group.all:\n        #name: Tutto\n        #description: Tutto\n        #display_categories: SWITCH\n      media_player.tv_casetta:\n        name: la TV\n        description: il televisore\n        #display_categories: SWITCH\n      #media_player.sony_bravia_tv:\n        #name: TV Mamma\n        #description: La televisione di Mamma\n        #display_categories: SWITCH\n      switch.air:\n        name: Aria Fredda\n        description: l'aria fredda\n        display_categories: SWITCH\n      switch.air2:\n        name: Deumidificatore \n        description: il deumidificatore\n        display_categories: SWITCH\n      switch.air3:\n        name: Aria calda\n        description: l'aria calda\n        display_categories: SWITCH\n      # switch.presa_pc_fritz_dect_200_1:\n      #   name: Ciabatta Rack\n      #   description: La Ciabatta Rack\n      #   display_categories: SWITCH\n      # switch.presa_rasp_pi3_fritz_dect_200_2:\n      #   name: Presa Raspberry\n      #   description: La presa del raspberry\n      #   display_categories: SWITCH\n      #cover.shelly_shsw_25_e6704f:\n        #name: Serranda Salone\n        #description: la serranda del salone\n        #display_categories: SWITCH\n\n\n####################################################\n#                                                  #\n#                    Wake on LAN                   #\n#                                                  #\n####################################################\n# https://www.home-assistant.io/integrations/wake_on_lan/\n\nwake_on_lan:\n\n####################################################\n#                                                  #\n#                      Google                      #\n#                     Calendar                     #\n####################################################\n# https://www.home-assistant.io/integrations/calendar.google/\n\ngoogle:\n  client_id: !secret google_clientid\n  client_secret: !secret google_secret\n\n\n####################################################\n#                                                  #\n#                      Alarm                       #\n#                      Panel                       #\n####################################################\n# https://www.home-assistant.io/integrations/manual/\n\nalarm_control_panel:\n  - platform: manual\n    name: Home Alarm\n    code: '1234'\n    arming_time: 30\n    delay_time: 20\n    trigger_time: 4\n    disarmed:\n      trigger_time: 0\n    armed_home:\n      arming_time: 0\n      delay_time: 0"
  },
  {
    "path": "cover.yaml",
    "content": "- platform: mqtt\n  name: \"Serranda Salone\"    \n  command_topic: \"shellies/shellyswitch25-abcd1234/roller/0/command\" \n  position_topic: \"shellies/shellyswitch25-abcd1234/roller/0/pos\"\n  set_position_topic: \"shellies/shellyswitch25-abcd1234/roller/0/command/pos\"\n  availability_topic: \"shellies/shellyswitch25-abcd1234/online\"\n  #state_topic: \"shellies/shellyswitch25-abcd1234/roller/0\"\n  payload_available: \"true\"\n  payload_not_available: \"false\"\n  qos: 1\n  retain: false\n  optimistic: false\n  payload_open: \"open\"\n  payload_close: \"close\"\n  payload_stop: \"stop\"\n  position_open: 100\n  position_closed: 0\n"
  },
  {
    "path": "customize.yaml",
    "content": "####################################################\n#                                                  #\n#               CUSTOMIZE DEVICES                  #\n#                                                  #\n####################################################\n      switch.mypc:\n        icon: mdi:laptop-windows\n      device_tracker.fritzbox:\n        icon: mdi:router-wireless\n      device_tracker.mysgs6:\n        icon: mdi:cellphone-android\n      device_tracker.mypc:\n        icon: mdi:laptop-windows\n      device_tracker.personsgs3:\n        icon: mdi:cellphone-android\n    device_tracker.wkmob021:\n        icon: mdi:laptop-windows\n    device_tracker.dsm01:\n        icon: mdi:server-network\n\n####################################################\n#                                                  #\n#            CUSTOMIZE MEDIA PLAYERS            #\n#                                                  #\n####################################################\n\n\n####################################################\n#                                                  #\n#             CUSTOMIZE SWITCHES                  #\n#                                                  #\n####################################################\n\n ####MEDIA####\n\n ####LIGHTS####\n\n####################################################\n#                                                  #\n#             CUSTOMIZE SENSORS                  #\n#                                                  #\n####################################################\n ####WEATHER####\n   sensor.owm_condition:\n       icon: mdi:weather-sunny\n sensor.owm_cloud_coverage:\n       icon: mdi:weather-cloudy\n sensor.owm_rain:\n       icon: mdi:weather-rainy\n sensor.owm_humidity:\n       icon: mdi:water-percent\n sensor.owm_pressure:\n       icon: mdi:nest-thermostat\n sensor.owm_snow:\n       icon: mdi:weather-snowy\n sensor.owm_wind_speed:\n       icon: mdi:weather-windy\n\n####MQTT BATTERY####\n     sensor.batteria_telefono_my:\n        icon: mdi:battery\n     sensor.batteria_telefono_person:\n        icon: mdi:battery\n\n####MISC####\n     speedtest_download:\n        icon: mdi:download\n     sensor.speedtest_upload:\n        icon: mdi:upload\n     sensor.speedtest_ping:\n        icon: mdi:speedometer\n     sensor.fastcom_download:\n        icon: mdi:download\n\n####################################################\n#                                                  #\n#             CUSTOMIZE SCRIPTS                  #\n#                                                  #\n####################################################\n\n\n####################################################\n#                                                  #\n#             CUSTOMIZE SCENES                  #\n#                                                  #\n####################################################\n"
  },
  {
    "path": "device_tracker.yaml",
    "content": "- platform: fritz\n  host: 10.10.10.1\n  username: !secret fritz_user\n  password: !secret fritz_pwd\n\n- platform: fritz\n  host: 10.10.20.1\n  username: !secret fritz_user\n  password: !secret fritz_pwd\n\n- platform: owntracks\n  max_gps_accuracy: 200\n\n- platform: mqtt\n  devices:\n     Nico_SGS6: /location/Nico\n     Mamma-SGS3: /location/mamma\n\n- platform: nmap_tracker\n  hosts: \n    - 10.10.10.0/24\n    - 10.0.20.0/24  \n  home_interval: 10\n"
  },
  {
    "path": "google.yaml",
    "content": "client_id: !secret google_clientid\nclient_secret: !secret google_secret"
  },
  {
    "path": "groups.yaml",
    "content": "\n\n############################################################\n#                                                          #\n#                  Entities Groups                         #\n#                                                          #\n############################################################\n\nFamily:\n    entities:\n    - device_tracker.iphone\n    - device_tracker.nicogalaxys8\n    #owntracks\n    #- device_tracker.nico_nico  \n\n\nLights:\n    entities:\n    - switch.shelly_shsw_25_68796e_1\n    - switch.shelly_shsw_25_68796e_2\n    - switch.shelly_shsw_25_686d62_1\n    - switch.shelly_shsw_25_686d62_2\n    - switch.shelly_shsw_25_687269_1\n    - switch.shelly_shsw_25_687269_2\n    - switch.shelly_shsw_25_e5e601_1\n    - switch.shelly_shsw_25_e5e601_2\n\nLiving:\n    entities:\n    - switch.shelly_shsw_25_68796e_1\n    - switch.shelly_shsw_25_68796e_2\n    #- input_slider.living_bright\n\nBedroom:\n    entities:\n    - switch.shelly_shsw_25_687269_1\n    - switch.shelly_shsw_25_687269_2\n\nKitchen:\n    entities:\n    - switch.shelly_shsw_25_686d62_1\n    - switch.shelly_shsw_25_686d62_2\n\nBathroom:\n    entities:\n    - switch.shelly_shsw_25_e5e601_1\n    - switch.shelly_shsw_25_e5e601_2\n\nWho Cook:\n  entities:\n    - input_select.who_cooks\n"
  },
  {
    "path": "input_boolean/trigger_booleans.yaml",
    "content": "#triggers\n#good_night:\n  #name: Good Night\n  #initial: off\n\n#good_morning:\n  #name: Good Morning\n  #initial: off\n\n#meal_time:\n  #name: Meal Time\n  #initial: off\n\ntv_time:\n  name: TV Time\n  initial: off\n\n#work:\n  #name: Work\n  #initial: off\n\n#flash:\n  #name: Flash\n  #initial: off\n\n"
  },
  {
    "path": "input_select/ac_mode.yaml",
    "content": "ac_mode:\n  name: AC Mode Morning\n  options:\n    - Power Off\n    - Hot\n    - Hot Morning\n    - Cold\n    - Cold Morning\n    - Humidity\n    - Humidity Morning\n    - None\n  initial: Power Off\n  icon: mdi:fan"
  },
  {
    "path": "input_select/living_bright.yaml",
    "content": "living_bright:\n  name: Living Brightness\n  options:\n    - Low\n    - Medium\n    - Max\n  initial: Max\n  icon: mdi:lightbulb"
  },
  {
    "path": "input_select/living_scene.yaml",
    "content": "living_scene:\n  name: Living Scenes\n  options:\n    - White\n    - Romantic (Red)\n    - Movie (Blue)\n    - Gold\n    - Purple\n    - Green\n  initial: White\n  icon: mdi:lightbulb"
  },
  {
    "path": "input_select/log_level.yaml",
    "content": "log_level:\n  name: Log Level\n  options:\n    - critical\n    - fatal\n    - error\n    - warning\n    - warn\n    - info\n    - debug\n    - notset\n  initial: warn"
  },
  {
    "path": "input_select/lounge_scene.yaml",
    "content": "Living_scene:\n  name: Living Scenes\n  options:\n    - White\n    - Romantic (Red)\n    - Movie (Blue)\n    - Gold\n    - Purple\n    - Green\n  initial: White\n  icon: mdi:lightbulb"
  },
  {
    "path": "input_select/nico_room_scene.yaml",
    "content": "my_room_scene:\n  name: my Room Scenes\n  options:\n    - White\n    - Romantic (Red)\n    - Movie (Blue)\n    - Gold\n    - Purple\n    - Green\n  initial: White\n  icon: mdi:lightbulb"
  },
  {
    "path": "input_select/pc_power_options.yaml",
    "content": "pcoptions:\n  name: PC Power Options\n  options:\n    - Restart\n    - Shutdown\n    - None\n    - Sleep\n    - Hibernate\n  initial: None\n  icon: mdi:desktop-tower"
  },
  {
    "path": "input_select/who_cook.yaml",
    "content": "who_cooks:\n  name: Who cooks today\n  options:\n    - my\n    - Rossella\n    - gf\n  initial: Rossella\n  icon: mdi:panda"
  },
  {
    "path": "input_slider/living_bright.yaml",
    "content": "living_bright:\n  name: Lights Brightness\n  initial: 254\n  min: 0\n  max: 254\n  step: 1"
  },
  {
    "path": "ip_bans.yaml",
    "content": "\n"
  },
  {
    "path": "light.yaml",
    "content": "  - platform: yeelight\n    devices:\n      10.10.10.239:\n        name: Living - Sofa - RGB\n        #transition: 1000\n        use_music_mode: True\n        #save_on_change: False  \n      10.10.10.218:\n        name: Living - Door - RGB\n        #transition: 1000\n        use_music_mode: True\n        #save_on_change: False\n      10.10.10.219:\n        name: Living - Window - White\n      10.10.10.216:\n        name: Room - my - RGB\n        transition: 3000\n        use_music_mode: True\n        #save_on_change: False\n      10.10.10.213:\n        name: Kitchen - White\n"
  },
  {
    "path": "media_player.yaml",
    "content": "#- platform: cast\n  #host: 10.10.10.215\n- platform: braviatv\n  host: 10.10.10.215\n- platform: kodi\n  host: 10.10.10.215"
  },
  {
    "path": "mqtt.yaml",
    "content": "\n### MOSQUITTO ON HASSIO ###\nbroker: !secret mqtt_broker\nusername: !secret mqtt_hassio_user\npassword: !secret mqtt_hassio_pwd\ndiscovery: true\ndiscovery_prefix: !secret discoveryprefix\n\n"
  },
  {
    "path": "notify.yaml",
    "content": "- name: hassnico_bot\n  platform: telegram\n  api_key: !secret telegram_apikey\n  chat_id: !secret telegram_clientid\n\n- platform: alexa_media\n  name: alexa_media"
  },
  {
    "path": "panel_custom.yaml",
    "content": "  - name: react\n    sidebar_title: Panel Switch\n    sidebar_icon: mdi:settings\n    url_path: todomvc\n    config:\n      title: Panel\n"
  },
  {
    "path": "scene/TV_Time.yaml",
    "content": "- name: TV Time\n  entities:\n       light.Living__sofa__rgb:\n           state: on\n           color_name: 'darkblue'\n           brightness: 255\n       light.Living__window__white:\n           state: off\n       light.Living__door__rgb:\n           state: on\n           color_name: 'darkblue'\n           brightness: 255"
  },
  {
    "path": "scene/TV_Time_off.yaml",
    "content": "- name: TV Time\n  entities:\n       light.Living__sofa__rgb:\n           state: on\n           color_name: 'white'\n           brightness: 255\n       light.Living__window__white:\n           state: on\n       light.Living__door__rgb:\n           state: on\n           color_name: 'white'\n           brightness: 255"
  },
  {
    "path": "scene/living.yaml",
    "content": "- name: White - Living\n  entities:\n    light.Living__sofa__rgb:\n      state: on\n      color_name: 'white'\n      brightness: 255\n    light.Living__window__white:\n      state: on\n      brightness: 255\n    light.Living__door__rgb:\n      state: on\n      color_name: 'white'\n      brightness: 255\n\n- name: Green - Living\n  entities:\n    light.Living__sofa__rgb:\n      state: on\n      color_name: 'forestgreen'\n      brightness: 255\n    light.Living__window__white:\n      state: off\n    light.Living__door__rgb:\n      state: on\n      color_name: 'green'\n      brightness: 255\n\n- name: Movies - Living\n  entities:\n    light.Living__sofa__rgb:\n      state: on\n      color_name: 'blue'\n      brightness: 255\n    light.Living__window__white:\n      state: off\n    light.Living__door__rgb:\n      state: on\n      color_name: 'blue'\n      brightness: 255\n\n- name: Romantic - Living\n  entities:\n    light.Living__sofa__rgb:\n      state: on\n      color_name: red\n      brightness: 255\n    light.Living__window__white:\n      state: off\n      #rgb_color: [220, 20, 60]\n      #brightness: 255\n    light.Living__door__rgb:\n      state: on\n      color_name: red\n      brightness: 255\n\n- name: Purple - Living\n  entities:\n    light.Living__sofa__rgb:\n      state: on\n      color_name: 'purple'\n      brightness: 255\n    light.Living__window__white:\n      state: off\n    light.Living__door__rgb:\n      state: on\n      color_name: 'purple'\n      brightness: 255\n\n- name: Gold - Living\n  entities:\n    light.Living__sofa__rgb:\n      state: on\n      color_name: 'gold'\n      brightness: 255\n    light.Living__window__white:\n      state: off\n    light.Living__door__rgb:\n      state: on\n      color_name: 'gold'\n      brightness: 255\n"
  },
  {
    "path": "scene/living_lights_off.yaml",
    "content": "- name: Lights OFF - Living\n  entities:\n    light.Living__sofa__rgb:\n      state: off\n    light.Living__window__white:\n      state: off\n    light.Living__door__rgb:\n      state: off\n"
  },
  {
    "path": "scene/living_lights_on.yaml",
    "content": "- name: Lights ON - Living\n  entities:\n    light.Living__sofa__rgb:\n      state: on\n      rgb_color: [255, 255, 255]\n      brightness: 255\n    light.Living__window__white:\n      state: on\n      brightness: 255\n    light.Living__door__rgb:\n      state: on\n      rgb_color: [255, 255, 255]\n      brightness: 255\n"
  },
  {
    "path": "scene/monthly_colors.yaml",
    "content": "- name: month_standard_colors\n  entities:\n       light.room__my__rgb:\n           state: 'on'\n           color_name: 'Gold'\n\n- name: month_valentine_colors\n  entities:\n       light.room__my__rgb:\n           state: 'on'\n           color_name: 'Crimson'\n\n- name: month_st_patty_colors\n  entities:\n       light.room__my__rgb:\n           state: 'on'\n           #color_name: 'Dark Spring Green'\n           rgb_color: [23,114,69]\n\n############## OUTDOR LIGHTS - TO DO ############\n\n#- name: month_RWB_colors\n  #entities:\n       #light.outdoor_foyer:\n           #state: 'on'\n           ##color_name: 'Cream'\n           #rgb_color: [255,253,208]\n           #brightness: 30\n       #light.outdoor_sconce_3:\n           #state: 'on'\n           #color_name: 'Red'\n       #light.outdoor_sconce_2:\n           #state: 'on'\n           ##color_name: 'White' Smoke\n           #rgb_color: [245,245,245]\n       #light.outdoor_sconce_1:\n           #state: 'on'\n           #color_name: 'Blue'\n\n#- name: front_full_brightness\n  #entities:\n       #light.room__my__rgb:\n           #state: 'on'\n           #color_name: 'White'\n           #brightness: 250\n#- name: month_marti_gras_colors\n  #entities:\n       #light.outdoor_foyer:\n           #state: 'on'\n           #color_name: 'Gold'\n       #light.outdoor_sconce_1:\n           #state: 'on'\n           #color_name: 'Purple'\n       #light.outdoor_sconce_2:\n           #state: 'on'\n           #color_name: 'Green'\n       #light.outdoor_sconce_3:\n           #state: 'on'\n           #color_name: 'Gold'"
  },
  {
    "path": "scene/movies.yaml",
    "content": "- name: Movies - Living\n  entities:\n    light.Living__sofa__rgb:\n      state: on\n      color_name: 'blue'\n      brightness: 120\n    light.Living__window__white:\n      state: off\n    light.Living__door__rgb:\n      state: on\n      color_name: 'blue'\n      brightness: 120\n"
  },
  {
    "path": "scene/my_room.yaml",
    "content": "- name: White - my\n  entities:\n    light.room__my__rgb:\n      state: on\n      color_name: 'white'\n      brightness: 255\n\n- name: Green - my\n  entities:\n    light.room__my__rgb:\n      state: on\n      color_name: 'green'\n      brightness: 255\n\n- name: Movies - my\n  entities:\n    light.room__my__rgb:\n      state: on\n      color_name: 'blue'\n      brightness: 255\n\n\n- name: Romantic - my\n  entities:\n    light.room__my__rgb:\n      state: on\n      color_name: red\n      brightness: 255\n\n\n- name: Purple - my\n  entities:\n    light.room__my__rgb:\n      state: on\n      color_name: 'purple'\n      brightness: 255\n\n- name: Gold - my\n  entities:\n    light.room__my__rgb:\n      state: on\n      color_name: 'gold'\n      brightness: 255\n"
  },
  {
    "path": "scene/romantic.yaml",
    "content": "- name: Romantic - Living\n  entities:\n    light.Living__sofa__rgb:\n      state: on\n      color_name: red\n      brightness: 255\n    light.Living__window__white:\n      state: off\n      #rgb_color: [220, 20, 60]\n      #brightness: 255\n    light.Living__door__rgb:\n      state: on\n      color_name: red\n      brightness: 255"
  },
  {
    "path": "scene/romatic_my.yaml",
    "content": "- name: Romantic - my\n  entities:\n    light.room__my__rgb:\n      state: on\n      color_name: red\n      brightness: 200"
  },
  {
    "path": "scripts/low_battery.yaml",
    "content": "sequence:\n- event: LOGBOOK_ENTRY\n  event_data:\n    name: EVENT\n    message: \"Low battery Event\"\n- service: notify.homemyassistant_bot\n  data:\n    message: \"{% if states('sensor.batteria_telefono_my') < '25'%}Low battery detected! my's battery is at {{states('sensor.batteria_telefono_my')}}%{% else %} {% endif %} {% if states('device_tracker.2275304c') < '25'%}Low battery detected! Cailin's battery is at {{states('sensor.batteria_telefono_person')}}%{% else %} {% endif %}\"\n"
  },
  {
    "path": "scripts/monthly_color_scene.yaml",
    "content": "######################################################################################################\n###Script to turn on scene for the appropriate month for the front of the house but only when the sun is down. \n#  action:\n#   - service: script.monthly_color_scene\n#\n#   scenes should be named month_[01-12]_colors (month_06_colors)\n######################################################################################################\n\nmonthly_color_scene:\n  sequence:\n    - condition: state\n      entity_id: sun.sun\n      state: 'below_horizon'\n    - condition: state\n      entity_id: input_boolean.alert_mode\n      state: 'off'\n    \n    - service: logbook.log\n      data_template:\n        name: \"Launching Scene:\"\n        message: >\n          \"scene.month_\n          {%- if now().strftime(\"%m%d\")|int == 101 -%}\n          new_years_day\n          {%- elif now().strftime(\"%m%d\")|int == 212\n          or now().strftime(\"%m%d\")|int == 220\n          or now().strftime(\"%m%d\")|int == 520\n          or now().strftime(\"%m%d\")|int == 529\n          or now().strftime(\"%m%d\")|int == 614\n          or now().strftime(\"%m%d\")|int == 704\n          or now().strftime(\"%m%d\")|int == 904\n          or now().strftime(\"%m%d\")|int == 911\n          or now().strftime(\"%m%d\")|int == 1111\n          -%}\n          RWB\n          {%- elif now().strftime(\"%m%d\")|int >= 210 \n          and now().strftime(\"%m%d\")|int <= 214-%}\n          valentine\n          {%- elif now().strftime(\"%m%d\")|int == 228 -%}\n          marti_gras\n          {%- elif now().strftime(\"%m%d\")|int >= 314 \n          and now().strftime(\"%m%d\")|int <= 317-%}\n          st_patty\n          {%- else -%}\n          standard\n          {%- endif -%}_colors\"\n          \n    - service: scene.turn_on\n      data_template:\n        entity_id: >\n          scene.month_\n          {%- if now().strftime(\"%m%d\")|int == 101 -%}\n          new_years_day\n          {%- elif now().strftime(\"%m%d\")|int == 212\n          or now().strftime(\"%m%d\")|int == 220\n          or now().strftime(\"%m%d\")|int == 520\n          or now().strftime(\"%m%d\")|int == 529\n          or now().strftime(\"%m%d\")|int == 614\n          or now().strftime(\"%m%d\")|int == 704\n          or now().strftime(\"%m%d\")|int == 904\n          or now().strftime(\"%m%d\")|int == 911\n          or now().strftime(\"%m%d\")|int == 1111\n          -%}\n          RWB\n          {%- elif now().strftime(\"%m%d\")|int >= 210 \n          and now().strftime(\"%m%d\")|int <= 214-%}\n          valentine\n          {%- elif now().strftime(\"%m%d\")|int == 228 -%}\n          marti_gras\n          {%- elif now().strftime(\"%m%d\")|int >= 314 \n          and now().strftime(\"%m%d\")|int <= 317-%}\n          st_patty\n          {%- else -%}\n          standard\n          {%- endif -%}_colors\n \n \n# http://www.calendar-365.com/holidays/2017.html \n# 101 New_years_day (colorloop)\n# RWB 212 Lincoln's Birthday\n# 214 Valentine's Day (pink, red) \n# RWB 220 President's Day\n# 228 Mardi Gras (purple, green, gold )\n# 317 st Patty (green)\n# 414 Good Friday\n# 416 Easter\n# 422 Earth Day\n# 505 Cinco de Mayo\n# 514 Mother's Day\n# RWB 520 Armed Forces Day\n# RWB 529 Memorial Day\n# RWB 614 Flag Day\n# 618 Fathers day\n# RWB 704 July 4th\n# RWB 904 Labor Day\n# RWB 911 Patriots day\n# 1009 columbus day\n# 1031 halloween\n# RWB 1111 veterans day\n# 1123 Thanksgiving\n# 1212 Hanukkah start 8 days.\n# 1225 Chrismas\n# 1231 New years eve"
  },
  {
    "path": "scripts/refresh_devices.yaml",
    "content": "sequence:\n- service: mqtt.publish\n  data:\n    topic: \"owntracks/my/my/cmd\"\n    payload_template: '{\"_type\":\"cmd\",\"action\":\"reportLocation\"}'\n- service: mqtt.publish\n  data:\n    topic: \"owntracks/person/person/cmd\"\n    payload_template: '{\"_type\":\"cmd\",\"action\":\"reportLocation\"}'\n"
  },
  {
    "path": "scripts/restart_ha.yaml",
    "content": "sequence:\n- event: LOGBOOK_ENTRY\n  event_data:\n    name: EVENT\n    message: \"Restarting Home Assistant\"\n- service: notify.homemyassistant_bot\n  data:\n    message: \"Restarting Home Assistant at {{ states('sensor.date__time') }}\"\n- service: homeassistant.restart\n"
  },
  {
    "path": "scripts/scene_notify.yaml",
    "content": "  sequence:\n    - condition: and\n      conditions:\n        - condition: or\n          conditions:\n            - condition: state\n              entity_id: group.scenes\n              state: 'on'\n\n    - service: notify.homemyassistant_bot\n      data:\n        message: \" {{ trigger.entity_id }} is activated \""
  },
  {
    "path": "scripts/sunrise.yaml",
    "content": "sequence:\n- event: LOGBOOK_ENTRY\n  event_data:\n    name: EVENT\n    message: \"SUNRISE\"\n- service: notify.homemyassistant_bot\n  data:\n    message: \"The sun is up! Good Morning! {{ states('sensor.date__time') }} \"\n"
  },
  {
    "path": "scripts/sunset.yaml",
    "content": "sequence:\n- event: LOGBOOK_ENTRY\n  event_data:\n    name: EVENT\n    message: \"SUNSET\"\n- service: notify.homemyassistant_bot\n  data:\n    message: \"The sun is setting. Woow Beautiful! {{ states('sensor.date__time') }}\"\n"
  },
  {
    "path": "scripts/voice_notify.yaml",
    "content": "  sequence:\n    - condition: and\n      conditions:\n        - condition: or\n          conditions:\n            - condition: state\n              entity_id: group.family\n              state: 'home'\n        - condition: or\n          conditions:\n            - condition: time\n              after: '09:00:00'\n              before: '22:00:00'\n\n    - service: media_player.turn_on\n      entity_id: media_player.kd55xd9305\n\n    #- service: media_player.volume_set\n      #entity_id:\n        #- media_player.kd55xd9305\n      #data_template:\n        #volume_level: >\n          #{% if now().strftime(\"%H\")|int < 12 and now().strftime(\"%H\")|int > 6%}\n          #0.25\n          #{% elif now().strftime(\"%H\")|int > 12 and now().strftime(\"%H\")|int < 17%}\n          #0.45\n          #{% else %}\n          #0.20\n          #{% endif %}\n\n    - service: tts.google_say\n      entity_id: media_player.kd55xd9305\n      data_template:\n        message: >\n          {% if now().strftime(\"%H\")|int < 12 and now().strftime(\"%H\")|int > 6%}\n          \"Good morning.\n          {% elif now().strftime(\"%H\")|int > 12 and now().strftime(\"%H\")|int < 17%}\n          \"Good afternoon.\n          {% else %}\n          \"Good evening.\n          {% endif %}\n        cache: true"
  },
  {
    "path": "scripts.yaml",
    "content": "####ALARM ####\n\n####TEST SCRIPTS####\n\n####GLOBAL SCRIPTS####\n\n####TRIGGERED LIGHTS\n\n####NOTIFICATIONS AND ALERTS####\n####################################################\n#                                                  #\n#             Let's Encrypt Renewal                #\n#                                                  #\n####################################################\n  letsencrypt_renewal:\n   alias: \"Let's Encrypt Renewal\"\n   sequence:\n     - service: hassio.addon_restart\n       data:\n        addon: core_letsencrypt\n     - service: notify.hassnico_bot\n       data:\n        message: >\n           \"Let's Encrypt CA was Renewed with Script\"\n        \n####################################################\n#                                                  #\n#                   OWNTRACKS                      #\n#                                                  #\n####################################################\n  owntracks_update:\n   alias: Owntracks Update\n   sequence:\n     - service: mqtt.publish\n       data:\n         topic: \"owntracks/Nico/Nico/cmd\"\n         payload_template: '{\"_type\":\"cmd\",\"action\":\"reportLocation\"}'       \n     - service: mqtt.publish\n       data:\n         topic: \"owntracks/mamma/mamma/cmd\"\n         payload_template: '{\"_type\":\"cmd\",\"action\":\"reportLocation\"}'\n\n####################################################\n#                                                  #\n#                   Telegram                       #\n#                                                  #\n####################################################\n  nico_gps_notify_telegram:    \n   alias: Script for Notify Nico's Location on Telegram\n   sequence:\n     - service: telegram_bot.send_location\n       data:\n         caption: 'Nico location'\n         target:\n           - !secret telegram_clientid\n           - !secret telegram_clientid2\n         latitude: '{{ states.device_tracker.nico_nico.attributes.latitude|float }}'\n         longitude: '{{ states.device_tracker.nico_nico.attributes.longitude|float }}'\n         disable_notification: true\n\n  mamma_gps_notify_telegram: \n   alias: Script for Notify Mom's Location on Telegram\n   sequence:\n     - service: telegram_bot.send_location\n       data:\n         caption: 'Mom location'\n         target:\n           - !secret telegram_clientid\n           - !secret telegram_clientid2\n         latitude: '{{ states.device_tracker.mamma_mamma.attributes.latitude|float }}'\n         longitude: '{{ states.device_tracker.mamma_mamma.attributes.longitude|float }}'\n         disable_notification: true\n\n\n####################################################\n#                                                  #\n#                    Alexa                         #\n#                                                  #\n####################################################\n  alexascripthastart:\n    sequence:\n    - service: media_player.volume_set\n      data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        volume_level: 0.2\n    - delay: 00:00:02    \n    - service: notify.alexa_media\n      data:\n        target: \n          - media_player.nicolo_s_bose_home_speaker_500\n        data:\n          type: tts\n        message: >\n         {{ [\n         \"Home Assistant è nuovamente disponibile\",\n         \"Home Assistant è operativo\",\n         \"Home assistant is back bitches\",\n         \"Home assistant è avviato\",\n         ] | random }}\n\n  alexascriptvoipcall:\n    sequence:\n    - service: media_player.volume_set\n      data:\n        entity_id: media_player.echo_dot_di_nicolo\n        volume_level: 0.5\n    - delay: 00:00:02\n    - service: notify.alexa_media\n      data:\n        target: media_player.echo_dot_di_nicolo\n        data:\n          type: tts\n        message: \"Prova di Nico\"\n    - service: hassio.addon_stdin\n      data_template:\n        addon: 89275b70_dss_voip\n        input: {\"call_sip_uri\":\"sip:+393402703738@sip.voipcheap.com\",\"message_tts\":\"Telefonata VoIP di Prova da Nico\"}\n\n  alexascriptmariatiamo:\n    sequence:\n    - service: media_player.volume_set\n      data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        volume_level: 0.2\n    #- delay: 00:00:01\n    - service: notify.alexa_media\n      data:\n        target: \n          - media_player.nicolo_s_bose_home_speaker_500\n        data:\n          type: tts\n        message: \"Maria ti amo\"\n\n  alexascriptvoiptest:\n    sequence:\n    - service: hassio.addon_stdin\n      data_template:\n        addon: 89275b70_dss_voip\n        input: {\"call_sip_uri\":\"sip:+393402703738@sip.voipcheap.com\",\"message_tts\":\"Telefonata VoIP di Prova da Nico\"}\n\n  alexascriptbirthday:\n    sequence:\n      - service: notify.alexa_media\n        data:\n          target: \n            - media_player.nicolo_s_bose_home_speaker_500\n          data:\n            type: tts\n          message: > \n           {{- [\n           \"Celebrate your birthday today. Celebrate being Happy every day.\",\n           \"Well, you are another year older and you haven't changed a bit. That's great because you are perfect just the way you are. Happy Birthday.\",\n           \"You are special and I hope that you float through the day with a big smile on your face. Happy Birthday!\",\n           \"Happy Birthday!!! I hope this is the begining of your greatest, most wonderful year ever!\",\n           \"Wishing you a day that is as special in every way as you are. Happy Birthday.\",\n           \"You have to get older, but you don't have to grow up!\",\n           \"Set the world on fire with your dreams and use the flame to light a birthday candle. HAPPY BIRTHDAY!\",\n           \"Thinking of you on your birthday, and wishing you all the best! I hope it is as fantastic as you are, you deserve the best and nothing less.\",\n           \"I hope that you have the greatest birthday ever from the moment you open your eyes in the morning until they close late at night.\",\n           \"Hope your birthday is totally cool, really funtastic, wonderful, exciting, majorly awesome, rocking and HAPPY. Happy Birthday wishes.\",\n           \"Be your own light. Find your own way. It should be easy with all those candles.\",\n           \"Your birthday should be a national holiday. I need a day off. Happy Birthday.\",\n           \"You are a gift to the world. How is that for a reverse birthday wish. Happy Birthday.\",\n           \"I hope that today is the beginning of a great year for you. Happy Birthday.\",\n           \"Happy Birthday !! Have a wonderful happy, healthy birthday and many more to come.\",\n           \"I hope you have a beautiful day and get at least half of what you want! Happy Birthday!\",\n           \"Happy Birthday. Just one more year and you will be perfect. Yes, I did say that last year.\",\n           \"You have a birthday twinkle in your eye so have fun and know we love you fairy, fairy much. Happy Birthday.\",\n           \"Live today like it is a special gift, because it is the best birthday gift. Happy Birthday.\",\n           \"May your heart naturally beat with the happiness and laughter that you give others. Happy Birthday.\",\n           \"Happy Birthday. Hope it's one of the best ever!!!!... a lovely birthday for a lovely person!\",\n           \"Wishing you health, love, wealth, happiness and just everything your heart desires. Happy Birthday.\",\n           \"Happy Birthday to a friend who means more to me than chocolate.\",\n           \"Things I like about you: humor, looks, everything. Happy Birthday.\",\n           \"Watch out world. You are old enough to know what to do and how to do it. Happy Birthday.\",\n           \"When I paint my masterpiece, I am pretty sure there will be a spot for you. Happy Birthday.\",\n           \"Happy Birthday. I hope that you will have a truly marvelous and joyous day with family and friends.\",\n           \"Enjoy your birthday and every day to the fullest. A Happy Birthday is just part of a Happy Life.\",\n           \"No matter how hard you try to fit in, you were born to stand out. Now celebrate that fact.\",\n           \"Hope your day is simply terrific! Happy Birthday.\",\n           \"I wish you a wonderfulBirthday!! I hope you have an amazing day and lots of fun! Enjoy this day, you deserve it!\",\n           \"Time waits for no one but that doesn't matter if you don't wait for it! Happy Birthday.\",\n           \"Today is not the end of another year, but the start of a new one. Happy Birthday.\",\n           \"Being young is a privilege. Being attractive a genetic gift. Being cool, that is all you. Happy Birthday.\",\n           \"Wishing you love and happiness on your birthday. Happy Birthday\",\n           \"You aren't getting older, you are getting better. Happy Birthday.\",\n           \"May your day be beautiful and may your heart be happy and may you celebrate birthdays for many years to come.\",\n           \"I wish you happiness, health and so many good things in your life. Happy Birthday!\",\n           \"Work hard. Play hard. Eat lots of cake. That's a good motto for your birthday and for life.\",\n           \"I wish you happiness, health and so many good things in your life. Happy Birthday!\",\n           \"What should we celebrate first: your accomplishments or your birthday?\",\n           \"Out of the 19,178,082 people having a birthday today, you rank solidly in my top 10 list.\",\n           \"Happy Birthday to a lovely & vibrant individual!\",\n           \"You remind me of you at your age. Young and good looking! Happy Birthday!\",\n           \"I wish you the best birthday ever! I hope you get lots of kisses and hugs. Happy Birthday!\",\n           \"Hope you have wonderful birthday filled with fun, excitement and joy. Happy Birthday.\",\n           \"I hope your BIG BRIGHT STAR keeps on shining. HAPPY BIRTHDAY !\",\n           \"Happy Birthday. Hope it's one of the best ever!!! A lovely birthday for a lovely person!\",\n           \"Happy moments. Happy thoughts. Happy Dreams. Happy feelings. Happy Birthday.\",\n           \"Happy Birthday to you!, Happy Birthday to you!, Happy Birthday to you!\"\n           ] | random -}}\n\n  alexamediapause2:\n    sequence:\n    - data:\n        entity_id: media_player.salotto\n      service: media_player.media_pause\n\n  alexaradiofreccia:    \n    sequence:\n    - service: media_player.volume_set\n      data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        volume_level: 0.2\n    - delay: 00:00:02    \n    - data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        media_content_id: \"Radiofreccia\"\n        media_content_type: \"TUNEIN\"\n      service: media_player.play_media\n\n  alexalazio:    \n    sequence:\n    - service: media_player.volume_set\n      data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        volume_level: 0.2\n    - delay: 00:00:02    \n    - data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        media_content_id: \"Lazio Style Radio\"\n        media_content_type: \"TUNEIN\"\n      service: media_player.play_media\n\n  alexaglobo:    \n    sequence:\n    - service: media_player.volume_set\n      data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        volume_level: 0.2\n    - delay: 00:00:02    \n    - data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        media_content_id: \"Radio Globo\"\n        media_content_type: \"TUNEIN\"\n      service: media_player.play_media\n\n  alexartl1025:    \n    sequence:\n    - service: media_player.volume_set\n      data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        volume_level: 0.2\n    - delay: 00:00:02    \n    - data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        media_content_id: \"RTL 102.5\"\n        media_content_type: \"TUNEIN\"\n      service: media_player.play_media\n\n  alexa105:    \n    sequence:\n    - service: media_player.volume_set\n      data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        volume_level: 0.2\n    - delay: 00:00:02    \n    - data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        media_content_id: \"Radio 105\"\n        media_content_type: \"TUNEIN\"\n      service: media_player.play_media\n\n  alexards:    \n    sequence:\n    - service: media_player.volume_set\n      data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        volume_level: 0.2\n    - delay: 00:00:02    \n    - data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        media_content_id: \"RDS Radio\"\n        media_content_type: \"TUNEIN\"\n      service: media_player.play_media\n\n  alexam2o:    \n    sequence:\n    - service: media_player.volume_set\n      data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        volume_level: 0.2\n    - delay: 00:00:02    \n    - data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        media_content_id: \"m2o\"\n        media_content_type: \"TUNEIN\"\n      service: media_player.play_media\n\n  alexaflash:    \n    sequence:\n    - service: media_player.volume_set\n      data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        volume_level: 0.2\n    - delay: 00:00:02    \n    - data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        media_content_id: Alexa.FlashBriefing.Play\n        media_content_type: sequence\n      service: media_player.play_media\n\n  alexaimathome:    \n    sequence:\n    - service: media_player.volume_set\n      data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        volume_level: 0.2\n    - delay: 00:00:02    \n    - data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        media_content_id: Alexa.ImHome.Play\n        media_content_type: sequence\n      service: media_player.play_media\n\n  alexafun:    \n    sequence:\n    - service: media_player.volume_set\n      data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        volume_level: 0.2\n    - delay: 00:00:02    \n    - data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        media_content_id: Alexa.FunFact.Play\n        media_content_type: sequence\n      service: media_player.play_media\n\n  alexastory:    \n    sequence:\n    - service: media_player.volume_set\n      data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        volume_level: 0.2\n    - delay: 00:00:02    \n    - data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        media_content_id: Alexa.TellStory.Play\n        media_content_type: sequence\n      service: media_player.play_media\n\n  alexasing:    \n    sequence:\n    - service: media_player.volume_set\n      data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        volume_level: 0.2\n    - delay: 00:00:02    \n    - data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        media_content_id: Alexa.SingASong.Play\n        media_content_type: sequence\n      service: media_player.play_media\n\n\n  alexanight:    \n    sequence:\n    - service: media_player.volume_set\n      data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        volume_level: 0.2\n    - delay: 00:00:02    \n    - data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        media_content_id: Alexa.GoodNight.Play\n        media_content_type: sequence\n      service: media_player.play_media\n\n  alexamorning:    \n    sequence:\n    - service: media_player.volume_set\n      data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        volume_level: 0.2\n    - delay: 00:00:02    \n    - data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        media_content_id: Alexa.GoodMorning.Play\n        media_content_type: sequence\n      service: media_player.play_media\n\n  alexatraffic:    \n    sequence:\n    - service: media_player.volume_set\n      data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        volume_level: 0.2\n    - delay: 00:00:02    \n    - data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        media_content_id: Alexa.Traffic.Play\n        media_content_type: sequence\n      service: media_player.play_media\n\n  alexatraffic2:    \n    sequence:\n    #- service: media_player.volume_set\n      #data:\n        #entity_id: media_player.this_device\n        #volume_level: 0.2\n    #- delay: 00:00:02    \n    - data:\n        entity_id: media_player.this_device\n        media_content_id: Alexa.Traffic.Play\n        media_content_type: sequence\n      service: media_player.play_media\n\n  alexaweather:    \n    sequence:\n    - service: media_player.volume_set\n      data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        volume_level: 0.2\n    - delay: 00:00:02    \n    - data:\n        entity_id: media_player.nicolo_s_bose_home_speaker_500\n        media_content_id: Alexa.Weather.Play\n        media_content_type: sequence\n      service: media_player.play_media\n\n  braviascript:\n    sequence:\n    - service: media_player.volume_set\n      data_template:\n        entity_id: media_player.tv_casetta_kd_55xf9005\n        volume_level: 1\n    - delay: 00:00:01\n    - service: notify.alexa_media\n      data_template:\n        message: 'Ding-dong. Someone is at the door.'\n        target: media_player.tv_casetta_kd_55xf9005\n        data:\n          type: tts\n\n\n  alexa_set_volume:\n    sequence:\n      - service: media_player.volume_set\n        data_template: \n          entity_id: '{{ states.sensor.last_alexa.state }}' \n          volume_level: >\n            {% if is_state(\"sensor.last_alexa\", \"media_player.echo_dot_di_nicolo\") %}\n              0.5\n            {% else %}\n              0.3\n            {% endif %} \n\n  alexa_tts:\n    sequence:\n      - service: script.turn_on\n        entity_id: script.alexa_set_volume\n      - delay: '00:00:01'      \n      - service: media_player.alexa_tts\n        data_template:\n          entity_id: '{{ states.sensor.last_alexa.state }}' \n          message: \"Test da Nico\"\n\n####################################################\n#                                                  #\n#                   Greetings                      #\n#                                                  #\n####################################################\n\n  jarvis_greeting:  \n   alias: Jarvis Greeting\n   sequence:\n     - service: media_player.volume_set\n       data:\n         entity_id: media_player.nicolos_bose_home_speaker_500\n         volume_level: 0.3\n     - delay: 00:00:01\n     - service: notify.alexa_media\n       data_template:\n         entity_id: media_player.nicolos_bose_home_speaker_500\n         message: >\n           {% if now().strftime(\"%H\")|int < 12 %}\n           Buongiorno da Jarvis\n           {% elif now().strftime(\"%H\")|int < 18 %}\n           Buon Pomeriggio da Jarvis\n           {% else %}\n           Buonasera da Jarvis\n           {% endif %}\n           Il tempo è {{states.sensor.owm_condition.state}} e la temperatura è di {{states.sensor.owm_temperature.state}} Centigradi a Roma. Ti auguro una buona giornata.\n  \n     #- service: media_player.turn_off\n       #entity_id: media_player.nicolos_bose_home_speaker_500\n\n####################################################\n#                                                  #\n#                    CAMERA                        #\n#                                                  #\n####################################################\n\n  camera_snapshot:\n   alias: Camera Snapshot\n   sequence:\n     - service: telegram_bot.send_photo\n       data:\n         caption: 'Camera Snapshot'\n         target:\n           - !secret telegram_clientid\n          # - !secret telegram_clientid2\n         url: !secret ss_camera_snapshot\n        \n\n####################################################\n#                                                  #\n#                  HA Service                      #\n#                                                  #\n####################################################\n\n  restart_ha:\n    alias: Restart HomeAssistant\n    sequence:\n      - alias: Restart HA\n        service: homeassistant.restart\n\n  reload_automations:\n    alias: Reload Automations\n    sequence:\n      - alias: Reload-Automations\n        service: automation.reload\n\n####################################################\n#                                                  #\n#                     Shelly                       #\n#                                                  #\n####################################################\n\n\n\n\n####################################################\n#                                                  #\n#                Camera presets                    #\n#                                                  #\n####################################################\n\n  ss_preset_home:\n    alias: Home\n    sequence:\n      - service: rest_command.ss_preset_home\n      ### return to home preset after 30 seconds ###\n      - delay: \n          seconds: 30\n      - service: rest_command.ss_preset_home\n\n  ss_preset_living:\n    alias: Living\n    sequence:\n      - service: rest_command.ss_preset_living\n      ### return to home preset after 30 seconds ###\n      - delay: \n          seconds: 30\n      - service: rest_command.ss_preset_home\n\n  ss_preset_bedroom:\n    alias: Bedroom\n    sequence:\n      - service: rest_command.ss_preset_bedroom\n      ### return to home preset after 30 seconds ###\n      - delay: \n          seconds: 30\n      - service: rest_command.ss_preset_home\n\n  ss_preset_rack:\n    alias: Rack\n    sequence:\n      - service: rest_command.ss_preset_rack\n      ### return to home preset after 30 seconds ###\n      - delay: \n          seconds: 30\n      - service: rest_command.ss_preset_home\n"
  },
  {
    "path": "sensor.yaml",
    "content": "- platform: dnsip\n\n- platform: season\n  type: astronomical\n\n- platform: uptime\n\n- platform: version\n\n- platform: mqtt\n  state_topic: \"owntracks/Nico/Nico\"\n  name: \"Batteria Telefono Nico\"\n  unit_of_measurement: \"%\"\n  value_template: '{{ value_json.batt }}'\n\n- platform: mqtt\n  state_topic: \"owntracks/mamma/mamma\"\n  name: \"Batteria Telefono Mamma\"\n  unit_of_measurement: \"%\"\n  value_template: '{{ value_json.batt }}'\n\n- platform: darksky\n  api_key: !secret darksky\n  forecast:\n    - 1\n    - 2\n    - 3\n    - 4\n    - 5\n    - 6\n    - 7\n  monitored_conditions:\n    - summary\n    - icon\n    - temperature\n    - temperature_low\n    - temperature_high\n    - apparent_temperature\n    - humidity\n    - hourly_summary\n    - daily_summary\n    - precip_type\n    - precip_intensity\n    - precip_probability\n    #- precip_accumulation\n    - wind_speed\n    - wind_bearing\n    - pressure\n    - visibility\n    - ozone\n    - uv_index\n    - sunrise_time\n    - sunset_time\n  scan_interval:\n    # At least one of these must be specified:\n    days: 0\n    hours: 1\n    minutes: 0\n    seconds: 0\n    milliseconds: 0\n\n- platform: template\n  sensors:\n    data_e_ora:\n      entity_id: sensor.time\n      value_template: >\n        {{now().strftime(\"%d/%m/%Y - %H:%M\")}}\n      friendly_name: \"Data e Ora\"\n      icon_template: mdi:calendar-clock\n    \n    dark_sky_summary_tmpl:\n      friendly_name_template: Condizione\n      value_template: >\n        {{ states('sensor.dark_sky_summary') }}\n      entity_picture_template: >-\n        {{ '/local/icons/dark_sky/' ~ states.sensor.dark_sky_icon.state ~ '.png'}}\n    dark_sky_hourly_summary_tmpl:\n      friendly_name_template: Condizione Giornaliera\n      value_template: >\n        {{ states('sensor.dark_sky_hourly_summary') }}\n      entity_picture_template: >-\n        {{ '/local/icons/dark_sky/' ~ states.sensor.dark_sky_hourly_summary.attributes.entity_picture | replace(\"/static/images/darksky/\",\"\") | replace(\".svg\",\"\") ~ '.png'}}\n    dark_sky_wind_dir:\n      friendly_name: 'Direzione Vento'\n      value_template: >-\n        {% set wind_dir = states.weather.dark_sky_wind_bearing.state %}\n        {% if wind_dir | float<=23 %}Nord [Tramontana]\n        {% elif wind_dir | float>338 %}Nord [Tramontana]\n        {% elif 23 < (wind_dir|float) <=68 %}NE [Grecale]\n        {% elif 68 < (wind_dir|float) <=113 %}Est [Levante]\n        {% elif 113 < (wind_dir|float) <=158 %}SE [Scirocco]\n        {% elif 158 < (wind_dir|float) <=203 %}Sud [Ostro]\n        {% elif 203 < (wind_dir|float) <=248 %}SO [Libeccio]\n        {% elif 248 < (wind_dir|float) <=293 %}Ovest [Ponente]\n        {% elif 293 < (wind_dir|float) <=338 %}NO [Maestrale]\n        {%- endif %}\n      icon_template: mdi:compass\n    forecast_0:\n      friendly_name_template: Giorno\n      value_template: Max | Min | Pioggia\n      icon_template: mdi:weather-partlycloudy\n    forecast_1:\n      friendly_name_template: >\n        {%- set date = as_timestamp(now()) + (1 * 86400 ) -%}\n        {% set giorno = [\"Domenica\", \"Lunedì\", \"Martedì\", \"Mercoledì\", \"Giovedì\", \"Venerdì\", \"Sabato\"] %}\n        {% set mese = [\"Gennaio\", \"Febbraio\", \"Marzo\", \"Aprile\", \"Maggio\", \"Giugno\", \"Luglio\", \"Agosto\", \"Settembre\", \"Ottobre\", \"Novembre\", \"Dicembre\"] %}\n        {% set m_ok = date | timestamp_custom(\"%m\") | int %}\n        {% set g_ok = date | timestamp_custom(\"%w\") | int %}\n        {{giorno[g_ok] + ' ' + date | timestamp_custom(\"%d\") + ' ' + mese[m_ok - 1]}}\n      value_template: >\n        {{states.sensor.dark_sky_daytime_high_temperature_1d.state|round(0)}}°|{{states.sensor.dark_sky_overnight_low_temperature_1d.state|round(0)}}°|{{states.sensor.dark_sky_precip_probability_1d.state|round(0)}}%\n      entity_picture_template: >-\n        {{ '/local/icons/dark_sky/' ~ states.sensor.dark_sky_icon_1d.state ~ '.png'}}\n      entity_id: sensor.dark_sky_daytime_high_temperature_1d, sensor.dark_sky_overnight_low_temperature_1d, sensor.dark_sky_precip_probability_1d, sensor.date\n    forecast_2:\n      friendly_name_template: >\n        {%- set date = as_timestamp(now()) + (2 * 86400 ) -%}\n        {% set giorno = [\"Domenica\", \"Lunedì\", \"Martedì\", \"Mercoledì\", \"Giovedì\", \"Venerdì\", \"Sabato\"] %}\n        {% set mese = [\"Gennaio\", \"Febbraio\", \"Marzo\", \"Aprile\", \"Maggio\", \"Giugno\", \"Luglio\", \"Agosto\", \"Settembre\", \"Ottobre\", \"Novembre\", \"Dicembre\"] %}\n        {% set m_ok = date | timestamp_custom(\"%m\") | int %}\n        {% set g_ok = date | timestamp_custom(\"%w\") | int %}\n        {{giorno[g_ok] + ' ' + date | timestamp_custom(\"%d\") + ' ' + mese[m_ok - 1]}}\n      value_template: >\n        {{states.sensor.dark_sky_daytime_high_temperature_2d.state|round(0)}}°|{{states.sensor.dark_sky_overnight_low_temperature_2d.state|round(0)}}°|{{states.sensor.dark_sky_precip_probability_2d.state|round(0)}}%\n      entity_picture_template: >-\n        {{ '/local/icons/dark_sky/' ~ states.sensor.dark_sky_icon_2d.state ~ '.png'}}\n      entity_id: sensor.dark_sky_daytime_high_temperature_2d, sensor.dark_sky_overnight_low_temperature_2d, sensor.dark_sky_precip_probability_2d, sensor.date\n    forecast_3:\n      friendly_name_template: >\n        {%- set date = as_timestamp(now()) + (3 * 86400 ) -%}\n        {% set giorno = [\"Domenica\", \"Lunedì\", \"Martedì\", \"Mercoledì\", \"Giovedì\", \"Venerdì\", \"Sabato\"] %}\n        {% set mese = [\"Gennaio\", \"Febbraio\", \"Marzo\", \"Aprile\", \"Maggio\", \"Giugno\", \"Luglio\", \"Agosto\", \"Settembre\", \"Ottobre\", \"Novembre\", \"Dicembre\"] %}\n        {% set m_ok = date | timestamp_custom(\"%m\") | int %}\n        {% set g_ok = date | timestamp_custom(\"%w\") | int %}\n        {{giorno[g_ok] + ' ' + date | timestamp_custom(\"%d\") + ' ' + mese[m_ok - 1]}}\n      value_template: >\n        {{states.sensor.dark_sky_daytime_high_temperature_3d.state|round(0)}}°|{{states.sensor.dark_sky_overnight_low_temperature_3d.state|round(0)}}°|{{states.sensor.dark_sky_precip_probability_3d.state|round(0)}}%\n      entity_picture_template: >-\n        {{ '/local/icons/dark_sky/' ~ states.sensor.dark_sky_icon_3d.state ~ '.png'}}\n      entity_id: sensor.dark_sky_daytime_high_temperature_3d, sensor.dark_sky_overnight_low_temperature_3d, sensor.dark_sky_precip_probability_3d, sensor.date\n    forecast_4:\n      friendly_name_template: >\n        {%- set date = as_timestamp(now()) + (4 * 86400 ) -%}\n        {% set giorno = [\"Domenica\", \"Lunedì\", \"Martedì\", \"Mercoledì\", \"Giovedì\", \"Venerdì\", \"Sabato\"] %}\n        {% set mese = [\"Gennaio\", \"Febbraio\", \"Marzo\", \"Aprile\", \"Maggio\", \"Giugno\", \"Luglio\", \"Agosto\", \"Settembre\", \"Ottobre\", \"Novembre\", \"Dicembre\"] %}\n        {% set m_ok = date | timestamp_custom(\"%m\") | int %}\n        {% set g_ok = date | timestamp_custom(\"%w\") | int %}\n        {{giorno[g_ok] + ' ' + date | timestamp_custom(\"%d\") + ' ' + mese[m_ok - 1]}}\n      value_template: >\n        {{states.sensor.dark_sky_daytime_high_temperature_4d.state|round(0)}}°|{{states.sensor.dark_sky_overnight_low_temperature_4d.state|round(0)}}°|{{states.sensor.dark_sky_precip_probability_4d.state|round(0)}}%\n      entity_picture_template: >-\n        {{ '/local/icons/dark_sky/' ~ states.sensor.dark_sky_icon_4d.state ~ '.png'}}\n      entity_id: sensor.dark_sky_daytime_high_temperature_4d, sensor.dark_sky_overnight_low_temperature_4d, sensor.dark_sky_precip_probability_4d, sensor.date\n    forecast_5:\n      friendly_name_template: >\n        {%- set date = as_timestamp(now()) + (5 * 86400 ) -%}\n        {% set giorno = [\"Domenica\", \"Lunedì\", \"Martedì\", \"Mercoledì\", \"Giovedì\", \"Venerdì\", \"Sabato\"] %}\n        {% set mese = [\"Gennaio\", \"Febbraio\", \"Marzo\", \"Aprile\", \"Maggio\", \"Giugno\", \"Luglio\", \"Agosto\", \"Settembre\", \"Ottobre\", \"Novembre\", \"Dicembre\"] %}\n        {% set m_ok = date | timestamp_custom(\"%m\") | int %}\n        {% set g_ok = date | timestamp_custom(\"%w\") | int %}\n        {{giorno[g_ok] + ' ' + date | timestamp_custom(\"%d\") + ' ' + mese[m_ok - 1]}}\n      value_template: >\n        {{states.sensor.dark_sky_daytime_high_temperature_5d.state|round(0)}}°|{{states.sensor.dark_sky_overnight_low_temperature_5d.state|round(0)}}°|{{states.sensor.dark_sky_precip_probability_5d.state|round(0)}}%\n      entity_picture_template: >-\n        {{ '/local/icons/dark_sky/' ~ states.sensor.dark_sky_icon_5d.state ~ '.png'}}\n      entity_id: sensor.dark_sky_daytime_high_temperature_5d, sensor.dark_sky_overnight_low_temperature_5d, sensor.dark_sky_precip_probability_5d, sensor.date\n    forecast_6:\n      friendly_name_template: >\n        {%- set date = as_timestamp(now()) + (6 * 86400 ) -%}\n        {% set giorno = [\"Domenica\", \"Lunedì\", \"Martedì\", \"Mercoledì\", \"Giovedì\", \"Venerdì\", \"Sabato\"] %}\n        {% set mese = [\"Gennaio\", \"Febbraio\", \"Marzo\", \"Aprile\", \"Maggio\", \"Giugno\", \"Luglio\", \"Agosto\", \"Settembre\", \"Ottobre\", \"Novembre\", \"Dicembre\"] %}\n        {% set m_ok = date | timestamp_custom(\"%m\") | int %}\n        {% set g_ok = date | timestamp_custom(\"%w\") | int %}\n        {{giorno[g_ok] + ' ' + date | timestamp_custom(\"%d\") + ' ' + mese[m_ok - 1]}}\n      value_template: >\n        {{states.sensor.dark_sky_daytime_high_temperature_6d.state|round(0)}}°|{{states.sensor.dark_sky_overnight_low_temperature_6d.state|round(0)}}°|{{states.sensor.dark_sky_precip_probability_6d.state|round(0)}}%\n      entity_picture_template: >-\n        {{ '/local/icons/dark_sky/' ~ states.sensor.dark_sky_icon_6d.state ~ '.png'}}\n      entity_id: sensor.dark_sky_daytime_high_temperature_6d, sensor.dark_sky_overnight_low_temperature_6d, sensor.dark_sky_precip_probability_6d, sensor.date\n    forecast_7:\n      friendly_name_template: >\n        {%- set date = as_timestamp(now()) + (7 * 86400 ) -%}\n        {% set giorno = [\"Domenica\", \"Lunedì\", \"Martedì\", \"Mercoledì\", \"Giovedì\", \"Venerdì\", \"Sabato\"] %}\n        {% set mese = [\"Gennaio\", \"Febbraio\", \"Marzo\", \"Aprile\", \"Maggio\", \"Giugno\", \"Luglio\", \"Agosto\", \"Settembre\", \"Ottobre\", \"Novembre\", \"Dicembre\"] %}\n        {% set m_ok = date | timestamp_custom(\"%m\") | int %}\n        {% set g_ok = date | timestamp_custom(\"%w\") | int %}\n        {{giorno[g_ok] + ' ' + date | timestamp_custom(\"%d\") + ' ' + mese[m_ok - 1]}}\n      value_template: >\n        {{states.sensor.dark_sky_daytime_high_temperature_7d.state|round(0)}}°|{{states.sensor.dark_sky_overnight_low_temperature_7d.state|round(0)}}°|{{states.sensor.dark_sky_precip_probability_7d.state|round(0)}}%\n      entity_picture_template: >-\n        {{ '/local/icons/dark_sky/' ~ states.sensor.dark_sky_icon_7d.state ~ '.png'}}\n      entity_id: sensor.dark_sky_daytime_high_temperature_7d, sensor.dark_sky_overnight_low_temperature_7d, sensor.dark_sky_precip_probability_7d, sensor.date\n \n########################################################################\n### Definizione Orario Alba e Tramonto\n########################################################################\n- platform: template\n  sensors:\n    sunset_time:\n      value_template: '{% set timestamp = as_timestamp(states.sun.sun.attributes.next_setting) | timestamp_custom(\"%H:%M\") %} {{ timestamp.lstrip(\"0\") }}'\n      friendly_name: \"Tramonto\"\n \n- platform: template\n  sensors:\n    sunrise_time:\n      value_template: '{% set timestamp = as_timestamp(states.sun.sun.attributes.next_rising) | timestamp_custom(\"%H:%M\") %} {{ timestamp.lstrip(\"0\") }}'\n      friendly_name: \"Alba\"\n\n- platform: time_date\n  display_options:\n    - time\n    - date\n    - date_time\n    - time_date\n    - time_utc\n    - beat\n\n- platform: systemmonitor\n  resources:\n    - type: disk_use_percent\n      arg: /home\n    - type: disk_free\n      arg: /home\n    - type: memory_free\n    - type: memory_use\n    - type: memory_use_percent\n    - type: processor_use\n    - type: last_boot\n    #- type: since_last_boot\n    #- type: network_in\n    #  arg: eth0\n    #- type: network_out\n    #  arg: eth0\n\n- platform: template\n  sensors:\n    uptime:\n      friendly_name: Up time\n      value_template: \"{{ states.sensor.last_boot.state.split('.')[0] }}\"\n    since_last_boot_templated:\n      friendly_name: Last boot\n      value_template: >-\n        {%- set slb = states.sensor.last_boot.state.split(' ') -%}\n        {%- set count = slb | length -%}\n        {%- set hms = slb[count - 1] -%}\n        {%- set hms_trimmed = hms.split('.')[0] -%}\n        {%- set hms_split = hms_trimmed.split(':') -%}\n        {%- set hours = hms_split[0] | int -%}\n        {%- set minutes = hms_split[1] | int -%}\n        {%- set seconds = hms_split[2] | int -%}\n        {%- if count == 3 -%}\n          {{ slb[0] ~ ' ' ~ slb[1] ~ ' ' }}\n        {%- endif -%}\n        {%- if hours > 0 -%}\n          {%- if hours == 1 -%}\n            1 hour\n          {%- else -%}\n            {{ hours }} hours\n          {%- endif -%}\n        {%- endif -%}\n        {%- if minutes > 0 -%}\n          {%- if hours > 0 -%}\n            {{ ', ' }}\n          {%- endif -%}\n          {%- if minutes == 1 -%}\n            1 minute\n          {%- else -%}\n            {{ minutes }} minutes\n          {%- endif -%}\n        {%- endif -%}\n        {%- if seconds > 0 -%}\n          {%- if hours > 0 or minutes > 0 -%}\n            {{ ', ' }}\n          {%- endif -%}\n          {%- if seconds == 1 -%}\n            1 second\n          {%- else -%}\n            {{ seconds }} seconds\n          {%- endif -%}\n        {%- endif -%}\n\n- platform: command_line\n  name: CPU Temp\n  command: \"cat /sys/class/thermal/thermal_zone0/temp\"\n  unit_of_measurement: \"°C\"\n  value_template: '{{ value | multiply(0.001) | round(1) }}'\n\n- platform: command_line\n  command: \"cat /sys/class/thermal/thermal_zone0/temp\"\n  unit_of_measurement: \"°C\"\n  value_template: '{{ value | multiply(0.001) | round(2) }}'\n\n- platform: sql\n  db_url: !secret dburl\n  queries:\n    - name: MariaDB size\n      query: 'SELECT table_schema \"homeassistant\", Round(Sum(data_length + index_length) / 1024 / 1024, 1) \"value\" FROM information_schema.tables WHERE table_schema=\"homeassistant\" GROUP BY table_schema;'\n      column: 'value'\n      unit_of_measurement: MB\n\n- platform: authenticated\n"
  },
  {
    "path": "switch.yaml",
    "content": "- platform: broadlink\n  host: 10.10.10.220\n  mac: 'AA:AA:AA:AA:AA:AA'\n  timeout: 15\n  switches:\n    air:\n      friendly_name: \"Air Conditioner - Heat 30\"\n      command_on: 'JgBMAnE3DykPKQ8NDw0NDw4qDg4ODQ4qDykPDQ8pDw0NDw4qDikPDQ4qDykODg4ODykODg4ODikPDQ4ODw0PDQ8NDQ8PDQ4ODw0ODg4ODg0PDQ8NDw0PDQ8NDg4PDQ4ODioODg4ODg0PDQ8NDykPDQ8NDw0NDw4ODykOKQ8pDw0ODg4ODg4NDw0PDg4ODg4qDikPDQ4ODw0PDQ4qDw0ODg0PDikPDQ8NDw0PDQ8NDw0ODg4ODQ8ODg4ODg4ODQ8NDw0PDQ8NDw0PDQ8NDQ8ODg4ODg4ODQ8NDg4PDQ4ODg4ODg4ODg4ODg0PDg4ODg4NDw0PDQ8NDg4PDQ8NDg4ODg4ODg4ODg0PDg0PDQ8NDw0PDQ8NDw0OKg4qDikPKQ8pDykODg4qDgABq3A4DykOKg4ODg0PDQ8pDw0PDQ8pDykNDw0rDg0PDQ4qDykPDQ4qDioODg4NDykPDQ8NDykPDQ4ODg4ODg4ODg0PDQ8NDg4PDQ8NDw0PDQ4ODg4ODg4ODQ8NDg8NDykPDQ8NDw0ODg8NDSsODg0ODw0PDQ8NDykNKw8pDg4ODg4NDw0PDQ8NDw0PDQ4qDioODg0PDg4ODQ8pDw0PDQ8NDykPDQ4ODg4ODg4ODg0PDQ8NDw0PDQ8NDg4ODg4ODg4ODg4ODg0PDQ8NDw0PDQ4ODg4ODg4ODg4ODg4ODg0PDQ8NDw0PDQ8NDw0PDQ4ODg4ODg4ODg0ODg8NDw0PDQ8NDw0PDQ8NDg4ODg4ODg4ODQ8NDw0PKQ8pDykOKg4pDykPDQ8pDwANBQ4qDikPKQ8pDykODg=='\n      command_off: 'JgBMAnE4DikPKQ8NDw0ODg4qDw0ODg4qDikPDQ8pDw0PDQ8pDioODg4pDykPDQ8NDykPDQ4ODioODg4ODg0PDQ8NDw0PDQ8NDw0PDQ4ODg4ODg4ODg0PDQ8NDw0PDQ8NDw0ODg4ODg4ODg4ODikPDQ8NDw0PDQ4ODykOKg4pDw0PDQ8NDw0PDQ8NDg4PDQ4qDikPDQ8NDw0PDQ8qDg0ODg4ODikPDQ8NDw0PDQ8NDw0PDQ4ODg4ODg4ODg0PDQ8NDw0PDQ8NDw0PDQ4ODg4ODg4ODg4ODQ8NDw0PDQ8NDw0ODg4ODg4ODg4ODg4ODg4NDw0PDQ8NDw0PDQ8NDw0NDw4ODg4NDg8NDw0PDQ8NDw0ODg8NDw0OKg4pDykPKQ8pDw0ODg0rDgABqnE4DioOKQ8NDw0PDQ8pDw0PDQ8pDioODg4pDw0PDQ8pDykPDQ4qDikPDQ8NDioPDQ8NDykODg4ODg4ODg4NDw0ODg8NDw0PDQ8NDw0PDQ4ODg4ODg4NDw0PDQ8NDw0PDQ8NDw0ODg4ODioODQ8NDw0PDQ8NDykPKQ4qDg4ODQ8NDw0PDQ8NDw0PDQ4rDSoODg4ODg0PDQ8qDg0PDQ8NDioPDQ4ODg4ODQ8NDw0PDQ8NDw0ODg4ODg4ODg4ODg4ODQ8NDw0PDQ8NDw0ODg4ODg4ODg0PDg4ODg4NDw0PDQ8NDw0PDQ8NDg4PDQ4ODg4ODQ8NDw0PDQ8NDw0PDQ8NDg4ODg4ODg4ODg4NDw0PDQ8NDw0PKg4pDioOKQ8pDw0PDQ8pDwANBQ4pDykPKQ8pDw0ODg=='\n\n- platform: broadlink\n  host: 10.10.10.202\n  mac: 'AA:AA:AA:AA:AA:AA'\n  timeout: 15\n  switches:\n    air2:\n      friendly_name: \"Air Conditioner - Cold 18\"\n      command_on: 'JgBMAnE4DikPKQ8NDw0PDQ8pDw0PDQ4qDioODQ8pDw0PDQ8qDikODg4qDikPDQ8NDykPDQ8NDykODg4ODg4ODg4ODg0PDQ8NDw0PDQ8NDw0ODg8NDg4ODg4ODg4ODg4NDykPDQ8NDw0PDQ8NDykOKg4ODg0PDQ8NDykPDQ8NDw0ODg4ODg4ODg4pDykPDQ8pDykPDQ4ODg4ODg4pDw0PDQ8NDykPDQ8NDw0ODg4ODg4ODg4ODg4ODQ8NDw0PDQ8NDw0PDQ8NDw0ODg4ODg4ODg4NDw0PDQ8NDw0PDQ8NDw0ODg4ODg4ODg4ODg0PDQ8NDw0PDQ8NDw0ODg8NDg4ODg4ODg4ODQ8NDw0PDQ8NDw0PDQ8NDw0OKg4ODg4OKQ8NDw0PKQ8pDwABqnE3DykPKQ8NDg4ODg4qDg4ODg4pDykPDQ8pDw0PDQ8pDikPDQ8pDykPDQ8NDioODg4ODioODg4NDw0PDQ8NDw0PDQ8NDg4ODg4ODg4ODg4ODg0PDQ8NDw0PDQ8NDykODg4ODg4ODg4ODikPKQ8NDw0PDQ8NDioODg4ODg4ODQ8NDw0PDQ8pDykPDQ4qDikPDQ8NDw0PDQ8pDw0PDQ8NDykODg4ODg4ODQ8NDw0PDQ8NDw0PDQ8NDw0ODg4ODg4ODg4NDw0PDQ8NDw0PDQ8NDw0PDQ4ODg4ODg4ODg4ODQ8NDw0PDQ8NDw0PDQ8NDw0ODg4ODg4ODg4NDw0PDQ8NDw0PDQ8NDg4PDQ4ODg4ODg4ODg4OKQ8NDw0PKQ8NDw0OKg4qDgANBQ4ODg4OKQ8NDw0PKQ=='\n      command_off: 'JgBMAnE4DioOKQ8NDg4PDQ8pDw0PDQ4qDioODg4pDw0PDQ8pDykPDQ4qDikPDQ8NDykPDQ8NDykPDQ4ODg4ODg4NDw0PDQ8NDw0PDQ4ODg4ODg4ODg4ODg4ODg0PDQ8NDg4ODg4ODw0PDQ4ODioOKQ8NDw0PDQ8NDykPDQ4ODw0ODg4ODg4ODQ8pDykPDQ8pDioODg4ODg4ODQ8pDw0PDQ8NDykPDQ4ODg4ODg4ODg0PDQ8NDw0PDQ8NDw0PDQ4ODg4ODg4ODg4ODQ8NDw0PDQ8NDw0ODg8NDg4ODg4ODg4ODQ8NDw0PDQ8NDw0PDQ8NDw0ODg4ODg4ODg4NDg4PDQ8NDw0PDQ0PDg4PDQ8NDg4ODg4ODg0PKQ8NDw0PKQ8NDykODg4qDgABqnA5DioOKQ8NDw0PDQ8pDw0PDQ4qDikPDQ8pDw0PDQ8pDykODg4qDikPDQ8NDykPDQ8NDykPDQ4ODg4ODg4NDw0PDQ8NDw0PDQ8NDw0PDQ4ODg4ODg4ODg0PDQ8NDw0PDQ8NDg4ODg4ODioOKQ8NDw0PDQ8NDykPDQ8NDg4ODg4ODg4ODg4pDykPDQ8pDioODg0PDg4ODg4pDw0PDQ8NDykPDQ8NDw0ODg4ODg4ODQ8NDw0PDQ8NDw0PDQ4ODg4ODg4ODg4ODg4NDw0PDQ8NDw0PDQ8NDQ8PDQ4ODg4ODg4ODg0PDQ8NDw0PDQ8NDw0ODg4ODg4ODg4ODg4ODQ8NDw0PDQ8NDg4PDQ8NDg4ODg4ODg4OKQ8NDg4PKQ8NDioPDQ4qDgANBQ8NDw0PKQ8NDykODg=='\n\n- platform: broadlink\n  host: 10.10.10.220\n  mac: 'AA:AA:AA:AA:AA:AA'\n  timeout: 15\n  switches:\n    air3:\n      friendly_name: \"Air Conditioner - Humidity\"\n      command_on: 'JgBMAnE3ECgPKQ8NDw0PDQ8pDw0PDQ8oECgPDQ8pDw0PDQ8pDygQDBAoDykPDQ8NDykPDQ8NDygQDBAMDw0PDQ8NDw0PDQ8NDw0PDQ8NDw0PDBAMEAwPDQ8NDw0PDQ8NDykPDQ8NDw0PDBANDikPDQ8NDw0PDQ8NDykPKBAoDw0PDQ8NDw0PDQ8NDwoSDQ8oECgPDQ8NDw0PDQ8NDw0PDQ8NDygQChIMDw4ODQ8NDw0PDQ8NDw0PDQ8NDwoSDBAMDw0PDQ8NDw0PDQ8NDw0PDQ8NDw0PDBAMDw0PDQ8NDw0PDQ8NDw0PDQ8NDw0PDBAMEAwPDQ8NDw0PDQ8NDw0PDQ8NDw0PDBAMEAwPDQ8NDw0PDQ8NDw0PKQ8oEAwQKA8pDykPDQ8pDwABqXI3DykPKBAMEAwQDA8pDw0PDQ8pDykPDQ8oEAwPDQ8pDykPDQ8pDygQDBAMDykPDQ8NDykPDQ8NDw0PDBAMEAwPDQ8NDw0PDQ8NDw0PDQ8NDw0PDQ8MEAwPDQ8NDykPDQ8NDw0PDQ8NDygQDBAMDwoSDQ8NDykPKQ8pDwwQDBAMDw0PDQ8NDw0PDQ8pDygQDBAMEAwPDQ8NDw0PDBANDykPDQ8NDwwQDBANDg0PDQ8NDw0PDQ8NDw0PDQ8NDwwQDBAMDw0PDQ8NDw0PDQ8NDw0PDQ8NDwwQDBAMDw0PDQ8NDw0PDQ8NDw0PDQ8NDw0PDBAMDw0PDQ8NDw0PDQ8NDw0PDQ8NDw0PDBAMDwoSDQ8NDw0PKQ8pDw0PKBAoDykPDQ8pDwANBQ8oEAwQKA8pDykPDQ=='\n      command_off: 'JgBMAnE4DioOKQ8NDg4PDQ8pDw0PDQ4qDioODg4pDw0PDQ8pDykPDQ4qDikPDQ8NDykPDQ8NDykPDQ4ODg4ODg4NDw0PDQ8NDw0PDQ4ODg4ODg4ODg4ODg4ODg0PDQ8NDg4ODg4ODw0PDQ4ODioOKQ8NDw0PDQ8NDykPDQ4ODw0ODg4ODg4ODQ8pDykPDQ8pDioODg4ODg4ODQ8pDw0PDQ8NDykPDQ4ODg4ODg4ODg0PDQ8NDw0PDQ8NDw0PDQ4ODg4ODg4ODg4ODQ8NDw0PDQ8NDw0ODg8NDg4ODg4ODg4ODQ8NDw0PDQ8NDw0PDQ8NDw0ODg4ODg4ODg4NDg4PDQ8NDw0PDQ0PDg4PDQ8NDg4ODg4ODg0PKQ8NDw0PKQ8NDykODg4qDgABqnA5DioOKQ8NDw0PDQ8pDw0PDQ4qDikPDQ8pDw0PDQ8pDykODg4qDikPDQ8NDykPDQ8NDykPDQ4ODg4ODg4NDw0PDQ8NDw0PDQ8NDw0PDQ4ODg4ODg4ODg0PDQ8NDw0PDQ8NDg4ODg4ODioOKQ8NDw0PDQ8NDykPDQ8NDg4ODg4ODg4ODg4pDykPDQ8pDioODg0PDg4ODg4pDw0PDQ8NDykPDQ8NDw0ODg4ODg4ODQ8NDw0PDQ8NDw0PDQ4ODg4ODg4ODg4ODg4NDw0PDQ8NDw0PDQ8NDQ8PDQ4ODg4ODg4ODg0PDQ8NDw0PDQ8NDw0ODg4ODg4ODg4ODg4ODQ8NDw0PDQ8NDg4PDQ8NDg4ODg4ODg4OKQ8NDg4PKQ8NDioPDQ4qDgANBQ8NDw0PKQ8NDykODg=='\n"
  },
  {
    "path": "themes/amoled.yaml",
    "content": "---\n#\n# Amoled Theme\n#\namoled:\n  accent-color: \"#E45E65\"\n  dark-primary-color: \"var(--accent-color)\"\n  disabled-text-color: \"#7F848E\"\n  divider-color: \"rgba(0, 0, 0, .12)\"\n  google-green-500: \"#39E949\"\n  google-red-500: \"#E45E65\"\n  label-badge-background-color: \"#2E333A\"\n  label-badge-border-color: \"green\"\n  label-badge-red: \"var(--accent-color)\"\n  label-badge-text-color: \"var(--primary-text-color)\"\n  light-primary-color: \"var(--accent-color)\"\n  paper-button-color: \"#5294E2\"\n  paper-button-ink-color: \"#5294E2\"\n  paper-card-background-color: \"#000000\"\n  paper-card-header-color: \"var(--accent-color)\"\n  paper-dialog-background-color: \"#000000\"\n  paper-grey-200: \"#414A59\"\n  paper-grey-50: \"var(--primary-text-color)\"\n  paper-item-icon-active-color: \"#F9C536\"\n  paper-item-icon-color: \"var(--primary-text-color)\"\n  paper-item-icon_-_color: \"green\"\n  paper-item-selected_-_background-color: \"#434954\"\n  paper-listbox-background-color: \"#000000\"\n  paper-listbox-color: \"#FFFFFF)\"\n  paper-slider-active-color: \"var(--accent-color)\"\n  paper-slider-container-color: \"linear-gradient(var(--primary-background-color), var(--secondary-background-color)) no-repeat\"\n  paper-slider-disabled-active-color: \"var(--disabled-text-color)\"\n  paper-slider-disabled-secondary-color: \"var(--disabled-text-color)\"\n  paper-slider-knob-color: \"var(--accent-color)\"\n  paper-slider-knob-start-color: \"var(--accent-color)\"\n  paper-slider-pin-color: \"var(--accent-color)\"\n  paper-slider-secondary-color: \"var(--secondary-background-color)\"\n  paper-tabs-selection-bar-color: \"green\"\n  paper-toggle-button-checked-bar-color: \"var(--accent-color)\"\n  paper-toggle-button-checked-button-color: \"var(--accent-color)\"\n  paper-toggle-button-checked-ink-color: \"var(--accent-color)\"\n  paper-toggle-button-unchecked-bar-color: \"var(--disabled-text-color)\"\n  paper-toggle-button-unchecked-button-color: \"var(--disabled-text-color)\"\n  paper-toggle-button-unchecked-ink-color: \"var(--disabled-text-color)\"\n  primary-background-color: \"#000000\"\n  primary-color: \"#484A4C\"\n  primary-text-color: \"#FFFFFF\"\n  secondary-background-color: \"#383C45\"\n  secondary-text-color: \"#5294E2\"\n  sidebar-icon-color: \"var(--primary-color)\"\n  sidebar-selected-icon-color: \"var(--primary-text-color)\"\n  sidebar-selected-text-color: \"var(--primary-text-color)\"\n  sidebar-text-color: \"var(--primary-color)\"\n  table-row-alternative-background-color: \"#3E424B\"\n  table-row-background-color: \"#353840\"\n  text-primary-color: \"var(--primary-text-color)\"\n"
  },
  {
    "path": "themes/another-dark.yaml",
    "content": "---\n#\n# Another Dark Theme\n#\nanother_dark:\n  disabled-text-color: \"rgba(255, 255, 255, 0.5)\"\n  divider-color: \"rgba(255, 255, 255, 0.12)\"\n  paper-card-background-color: \"#424242\"\n  paper-card-header-color: \"#FFFFFF\"\n  paper-grey-200: \"#616161\"\n  paper-item-icon-color: \"#1ABA92\"\n  paper-listbox-background-color: \"#424242\"\n  paper-listbox-color: \"#FFFFFF\"\n  paper-slider-active-color: \"#1ABA92\"\n  paper-slider-knob-color: \"#1ABA92\"\n  paper-slider-knob-start-color: \"#1ABA92\"\n  paper-slider-pin-color: \"#1ABA92\"\n  paper-slider-secondary-color: \"#33F2D8\"\n  paper-toggle-button-checked-bar-color: \"#1ABA92\"\n  paper-toggle-button-checked-button-color: \"#1ABA92\"\n  paper-toggle-button-checked-ink-color: \"#1ABA92\"\n  primary-background-color: \"#303030\"\n  primary-color: \"#1ABA92\"\n  primary-text-color: \"#FFFFFF\"\n  secondary-background-color: \"#303030\"\n  secondary-text-color: \"rgba(255, 255, 255, 0.7)\"\n  table-row-alternative-background-color: transparant\n  table-row-background-color: transparant\n"
  },
  {
    "path": "themes/binary_sensors.yaml",
    "content": "  #- platform: iss\n  \n  \n  # - platform: mqtt\n  #   state_topic: dummy/floorplan/sensor\n  #   name: Floorplan\n  - platform: workday\n    country: IT\n    province: RM\n    workdays: [mon, tue, wed, thu, fri]\n\n  - platform: meteoalarm\n    country: 'IT'\n    province: 'Lazio'\n\n  # - platform: template\n  #   sensors:\n  #     nico_battery_low:\n  #       value_template: \"{{ state_attr('device_tracker.nico_nico', 'battery') < 36 }}\"\n  #       friendly_name: 'Nico Tel Battery is low'\n\n  # - platform: template\n  #   sensors:\n  #     mom_battery_low:\n  #       value_template: \"{{ state_attr('device_tracker.mamma_mamma', 'battery') < 36 }}\"\n  #       friendly_name: 'Mom Tel Battery is low'\n\n  # - platform: template\n  #   sensors:\n  #     nico_car:\n  #       value_template: \"{{ state_attr('device_tracker.nico_nico', 'velocity') > 30 }}\"\n  #       friendly_name: 'Nico in Car'\n\n  # - platform: template\n  #   sensors:\n  #     mom_car:\n  #       value_template: \"{{ state_attr('device_tracker.mamma_mamma', 'velocity') > 30 }}\"\n  #       friendly_name: 'Mom in Car'\n\n\n  - platform: mqtt\n    name: \"My Computer - Connected\"\n    state_topic: \"iotlink/workgroup/my-computer/lwt\"\n    value_template: \"{{ value }}\"\n    payload_on: \"ON\"\n    payload_off: \"OFF\"\n    device_class: \"connectivity\"\n    qos: 1\n\n  - platform: mqtt\n    name: \"My Computer - Charging\"\n    state_topic: \"iotlink/workgroup/my-computer/windows-monitor/stats/power/status\"\n    value_template: \"{{ value }}\"\n    payload_on: \"Online\"\n    payload_off: \"Offline\"\n    device_class: \"plug\"\n    availability_topic: \"iotlink/workgroup/my-computer/lwt\"\n    payload_available: \"ON\"\n    payload_not_available: \"OFF\"\n    qos: 1\n\n  # - platform: mqtt\n  #   name: \"My Computer - Battery Status\"\n  #   state_topic: \"iotlink/workgroup/my-computer/windows-monitor/stats/battery/status\"\n  #   value_template: \"{{ value }}\"\n  #   payload_on: \"Online\"\n  #   payload_off: \"Offline\"\n  #   device_class: \"plug\"\n  #   availability_topic: \"iotlink/workgroup/my-computer/lwt\"\n  #   payload_available: \"ON\"\n  #   payload_not_available: \"OFF\"\n  #   qos: 1\n\n"
  },
  {
    "path": "themes/darkblue.yaml",
    "content": "\n    darkblue:\n      primary-color: \"#396FB6\"\n      light-primary-color: \"#77a0d4\"\n      dark-primary-color: \"#3539ce\"\n      text-primary-color: \"#ffffff\"\n      primary-background-color: \"#37464f\"\n      sidebar-text_-_background: \"#3c4348\"\n      paper-card-background-color: \"#263137\"\n      paper-card-header-color: \"var(--text-primary-color)\"\n      secondary-background-color: \"var(--primary-background-color)\"\n      primary-text-color: \"var(--text-primary-color)\"\n      secondary-text-color: \"var(--primary-color)\"\n      paper-listbox-background-color: \"var(--sidebar-text_-_background)\"\n      paper-toggle-button-checked-ink-color: \"var(--dark-primary-color)\"\n      paper-toggle-button-checked-button-color: \"var(--dark-primary-color)\"\n      paper-toggle-button-checked-bar-color: \"var(--dark-primary-color)\"\n      paper-slider-knob-color: \"var(--primary-color)\"\n      paper-slider-knob-start-color: \"var(--primary-color)\"\n      paper-slider-pin-color: \"var(--primary-color)\"\n      paper-slider-active-color: \"var(--primary-color)\"\n      paper-slider-secondary-color: \"var(--light-primary-color)\"\n      paper-slider-container-color: \"var(--sidebar-text_-_background)\"\n      paper-progress-secondary-color: \"var(--sidebar-text_-_background)\"\n      paper-item-selected_-_background-color: \"var(--primary-color)\"\n      paper-item-icon_-_color: \"var(--text-primary-color)\"\n      paper-item-icon-color: \"var(--sidebar-text_-_background)\"\n      paper-item-icon-active-color: \"var(--primary-color)\"\n      paper-grey-50: \"var(--sidebar-text_-_background)\"\n      paper-grey-200: \"var(--primary-background-color)\"\n      label-badge-background-color: \"var(--sidebar-text_-_background)\"\n      label-badge-text-color: \"var(--text-primary-color)\"\n      label-badge-red: \"var(--primary-color)\"\n      label-badge-blue: \"var(--light-primary-color)\"\n      label-badge-green: \"var(--dark-primary-color)\"\n      label-badge-yellow: \"var(--text-primary-color)\"\n      label-badge-grey: \"var(--paper-grey-500)\"\n      table-row-background-color: \"var(--paper-card-background-color)\"\n      table-row-alternative-background-color: \"var(--sidebar-text_-_background)\"\n"
  },
  {
    "path": "themes/darkcyan.yaml",
    "content": "    darkcyan:\n# Main colors that can be changed\n      primary-color: \"#00bcd4\"\n      disabled-text-color: \"#545454\"\n      divider-color: \"rgba(255, 255, 255, 0.12)\"\n      paper-card-background-color: \"#4e4e4e\"\n      paper-grey-200: \"#191919\"\n      paper-item-icon-color: \"#d3d3d3\"\n      paper-listbox-background-color: \"#202020\"\n      paper-listbox-color: \"#FFFFFF\"      \n      primary-background-color: \"#303030\"\n      primary-text-color: \"#cfcfcf\"      \n      secondary-background-color: \"#2b2b2b\"\n      secondary-text-color: \"#04a7bc\"\n# Colors based on variables, see above\n      label-badge-background-color: \"var(--secondary-background-color)\"\n      label-badge-text-color: \"var(--text-primary-color)\"\n      paper-card-header-color: \"#var(--paper-item-icon-color)\"\n      paper-grey-50: \"var(--primary-text-color)\"\n      paper-item-icon-active-color: \"var(--primary-color)\"\n      paper-item-icon_-_color: \"var(--primary-text-color)\"\n      paper-slider-active-color: \"var(--primary-color)\"\n      paper-slider-knob-color: \"var(--primary-color)\"\n      paper-slider-knob-start-color: \"var(--primary-color)\"\n      paper-slider-pin-color: \"var(--primary-color)\"\n      paper-slider-secondary-color: \"var(--light-primary-color)\"     \n      paper-toggle-button-checked-ink-color: \"var(--dark-primary-color)\"\n      paper-toggle-button-checked-button-color: \"var(--primary-color)\"\n      paper-toggle-button-checked-bar-color: \"var(--light-primary-color)\"\n      paper-toggle-button-unchecked-bar-color: \"var(--primary-text-color)\""
  },
  {
    "path": "themes/darkorange.yaml",
    "content": "\n    darkorange:\n      primary-color: \"#ff9800\"\n      light-primary-color: \"#ffc947\"\n      dark-primary-color: \"#c66900\"\n      text-primary-color: \"#ffffff\"\n      primary-background-color: \"#37464f\"\n      sidebar-text_-_background: \"#62717b\"\n      paper-card-background-color: \"#263137\"\n      paper-card-header-color: \"var(--text-primary-color)\"\n      secondary-background-color: \"var(--primary-background-color)\"\n      primary-text-color: \"var(--text-primary-color)\"\n      secondary-text-color: \"var(--primary-color)\"\n      paper-listbox-background-color: \"var(--sidebar-text_-_background)\"\n      paper-toggle-button-checked-ink-color: \"var(--dark-primary-color)\"\n      paper-toggle-button-checked-button-color: \"var(--dark-primary-color)\"\n      paper-toggle-button-checked-bar-color: \"var(--dark-primary-color)\"\n      paper-slider-knob-color: \"var(--primary-color)\"\n      paper-slider-knob-start-color: \"var(--primary-color)\"\n      paper-slider-pin-color: \"var(--primary-color)\"\n      paper-slider-active-color: \"var(--primary-color)\"\n      paper-slider-secondary-color: \"var(--light-primary-color)\"\n      paper-slider-container-color: \"var(--sidebar-text_-_background)\"\n      paper-progress-secondary-color: \"var(--sidebar-text_-_background)\"\n      paper-item-selected_-_background-color: \"var(--primary-color)\"\n      paper-item-icon_-_color: \"var(--text-primary-color)\"\n      paper-item-icon-color: \"var(--sidebar-text_-_background)\"\n      paper-item-icon-active-color: \"var(--primary-color)\"\n      paper-grey-50: \"var(--sidebar-text_-_background)\"\n      paper-grey-200: \"var(--primary-background-color)\"\n      label-badge-background-color: \"var(--sidebar-text_-_background)\"\n      label-badge-text-color: \"var(--text-primary-color)\"\n      label-badge-red: \"var(--primary-color)\"\n      label-badge-blue: \"var(--light-primary-color)\"\n      label-badge-green: \"var(--dark-primary-color)\"\n      label-badge-yellow: \"var(--text-primary-color)\"\n      label-badge-grey: \"var(--paper-grey-500)\"\n      table-row-background-color: \"var(--paper-card-background-color)\"\n      table-row-alternative-background-color: \"var(--sidebar-text_-_background)\""
  },
  {
    "path": "themes/darkred.yaml",
    "content": "    darkred:\n# Main colors that can be changed\n      dark-primary-color: \"#c66900\"\n      disabled-text-color: \"#545454\"\n      divider-color: \"rgba(255, 255, 255, 0.12)\"\n      light-primary-color: \"#e06c6c\"\n      paper-card-background-color: \"#1d1d1d\"\n      paper-grey-200: \"#191919\"\n      paper-item-icon-color: \"#d3d3d3\"\n      paper-listbox-background-color: \"#202020\"\n      primary-background-color: \"#303030\"\n      primary-color: \"#d32f2f\"\n      primary-text-color: \"#cfcfcf\"\n      secondary-background-color: \"#131313\"\n      sidebar-text_-_background: \"#62717b\" \n# Colors based on variables, see above\n      paper-card-header-color: \"var(--paper-item-icon-color)\" \n      paper-item-icon-active-color: \"var(--primary-color)\"\n      paper-item-icon_-_color: \"var(--primary-text-color)\"\n      paper-listbox-color: \"var(--primary-text-color)\"\n      paper-grey-50: \"var(--primary-text-color)\"\n      paper-slider-active-color: \"var(--primary-color)\"\n      paper-slider-knob-color: \"var(--primary-color)\"\n      paper-slider-knob-start-color: \"var(--primary-color)\"\n      paper-slider-pin-color: \"var(--primary-color)\"\n      paper-slider-secondary-color: \"var(--light-primary-color)\"\n      paper-toggle-button-checked-ink-color: \"var(--dark-primary-color)\"\n      paper-toggle-button-checked-button-color: \"var(--primary-color)\"\n      paper-toggle-button-checked-bar-color: \"var(--light-primary-color)\"\n      paper-toggle-button-unchecked-bar-color: \"var(--primary-text-color)\"\n      secondary-text-color: \"var(--primary-color)\"\n      table-row-background-color: \"var(--paper-card-background-color)\"\n      table-row-alternative-background-color: \"var(--sidebar-text_-_background)\""
  },
  {
    "path": "themes/grey-night.yaml",
    "content": "---\n#\n# Grey Night Theme\n#\ngrey_night:\n  accent-color: \"hsl(var(--huesat) 30%)\"\n  base-hue: \"220\"\n  base-sat: \"5%\"\n  dark-divider-opacity: \"0\"\n  dark-primary-color: \"hsl(var(--huesat) 60%)\"\n  dark-secondary-opacity: \"1\"\n  disabled-text-color: \"hsl(var(--huesat) 70%)\"\n  divider-color: \"hsla(0, 0%, 0%, 0)\"\n  huesat: \"var(--base-hue), var(--base-sat),\"\n  label-badge-background-color: \"var(--paper-card-background-color)\"\n  label-badge-border-color: \"var(--label-badge-red)\"\n  label-badge-red: \"hsl(20, 50%, 25%)\"\n  label-badge-text-color: \"var(--primary-text-color)\"\n  light-divider-opacity: \"0\"\n  light-primary-color: \"hsl(var(--huesat) 90%)\"\n  lumo-base-color: \"var(--medium-grey-color)\"\n  lumo-body-text-color: \"var(--primary-text-color)\"\n  lumo-header-text-color: \"var(--lumo-body-text-color)\"\n  lumo-primary-color-10pct: \"rgba(37,129,172, .1)\"\n  lumo-primary-color-50pct: \"rgba(37,129,172, .5)\"\n  lumo-primary-color: \"var(--primary-color)\"\n  lumo-primary-text-color: \"var(--primary-color)\"\n  lumo-secondary-text-color: \"var(--primary-color)\"\n  lumo-shade-10pct: \"rgba(41, 41, 41, .1)\"\n  lumo-shade-20pct: \"rgba(41, 41, 41, .2)\"\n  lumo-shade-30pct: \"rgba(41, 41, 41, .3)\"\n  lumo-shade-40pct: \"rgba(41, 41, 41, .4)\"\n  lumo-shade-50pct: \"rgba(41, 41, 41, .5)\"\n  lumo-shade-5pct: \"rgba(41, 41, 41, .05)\"\n  lumo-shade-60pct: \"rgba(41, 41, 41, .6)\"\n  lumo-shade-70pct: \"rgba(41, 41, 41, .7)\"\n  lumo-shade-80pct: \"rgba(41, 41, 41, .8)\"\n  lumo-shade-90pct: \"rgba(41, 41, 41, .9)\"\n  lumo-shade: \"var(--medium-grey-color)\"\n  lumo-tertiary-text-color: \"var(--lumo-body-text-color)\"\n  lumo-tint-5pct: \"var(--darker-grey-color)\"\n  medium-grey-color: \"#202020\"\n  paper-button-ink-color: \"hsl(var(--huesat) 50%)\"\n  paper-card-background-color: \"hsl(var(--huesat) 12%)\"\n  paper-card-header-color: \"hsl(var(--huesat) 90%)\"\n  paper-dialog-background-color: \"var(--paper-card-background-color)\"\n  paper-dialog-color: \"hsl(var(--base-hue), 20%, 80%)\"\n  paper-font-body1_-_font-weight: \"300\"\n  paper-font-headline_-_font-weight: \"400\"\n  paper-font-headline_-_letter-spacing: \"-0.5px\"\n  paper-grey-200: \"hsl(var(--huesat) 10%)\"\n  paper-grey-50: \"hsl(var(--huesat) 50%)\"\n  paper-input-container-color: \"hsl(var(--huesat) 60%)\"\n  paper-item-icon_-_color: \"var(--paper-item-icon-color)\"\n  paper-item-icon-color: \"hsl(var(--huesat) 40%)\"\n  paper-item-selected_-_background-color: \"hsla(0, 0%, 0%, 0.2)\"\n  paper-item-selected_-_color: \"hsl(var(--huesat) 20%)\"\n  paper-listbox-background-color: \"hsl(var(--huesat) 16%)\"\n  paper-listbox-color: \"hsl(var(--huesat) 50%)\"\n  paper-slider-active-color: \"hsl(var(--base-hue), 90%, 50%)\"\n  paper-slider-container-color: \"hsl(var(--huesat) 28%)\"\n  paper-slider-disabled-active-color: \"hsl(var(--base-hue), 80%, 25%)\"\n  paper-slider-disabled-secondary-color: \"hsl(var(--base-hue), 80%, 25%)\"\n  paper-slider-knob-color: \"hsl(var(--base-hue), 90%, 50%)\"\n  paper-slider-knob-start-color: \"hsl(var(--base-hue), 80%, 25%)\"\n  paper-slider-pin-color: \"hsl(var(--base-hue), 90%, 50%)\"\n  paper-slider-secondary-color: \"hsl(var(--huesat) 90%)\"\n  paper-tab-ink: \"hsl(var(--huesat) 70%)\"\n  paper-tabs-selection-bar-color: \"hsla(0, 0%, 0%, 0.2)\"\n  paper-toggle-button-checked-bar-color: \"hsl(var(--huesat) 25%)\"\n  paper-toggle-button-checked-button-color: \"hsl(var(--base-hue), 90%, 50%)\"\n  paper-toggle-button-unchecked-bar-color: \"hsl(var(--huesat) 5%)\"\n  paper-toggle-button-unchecked-button-color: \"hsl(var(--huesat) 25%)\"\n  primary-background-color: \"hsl(var(--huesat) 16%)\"\n  primary-color: \"hsl(var(--huesat) 36%)\"\n  primary-text-color: \"hsl(var(--huesat) 90%)\"\n  secondary-background-color: \"hsl(var(--huesat) 16%)\"\n  secondary-text-color: \"hsl(var(--huesat) 80%)\"\n  shadow-elevation-16dp_-_box-shadow: \"0px 0px 0px 0px hsl(var(--huesat) 25%)\"\n  shadow-elevation-2dp_-_box-shadow: \"0px 0px 0px 0px hsl(var(--huesat) 10%)\"\n  sidebar-icon-color: \"hsl(var(--huesat) 50%)\"\n  sidebar-text_-_color: \"hsl(var(--huesat) 90%)\"\n  sidebar-text-color: \"hsl(var(--huesat) 90%)\"\n  table-row-alternative-background-color: \"hsl(var(--huesat) 10%)\"\n  table-row-background-color: \"hsl(var(--huesat) 12%)\"\n  text-primary-color: \"hsl(var(--huesat) 90%)\"\n"
  },
  {
    "path": "themes/grey_night.yaml",
    "content": "---\n#\n# Grey Night Theme\n#\ngrey_night:\n  accent-color: \"hsl(var(--huesat) 30%)\"\n  base-hue: \"220\"\n  base-sat: \"5%\"\n  dark-divider-opacity: \"0\"\n  dark-primary-color: \"hsl(var(--huesat) 60%)\"\n  dark-secondary-opacity: \"1\"\n  disabled-text-color: \"hsl(var(--huesat) 70%)\"\n  divider-color: \"hsla(0, 0%, 0%, 0)\"\n  huesat: \"var(--base-hue), var(--base-sat),\"\n  label-badge-background-color: \"var(--paper-card-background-color)\"\n  label-badge-border-color: \"var(--label-badge-red)\"\n  label-badge-red: \"hsl(20, 50%, 25%)\"\n  label-badge-text-color: \"var(--primary-text-color)\"\n  light-divider-opacity: \"0\"\n  light-primary-color: \"hsl(var(--huesat) 90%)\"\n  lumo-base-color: \"var(--medium-grey-color)\"\n  lumo-body-text-color: \"var(--primary-text-color)\"\n  lumo-header-text-color: \"var(--lumo-body-text-color)\"\n  lumo-primary-color: \"var(--primary-color)\"\n  lumo-primary-color-10pct: \"rgba(37,129,172, .1)\"\n  lumo-primary-color-50pct: \"rgba(37,129,172, .5)\"\n  lumo-primary-text-color: \"var(--primary-color)\"\n  lumo-secondary-text-color: \"var(--primary-color)\"\n  lumo-shade: \"var(--medium-grey-color)\"\n  lumo-shade-10pct: \"rgba(41, 41, 41, .1)\"\n  lumo-shade-20pct: \"rgba(41, 41, 41, .2)\"\n  lumo-shade-30pct: \"rgba(41, 41, 41, .3)\"\n  lumo-shade-40pct: \"rgba(41, 41, 41, .4)\"\n  lumo-shade-50pct: \"rgba(41, 41, 41, .5)\"\n  lumo-shade-5pct: \"rgba(41, 41, 41, .05)\"\n  lumo-shade-60pct: \"rgba(41, 41, 41, .6)\"\n  lumo-shade-70pct: \"rgba(41, 41, 41, .7)\"\n  lumo-shade-80pct: \"rgba(41, 41, 41, .8)\"\n  lumo-shade-90pct: \"rgba(41, 41, 41, .9)\"\n  lumo-tertiary-text-color: \"var(--lumo-body-text-color)\"\n  lumo-tint-5pct: \"var(--darker-grey-color)\"\n  medium-grey-color: \"#202020\"\n  paper-button-ink-color: \"hsl(var(--huesat) 50%)\"\n  paper-card-background-color: \"hsl(var(--huesat) 12%)\"\n  paper-card-header-color: \"hsl(var(--huesat) 90%)\"\n  paper-dialog-background-color: \"var(--paper-card-background-color)\"\n  paper-dialog-color: \"hsl(var(--base-hue), 20%, 80%)\"\n  paper-font-body1_-_font-weight: \"300\"\n  paper-font-headline_-_font-weight: \"400\"\n  paper-font-headline_-_letter-spacing: \"-0.5px\"\n  paper-grey-200: \"hsl(var(--huesat) 10%)\"\n  paper-grey-50: \"hsl(var(--huesat) 50%)\"\n  paper-input-container-color: \"hsl(var(--huesat) 60%)\"\n  paper-item-icon-color: \"hsl(var(--huesat) 40%)\"\n  paper-item-icon_-_color: \"var(--paper-item-icon-color)\"\n  paper-item-selected_-_background-color: \"hsla(0, 0%, 0%, 0.2)\"\n  paper-item-selected_-_color: \"hsl(var(--huesat) 20%)\"\n  paper-listbox-background-color: \"hsl(var(--huesat) 16%)\"\n  paper-listbox-color: \"hsl(var(--huesat) 50%)\"\n  paper-slider-active-color: \"hsl(var(--base-hue), 90%, 50%)\"\n  paper-slider-container-color: \"hsl(var(--huesat) 28%)\"\n  paper-slider-disabled-active-color: \"hsl(var(--base-hue), 80%, 25%)\"\n  paper-slider-disabled-secondary-color: \"hsl(var(--base-hue), 80%, 25%)\"\n  paper-slider-knob-color: \"hsl(var(--base-hue), 90%, 50%)\"\n  paper-slider-knob-start-color: \"hsl(var(--base-hue), 80%, 25%)\"\n  paper-slider-pin-color: \"hsl(var(--base-hue), 90%, 50%)\"\n  paper-slider-secondary-color: \"hsl(var(--huesat) 90%)\"\n  paper-tab-ink: \"hsl(var(--huesat) 70%)\"\n  paper-tabs-selection-bar-color: \"hsla(0, 0%, 0%, 0.2)\"\n  paper-toggle-button-checked-bar-color: \"hsl(var(--huesat) 25%)\"\n  paper-toggle-button-checked-button-color: \"hsl(var(--base-hue), 90%, 50%)\"\n  paper-toggle-button-unchecked-bar-color: \"hsl(var(--huesat) 5%)\"\n  paper-toggle-button-unchecked-button-color: \"hsl(var(--huesat) 25%)\"\n  primary-background-color: \"hsl(var(--huesat) 16%)\"\n  primary-color: \"hsl(var(--huesat) 36%)\"\n  primary-text-color: \"hsl(var(--huesat) 90%)\"\n  secondary-background-color: \"hsl(var(--huesat) 16%)\"\n  secondary-text-color: \"hsl(var(--huesat) 80%)\"\n  shadow-elevation-16dp_-_box-shadow: \"0px 0px 0px 0px hsl(var(--huesat) 25%)\"\n  shadow-elevation-2dp_-_box-shadow: \"0px 0px 0px 0px hsl(var(--huesat) 10%)\"\n  sidebar-icon-color: \"hsl(var(--huesat) 50%)\"\n  sidebar-text-color: \"hsl(var(--huesat) 90%)\"\n  sidebar-text_-_color: \"hsl(var(--huesat) 90%)\"\n  table-row-alternative-background-color: \"hsl(var(--huesat) 10%)\"\n  table-row-background-color: \"hsl(var(--huesat) 12%)\"\n  text-primary-color: \"hsl(var(--huesat) 90%)\"\n"
  },
  {
    "path": "themes/material_dark_green.yaml",
    "content": "---\n#\n# Material Dark Green Theme\n#\nmaterial_dark_green:\n  dark-primary-color: \"var(--red)\"\n  dark_green: \"#017775\"\n  dark_grey: \"#232326\"\n  label-badge-background-color: \"var(--light_grey)\"\n  label-badge-blue: \"var(--pink)\"\n  label-badge-green: \"var(--pink)\"\n  label-badge-grey: \"var(--pink)\"\n  label-badge-red: \"var(--red)\"\n  label-badge-text-color: \"var(--white)\"\n  label-badge-yellow: \"var(--pink)\"\n  light-primary-color: \"var(--red)\"\n  light_green: \"#08a8a5\"\n  light_grey: \"#344249\"\n  paper-card-background-color: \"var(--light_grey)\"\n  paper-card-header-color: \"var(--white)\"\n  paper-grey-200: \"var(--dark_green)\"\n  paper-grey-50: \"var(--light_green)\"\n  paper-item-icon-active-color: \"var(--yellow)\"\n  paper-item-icon-color: \"var(--dark_green)\"\n  paper-item-icon_-_color: \"var(--pink)\"\n  paper-item-selected_-_background-color: \"var(--light_green)\"\n  paper-listbox-background-color: \"var(--light_grey)\"\n  paper-progress-secondary-color: \"var(--pink)\"\n  paper-slider-active-color: \"var(--yellow)\"\n  paper-slider-container-color: \"var(--red)\"\n  paper-slider-knob-color: \"var(--yellow)\"\n  paper-slider-knob-start-color: \"var(--red)\"\n  paper-slider-pin-color: \"var(--pink)\"\n  paper-slider-secondary-color: \"var(--pink)\"\n  paper-toggle-button-checked-bar-color: \"var(--yellow)\"\n  paper-toggle-button-checked-button-color: \"var(--yellow)\"\n  paper-toggle-button-checked-ink-color: \"var(--pink)\"\n  pink: \"#ff0090\"\n  primary-background-color: \"var(--dark_grey)\"\n  primary-color: \"var(--light_green)\"\n  primary-text-color: \"var(--white)\"\n  red: \"#d10404\"\n  secondary-background-color: \"var(--dark_grey)\"\n  secondary-text-color: \"var(--white)\"\n  sidebar-text_-_background: \"var(--pink)\"\n  table-row-alternative-background-color: \"var(--dark_grey)\"\n  table-row-background-color: \"var(--light_grey)\"\n  text-primary-color: \"var(--pink)\"\n  white: \"#f7f7f7\"\n  yellow: \"#fffa0c\"\n"
  },
  {
    "path": "themes/material_dark_pink.yaml",
    "content": "---\n#\n# Material Dark Pink Theme\n#\nmaterial_dark_pink:\n  accent: \"#FF4081\"\n  accent-color: \"var(--accent)\"\n  card-background-color: \"#1D1D1D\"\n  dark-primary-color: \"var(--accent)\"\n  disabled-text-color: \"#FFFFFF61\"\n  divider-color: \"#2D2D2D\"\n  ha-label-badge-color: \"var(--accent)\"\n  label-badge-background-color: \"#121212\"\n  label-badge-text-color: \"var(--secondary-text-color)\"\n  light-primary-color: \"var(--accent)\"\n  lumo-base-color: \"#2D2D2D\"\n  lumo-body-text-color: \"var(--primary-text-color)\"\n  lumo-box-shadow-m: \"none\"\n  lumo-header-text-color: \"var(--primary-text-color)\"\n  lumo-primary-color: \"var(--accent)\"\n  lumo-primary-color-10pct: \"#2D2D2D\"\n  lumo-primary-color-50pct: \"none\"\n  lumo-primary-contrast-color: \"var(--primary-text-color)\"\n  lumo-shade-5pct: \"#272727\"\n  lumo-tertiary-text-color: \"var(--secondary-text-color)\"\n  lumo-tint-5pct: \"none\"\n  mdc-theme-primary: \"var(--accent)\"\n  paper-card-background-color: \"#1D1D1D\"\n  paper-checkbox-checked-color: \"var(--accent)\"\n  paper-checkbox-checked-ink-color: \"var(--accent)\"\n  paper-dropdown-menu-focus-color: \"var(--accent)\"\n  paper-grey-200: \"#272727\"\n  paper-input-container-focus-color: \"var(--accent)\"\n  paper-radio-button-checked-color: \"var(--accent)\"\n  paper-tab-ink: \"var(--accent)\"\n  paper-toggle-button-checked-bar-color: \"var(--accent)\"\n  paper-toggle-button-checked-button-color: \"var(--accent)\"\n  paper-toggle-button-checked-ink-color: \"var(--accent)\"\n  paper-toggle-button-unchecked-bar-color: \"#787878\"\n  paper-toggle-button-unchecked-button-color: \"#A5A5A5\"\n  primary-background-color: \"#121212\"\n  primary-color: \"#1D1D1D\"\n  primary-text-color: \"#FFFFFFDE\"\n  secondary-background-color: \"#1D1D1D\"\n  secondary-text-color: \"#FFFFFF99\"\n  sidebar-icon-color: \"#A0A0A0\"\n  sidebar-selected-icon-color: \"var(--accent)\"\n  sidebar-selected-text-color: \"var(--accent)\"\n  slider-color: \"var(--accent)\"\n  state-icon-active-color: \"var(--accent)\"\n  state-icon-color: \"#A0A0A0\"\n  toggle-button-color: \"var(--accent)\"\n"
  },
  {
    "path": "themes/midnight.yaml",
    "content": "    midnight:\n# Main colors\n      primary-color: '#5294E2'                                                        # Header\n      accent-color: '#E45E65'                                                         # Accent color\n      dark-primary-color: 'var(--accent-color)'                                       # Hyperlinks                                         \n      light-primary-color: 'var(--accent-color)'                                      # Horizontal line in about\n                                                                             \n# Text colors                                                                  \n      primary-text-color: '#FFFFFF'                                                   # Primary text colour, here is referencing dark-primary-color\n      text-primary-color: 'var(--primary-text-color)'                                 # Primary text colour\n      secondary-text-color: '#5294E2'                                                 # For secondary titles in more info boxes etc.\n      disabled-text-color: '#7F848E'                                                  # Disabled text colour\n      label-badge-border-color: 'green'                                               # Label badge border, just a reference value   \n\n# Background colors                                                            \n      primary-background-color: '#383C45'                                             # Settings background\n      secondary-background-color: '#383C45'                                           # Main card UI background  \n      divider-color: 'rgba(0, 0, 0, .12)'                                             # Divider \n  \n# Table rows                                                                   \n      table-row-background-color: '#353840'                                           # Table row\n      table-row-alternative-background-color: '#3E424B'                               # Table row alternative\n                                                                             \n# Nav Menu                                                                   \n      paper-listbox-color: 'var(--primary-color)'                                     # Navigation menu selection hoover\n      paper-listbox-background-color: '#2E333A'                                       # Navigation menu background\n      paper-grey-50: 'var(--primary-text-color)'                                   \n      paper-grey-200: '#414A59'                                                       # Navigation menu selection\n                                                                             \n# Paper card                                                               \n      paper-card-header-color: 'var(--accent-color)'                                  # Card header text colour\n      paper-card-background-color: '#434954'                                          # Card background colour\n      paper-dialog-background-color: '#434954'                                        # Card dialog background colour\n      paper-item-icon-color: 'var(--primary-text-color)'                              # Icon color\n      paper-item-icon-active-color: '#F9C536'                                         # Icon color active\n      paper-item-icon_-_color: 'green'           \n      paper-item-selected_-_background-color: '#434954'                               # Popup item select                      \n      paper-tabs-selection-bar-color: 'green'\n\n# Labels \n      label-badge-red: 'var(--accent-color)'                                          # References the brand colour label badge border\n      label-badge-text-color: 'var(--primary-text-color)'                             # Now same as label badge border but that's a matter of taste\n      label-badge-background-color: '#2E333A'                                         # Same, but can also be set to transparent here\n\n# Switches\n      paper-toggle-button-checked-button-color: 'var(--accent-color)'\n      paper-toggle-button-checked-bar-color: 'var(--accent-color)'\n      paper-toggle-button-checked-ink-color: 'var(--accent-color)'\n      paper-toggle-button-unchecked-button-color: 'var(--disabled-text-color)'\n      paper-toggle-button-unchecked-bar-color: 'var(--disabled-text-color)'\n      paper-toggle-button-unchecked-ink-color: 'var(--disabled-text-color)'  \n\n# Sliders\n      paper-slider-knob-color: 'var(--accent-color)'\n      paper-slider-knob-start-color: 'var(--accent-color)'\n      paper-slider-pin-color: 'var(--accent-color)'\n      paper-slider-active-color: 'var(--accent-color)'\n      paper-slider-container-color: 'linear-gradient(var(--primary-background-color), var(--secondary-background-color)) no-repeat'\n      paper-slider-secondary-color: 'var(--secondary-background-color)'\n      paper-slider-disabled-active-color: 'var(--disabled-text-color)'\n      paper-slider-disabled-secondary-color: 'var(--disabled-text-color)'\n\n# Google colors\n      google-red-500: '#E45E65'\n      google-green-500: '#39E949'"
  },
  {
    "path": "themes/slate.yaml",
    "content": "slate:\n  # Main colors\n  primary-color: '#2980b9'\n  accent-color: '#b58e31'\n  dark-primary-color: '#2980b9'\n  light-primary-color: '#2980b9'\n  # Text colors\n  primary-text-color: '#FFFFFF'\n  text-primary-color: 'var(--primary-text-color)'\n  secondary-text-color: '#b58e31'\n  disabled-text-color: '#777777'\n  label-badge-border-color: 'green'\n  # Sidebar\n  sidebar-icon-color: '#777777'\n  # Background colors\n  primary-background-color: '#222222'\n  secondary-background-color: '#222222'\n  divider-color: 'rgba(0, 0, 0, .12)'\n  table-row-background-color: '#292929'\n  table-row-alternative-background-color: '#292929'\n  # Nav Menu\n  paper-listbox-color: '#777777'\n  paper-listbox-background-color: '#141414'\n  paper-grey-50: 'var(--primary-text-color)'\n  paper-grey-200: '#222222'\n  # Paper card\n  paper-card-header-color: '#2980b9'\n  paper-card-background-color: '#292929'\n  paper-dialog-background-color: '#292929'\n  paper-item-icon-color: 'var(--primary-text-color)'\n  paper-item-icon-active-color: '#b58e31'\n  paper-item-icon_-_color: 'green'\n  paper-item-selected_-_background-color: '#292929'\n  paper-tabs-selection-bar-color: 'green'\n  # Labels\n  label-badge-red: 'var(--primary-color)'\n  label-badge-text-color: 'var(--primary-text-color)'\n  label-badge-background-color: '#222222'\n  # Switches\n  paper-toggle-button-checked-button-color: '#2980b9'\n  paper-toggle-button-checked-bar-color: '#2980b9'\n  paper-toggle-button-checked-ink-color: '#2980b9'\n  paper-toggle-button-unchecked-button-color: 'var(--disabled-text-color)'\n  paper-toggle-button-unchecked-bar-color: 'var(--disabled-text-color)'\n  paper-toggle-button-unchecked-ink-color: 'var(--disabled-text-color)'\n  switch-checked-color: 'var(--paper-toggle-button-checked-button-color)'\n  switch-unchecked-color: 'var(--disabled-text-color)'\n  switch-unchecked-button-color: 'var(--disabled-text-color)'\n  switch-unchecked-track-color: 'var(--disabled-text-color)'\n  # Sliders\n  paper-slider-knob-color: '#2980b9'\n  paper-slider-knob-start-color: '#2980b9'\n  paper-slider-pin-color: '#2980b9'\n  paper-slider-active-color: '#2980b9'\n  paper-slider-container-color: 'linear-gradient(var(--primary-background-color), var(--secondary-background-color)) no-repeat'\n  paper-slider-secondary-color: 'var(--secondary-background-color)'\n  paper-slider-disabled-active-color: 'var(--disabled-text-color)'\n  paper-slider-disabled-secondary-color: 'var(--disabled-text-color)'\n  # Google colors\n  google-red-500: '#b93829'\n  google-green-500: '#2980b9'\n  # Changes to fix history/logbook menus\n  lumo-primary-text-color: '#2980b9'\n  lumo-secondary-text-color: '#2980b9'\n  lumo-primary-color: '#2980b9'\n  # Calendar day numbers\n  lumo-body-text-color: '#b58e31'\n  # Calendar/Date-Picker Background\n  lumo-base-color: '#222222'\n  # Month/Year header\n  lumo-header-text-color: 'var(--lumo-body-text-color)'\n  # DayOfWeek Header\n  lumo-tertiary-text-color: 'var(--lumo-body-text-color)'\n  lumo-shade: '#222222'\n  lumo-shade-90pct: 'rgba(34, 34, 34, .9)'\n  lumo-shade-80pct: 'rgba(34, 34, 34, .8)'\n  lumo-shade-70pct: 'rgba(34, 34, 34, .7)'\n  lumo-shade-60pct: 'rgba(34, 34, 34, .6)'\n  lumo-shade-50pct: 'rgba(34, 34, 34, .5)'\n  lumo-shade-40pct: 'rgba(34, 34, 34, .4)'\n  lumo-shade-30pct: 'rgba(34, 34, 34, .3)'\n  lumo-shade-20pct: 'rgba(34, 34, 34, .2)'\n  lumo-shade-10pct: 'rgba(34, 34, 34, .1)'\n  lumo-shade-5pct: 'rgba(34, 34, 34, .05)'\n  lumo-tint-5pct: '#222222'\n  # fix for device configuration screen\n  card-background-color: \"var(--paper-card-background-color)\"\n"
  },
  {
    "path": "ui-lovelace.yaml",
    "content": "title: Casetta - Nico e Mascia\n# Include external resources\nresources:\n\n   - url: /community_plugin/monster-card/monster-card.js\n     type: js\n   - url: /community_plugin/plan-coordinates/plan-coordinates.js\n     type: js\n   - url: /local/custom-lovelace/weather-card/weather-card.js\n     type: module\n   - url: /community_plugin/atomic_calendar/atomic_calendar.js\n     type: module\n   - url: /local/mini-media-player-bundle.js?v=1.4.1\n     type: module\n   - url: /local/mini-graph-card-bundle.js?v=0.6.0\n     type: module\n   - url: /community_plugin/lovelace-animated-background/animated-background.js\n     type: module\n   - url: /community_plugin/lovelace-slider-entity-row/slider-entity-row.js    \n     type: module\n\n\nanimated_background:\n  default_url: /community_plugin/lovelace-animated-background/background-animations/sunny.html\n  #included_users:\n    #- Nicolò\n    #- Rossella\n    #- Mascia\n  entity: \"weather.dark_sky\"\n  state_url:\n      'sunny': /community_plugin/lovelace-animated-background/background-animations/sunny.html\n      'partlycloudy': /community_plugin/lovelace-animated-background/background-animations/cloudy.html\n      'cloudy': /community_plugin/lovelace-animated-background/background-animations/cloudy.html\n      'mostlycloudy': /community_plugin/lovelace-animated-background/background-animations/mostlycloudy.html\n      'clear-night': /community_plugin/lovelace-animated-background/background-animations/night.html\n      'fog': /community_plugin/lovelace-animated-background/background-animations/fog.html\n# Optional background for all views. Check https://developer.mozilla.org/en-US/docs/Web/CSS/background for more examples.\nbackground: center / cover no-repeat url(\"/background.png\") fixed\n# Exclude entities from \"Unused entities\" view\nexcluded_entities:\n  - weblink.router\n\n####################################################\n#                                                  #\n#                View - Home                       #\n#                                                  #\n####################################################\n\nviews:\n    # View tab title.\n  - title: Home\n    # Optional unique id for direct access /lovelace/${id}\n    id: Home\n    # Optional background (overwrites the global background).\n\n    #background: radial-gradient(crimson, skyblue)\n    # Each view can have a different theme applied. Theme should be defined in the frontend.\n    #theme: dark-mode\n    # The cards to show on this view.\n\n####################################################\n#                                                  #\n#                     Cards                        #\n#                                                  #\n####################################################\n\n    cards:\n      - type: markdown\n        content: > \n           ## Home Tab\n      - type: custom:weather-card\n        entity: weather.dark_sky\n        # The filter card will filter entities for their state\n\n\n\n####################################################\n### Meteo DarkSky V. 2.02 - 05.04.19               #\n####################################################\n\n      - type: glance\n        show_name: false\n        entities:\n          - sun.sun\n          - entity: sensor.sunrise_time\n            icon: mdi:weather-sunset-up\n          - entity: sensor.sunset_time\n            icon: mdi:weather-sunset-down\n        \n####################################################\n#                 Entity-Filter                    #\n####################################################        \n      - type: custom:monster-card\n        show_empty: false\n        card:\n          type: glance\n          title: Low Battery Devices\n        filter:\n          include:\n            - entity_id: \"*battery_level*\"\n              state: '< 25'\n            - attributes:\n                battery: '< 25'\n            - attributes:\n                battery_level: '< 25'\n                \n      - type: vertical-stack\n        cards:\n          - type: horizontal-stack\n            cards:\n              - type: glance\n                entities:\n                  - sensor.kitchen_temperature \n                  - sensor.bedroom_temperature \n                  - sensor.living_room_temperature\n          - type: glance\n            entities:\n              - device_tracker.nico_nico\n              - device_tracker.mamma_mamma\n              - device_tracker.iphone\n          - type: entity-filter\n            entities:\n              - device_tracker.nico_nico\n              - device_tracker.mamma_mamma\n              - device_tracker.iphone\n            state_filter:\n              - 'home'\n              - 'casetta'\n              - 'papa'\n            card:\n              type: glance\n              title: People at Home\n              \n          - type: entity-filter\n            entities:\n              - device_tracker.nico_nico\n              - device_tracker.mamma_mamma\n              - device_tracker.iphone\n            state_filter:\n              - 'work'\n              - 'ale'\n              - 'tigre'\n            card:\n              type: glance\n              title: People at Work              \n\n          - type: entity-filter\n            entities:\n              - device_tracker.nico_nico\n              - device_tracker.mamma_mamma\n              - device_tracker.iphone\n            state_filter:\n              - 'not_home'\n            card:\n              type: glance\n              title: People enjoying the life\n\n      - type: custom:mini-graph-card\n        name: Potenza Istantanea\n        entities:\n          - sensor.potenza_istantanea\n        hours_to_show: 24\n        points_per_hour: 8\n        show:\n          labels: true\n        color_thresholds:\n          - value: 0\n            color: \"#0FEE07\"\n          - value: 500\n            color: \"#ffb400\"\n          - value: 1000\n            color: \"#c0392b\"\n\n      #- type: picture-entity\n        #title: Camera Salone\n        #entity:  camera.onvif_camera\n        #camera_view: live\n        # tap_action:\n        #   action: call-service\n        #   service: camera.snapshot\n        #   service_data:\n        #     entity_id:  camera.onvif_camera\n\n      - type: picture-elements\n        entity: camera.onvif_camera\n        camera_image: camera.onvif_camera\n        camera_view: live\n        elements:\n          - type: icon\n            icon: 'mdi:arrow-up'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              right: 25px\n              bottom: 50px\n            tap_action:\n              action: call-service\n              service: camera.onvif_ptz\n              service_data:\n                tilt: UP\n          - type: icon\n            icon: 'mdi:arrow-down'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              right: 25px\n              bottom: 0px\n            tap_action:\n              action: call-service\n              service: camera.onvif_ptz\n              service_data:\n                tilt: DOWN\n          - type: icon\n            icon: 'mdi:arrow-left'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              right: 50px\n              bottom: 25px\n            tap_action:\n              action: call-service\n              service: camera.onvif_ptz\n              service_data:                \n                pan: LEFT\n          - type: icon\n            icon: 'mdi:arrow-right'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              right: 0px\n              bottom: 25px\n            tap_action:\n              action: call-service\n              service: camera.onvif_ptz\n              service_data:\n                pan: RIGHT\n          - type: icon\n            icon: 'mdi:arrow-top-left'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              right: 50px\n              bottom: 50px\n            tap_action:\n              action: call-service\n              service: camera.onvif_ptz\n              service_data:\n                tilt: UP\n                pan: LEFT\n          - type: icon\n            icon: 'mdi:arrow-top-right'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              right: 0px\n              bottom: 50px\n            tap_action:\n              action: call-service\n              service: camera.onvif_ptz\n              service_data:\n                tilt: UP\n                pan: RIGHT\n          - type: icon\n            icon: 'mdi:arrow-bottom-left'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              right: 50px\n              bottom: 0px\n            tap_action:\n              action: call-service\n              service: camera.onvif_ptz\n              service_data:\n                tilt: DOWN\n                pan: LEFT\n          - type: icon\n            icon: 'mdi:arrow-bottom-right'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              right: 0px\n              bottom: 0px\n            tap_action:\n              action: call-service\n              service: camera.onvif_ptz\n              service_data:\n                tilt: DOWN\n                pan: RIGHT\n          - type: icon\n            icon: 'mdi:door'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              left: 40px\n              top: 25px\n            tap_action:\n              action: call-service\n              service: rest_command.ss_preset_home\n          - type: icon\n            icon: 'mdi:sofa'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              left: 65px\n              top: 25px\n            tap_action:\n              action: call-service\n              service: rest_command.ss_preset_living\n          - type: icon\n            icon: 'mdi:bed-king-outline'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              left: 90px\n              top: 25px\n            tap_action:\n              action: call-service\n              service: rest_command.ss_preset_bedroom\n          - type: icon\n            icon: 'mdi:file-cabinet'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              left: 115px\n              top: 25px\n            tap_action:\n              action: call-service\n              service: rest_command.ss_preset_rack\n          - type: icon\n            icon: 'mdi:lightbulb-on-outline'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              left: 40px\n              bottom: 0px\n            tap_action:\n              action: toggle\n            entity: switch.shelly_shsw_25_68796e_1\n          - type: icon\n            icon: 'mdi:lightbulb-on-outline'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              left: 65px\n              bottom: 0px\n            tap_action:\n              action: toggle\n            entity: switch.shelly_shsw_25_68796e_2\n          - type: icon\n            icon: 'mdi:lightbulb-on-outline'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              left: 100px\n              bottom: 0px\n            tap_action:\n              action: toggle\n            entity: switch.shelly_shsw_25_686d62_1\n          - type: icon\n            icon: 'mdi:lightbulb-on-outline'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              left: 125px\n              bottom: 0px\n            tap_action:\n              action: toggle\n            entity: switch.shelly_shsw_25_686d62_2\n\n\n      # - type: picture-glance\n      #   title: Living room\n      #   entities:\n      #     - switch.shelly_shsw_25_68796e_1\n      #     - switch.shelly_shsw_25_68796e_2\n      #     - switch.shelly_shsw_25_686d62_1\n      #     - switch.shelly_shsw_25_686d62_2\n          #- cover.shelly_shsw_25_e6704f\n          # - script.ss_preset_home\n          # - script.ss_preset_living\n          # - script.ss_preset_bedroom\n          # - script.ss_preset_rack\n        # camera_image: camera.onvif_camera\n        # camera_view: live\n\n\n      # - type: picture-entity\n      #   entity: camera.onvif_camera\n      #   camera_view: live\n\n      # - type: picture-entity\n      #   entity:  camera.onvif_camera\n      #   camera_view: live\n\n      - type: entities\n        entities:\n          - type: section\n            label: Data\n          #- sensor.date\n          - sensor.date_time\n          - type: section\n            label: Season\n          - sensor.season \n          - type: section\n            label: Home Temperature        \n          - sensor.kitchen_temperature \n          - sensor.bedroom_temperature \n          - sensor.living_room_temperature\n          - type: section\n            label: Internet Speed\n          - sensor.speedtest_download\n          - sensor.speedtest_upload            \n          - sensor.speedtest_ping\n          - type: section\n            label: Home Assistant Info       \n          - sensor.current_version          \n          - sensor.uptime \n          - type: section\n            label: CA Expiration Days       \n          - sensor.ssl_certificate_expiry         \n          - type: section\n            label: Raspberry\n          - sensor.disk_use_percent_home\n          - sensor.disk_free_home\n          - sensor.memory_free\n          - sensor.memory_use_percent\n          - sensor.processor_use\n          - type: section\n            label: Database Size\n          - sensor.mariadb_size         \n          - type: section\n            label: Links\n          - type: weblink\n            url: http://google.com/\n            icon: mdi:google\n            name: Google\n          - type: section\n\n      # - type: entities\n      #   entities:\n      #     - type: section\n      #       label: Prezzi Benzina\n      #     - sensor.q8easy_torpignattara_diesel_self_pre_pay\n      #     - sensor.q8easy_torpignattara_diesel_self_service\n      \n      - type: entities\n        title: Who's Cooking Today?\n        show_header_toggle: false\n        entities:\n          - input_select.who_cooks\n          - group.family\n####################################################\n#                                                  #\n#                 Media/Audio                      #\n#                                                  #\n####################################################\n\n      - type: custom:mini-media-player\n        entity: media_player.tv_casetta        \n        icon: mdi:television\n        artwork: cover\n      - type: custom:mini-media-player\n        entity: media_player.nicolo_s_bose_home_speaker_500\n        icon: mdi:amazon-alexa\n        artwork: cover\n        #tts:\n          #platform: alexa\n          #language: it\n          #entity_id: media_player.nicolo_s_bose_home_speaker_500\n\n      - type: custom:mini-media-player\n        entity: media_player.salotto\n        icon: mdi:amazon-alexa\n        artwork: cover\n        tts:\n          platform: alexa\n          entity_id: media_player.salotto\n\n      - type: custom:mini-media-player\n        entity: media_player.echo_dot_di_nicolo\n        icon: mdi:amazon-alexa\n        artwork: cover\n      - type: custom:mini-media-player\n        entity: media_player.this_device_2\n        icon: mdi:amazon-alexa\n        artwork: cover\n\n####################################################\n#                 Sensor/Gauge                     #\n####################################################\n\n      - type: vertical-stack\n        cards:\n          # - type: gauge\n          #   name: Batteria Telefono Nico\n          #   graph: line\n          #   unit: '%'\n          #   entity: sensor.batteria_telefono_nico\n          #   min: 0\n          #   max: 100\n          #   severity:\n          #     green: 60\n          #     yellow: 30\n          #     red: 0\n\n          # - type: sensor\n          #   name: Batteria Telefono Nico\n          #   graph: line\n          #   height: 100\n          #   icon: battery\n          #   unit: '%'\n          #   entity: sensor.batteria_telefono_nico\n          #   line_color: \"#3498db\"\n\n          - type: custom:mini-graph-card\n            name: Batteria Telefono Nico\n            entities:\n              - sensor.batteria_telefono_nico\n            hours_to_show: 24\n            #points_per_hour: 0.25\n            show:\n              labels: true\n            color_thresholds:\n              - value: 70\n                color: \"#0FEE07\"\n              - value: 40\n                color: \"#ffb400\"\n              - value: 0\n                color: \"#c0392b\"\n\n          # - type: gauge\n          #   name: Batteria Telefono Mamma\n          #   unit_of_measurement: '%'\n          #   entity: sensor.batteria_telefono_mamma\n          #   severity:\n          #     green: 85\n          #     yellow: 45\n          #     red: 0\n\n          - type: custom:mini-graph-card\n            name: Batteria Telefono Mamma\n            entities:\n              - sensor.batteria_telefono_mamma\n            hours_to_show: 24\n            #points_per_hour: 0.25\n            show:\n              labels: true\n            color_thresholds:\n              - value: 70\n                color: \"#0FEE07\"\n              - value: 40\n                color: \"#ffb400\"\n              - value: 0\n                color: \"#c0392b\"\n\n          # - type: sensor\n          #   name: Batteria Telefono Mamma\n          #   graph: line\n          #   height: 100\n          #   icon: battery\n          #   unit: '%'\n          #   entity: sensor.batteria_telefono_mamma\n          #   #line_color: \"#3498db\"\n\n          # - type: gauge\n          #   name: Pi3 Temp\n          #   #graph: line\n          #   unit: '°'\n          #   entity: sensor.command_sensor\n          #   min: 0\n          #   max: 100\n          #   severity:\n          #     green: 0\n          #     yellow: 55\n          #     red: 70\n\n          # - type: sensor\n          #   name: CPU Temp Pi3\n          #   graph: line\n          #   height: 100\n          #   icon: battery\n          #   unit: '%'\n          #   entity: sensor.command_sensor\n          #   #line_color: \"#3498db\"\n\n          - type: custom:mini-graph-card\n            name: CPU Temp Pi3\n            entities:\n              - sensor.command_sensor\n            hours_to_show: 24\n            #points_per_hour: 0.25\n            show:\n              labels: true\n            color_thresholds:\n              - value: 55\n                color: \"#0FEE07\"\n              - value: 60\n                color: \"#ffb400\"\n              - value: 65\n                color: \"#c0392b\"\n\n\n      - type: history-graph\n        title: \"Telephones Battery History\"\n        entities:\n          - sensor.batteria_telefono_nico\n          - sensor.batteria_telefono_mamma\n\n    # cards:\n    #     # The filter card will filter entities for their state\n    #   - type: entity-filter\n    #     entities:\n    #       - device_tracker.nico_nico\n    #       - device_tracker.mamma_mamma\n    #       - device_tracker.iphone\n    #     state_filter:\n    #       - 'work'\n    #       - 'tigre'        \n    #     card:\n    #       type: glance\n    #       title: People that are at Work          \n\n        # The picture entity card will represent an entity with a picture\n\n####################################################\n#                 Shopping List                    #\n####################################################\n\n      - type: shopping-list\n        title: Shopping List\n\n\n####################################################\n#                                                  #\n#             View - Lights and Switches           #\n#                                                  #\n####################################################\n\n\n    # Specify a tab icon if you want the view tab to be an icon.\n  - title: Lights/Swtiches\n    # Title of the view. Will be used as the tooltip for tab icon\n    path: Lights\n    cards:    \n        # The markdown card will render markdown text.\n      - type: markdown\n        title: Lights and Switch Card\n        content: >\n          ## This is the Lights and Switch Cards where you can find all the component to turn On or Off.\n        # Entities card will take a list of entities and show their state.\n      #- type: 'custom:monster-card'\n        #card:          \n          #title: Shelly\n          #type: entities\n          #entities:\n          #show_header_toggle: false\n        #filter:\n          #exclude:\n            #- entity_id: '*rssi*'\n            #- entity_id: '*uptime*'\n            #- entity_id: '*firmware*'\n          #include:\n            #- entity_id: '*shelly*'\n            #- entity_id: input_number.living_room_cover\n\n      # - type: entities\n      #   title: Shellys\n      #   show_header_toggle: false\n      #   entities:\n      #     - entity: cover.shelly_shsw_25_e6704f\n      #       name: Serranda Salone\n      #     - type: custom:slider-entity-row\n      #       entity: cover.shelly_shsw_25_e6704f          \n      #       name: Apertura Serranda\n      #       full_row: true\n      #       min: 0\n      #       max: 100\n      #       step: 1\n          #- type: custom:slider-entity-row\n            #entity: cover.shelly_shsw_25_e6704f\n            #toggle: true\n            #hide_state: true\n            #min: 0\n            #max: 100\n            #step: 1\n     \n# sensor.shelly_shsw_25_e6704f_1_consumtion\n  #sensor.shelly_shsw_25_e6704f_2_consumtion\n  #switch.shelly_shsw_25_e6704f_1\n  #switch.shelly_shsw_25_e6704f_2\n####################################################\n#                                                  #\n#              Lights and Switches                 #\n#                                                  #\n####################################################\n\n####################################################\n#                    Lights                        #\n####################################################      \n      - type: entities\n        title: Lights\n        show_header_toggle: false\n        entities:\n          - type: section\n            label: Luci Salone           \n          - switch.shelly_shsw_25_68796e_1\n          - switch.shelly_shsw_25_68796e_2\n          - type: section\n            label: Luci Cucina    \n          - switch.shelly_shsw_25_686d62_1\n          - switch.shelly_shsw_25_686d62_2\n          - type: section\n            label: Luci Camera da Letto   \n          - switch.shelly_shsw_25_687269_1\n          - switch.shelly_shsw_25_687269_2\n          - type: section\n            label: Luci Bagno\n          - switch.shelly_shsw_25_e5e601_1\n          - switch.shelly_shsw_25_e5e601_2\n\n      - type: entities\n        title: Switches\n        show_header_toggle: false\n        entities:\n          - type: section\n            label: Salone\n          - entity: cover.shelly_shsw_25_e6704f\n            name: Serranda Salone\n          - type: custom:slider-entity-row\n            entity: cover.shelly_shsw_25_e6704f          \n            name: Apertura Serranda\n            full_row: true\n            min: 0\n            max: 100\n            step: 1          \n          - switch.shelly_shplg_s_041a07  # presa tv\n          - switch.shelly_shplg_s_0409b4  # Presa Alexa\n          - switch.air\n          - switch.air2\n          - switch.air3\n          - switch.nico_computer\n          - switch.shelly_shplg_s_7a33ff\n          - switch.fritz_box_guest_wifi\n          - type: section\n            label: Rack\n          - switch.shelly_shplg_s_041a76\n          - switch.ciabatta_rack_fritz_dect_200_1\n          - switch.presa_rasp_pi3_fritz_dect_200_2\n          - switch.dsm01        \n          - type: section\n            label: Cucina          \n          - switch.shelly_shplg_s_04169c\n          - type: section\n            label: Sgabuzzino\n          - switch.shelly_shplg_s_5b2502\n          - sensor.shelly_shwt_1_694834_flood\n          - sensor.shelly_shwt_1_694834_temperature\n          \n      \n      - type: entities\n        title: Scripts\n        show_header_toggle: false\n        entities:\n          - type: section\n            label: Alexa Sequence\n          - script.alexaimathome\n          - script.alexaflash\n          - script.alexafun\n          - script.alexastory\n          - script.alexasing\n          - script.alexanight\n          - script.alexamorning\n          - script.alexatraffic\n          - script.alexatraffic2\n          - script.alexaweather\n          - type: section\n            label: Alexa Radios\n          - script.alexaradiofreccia\n          - script.alexaglobo\n          - script.alexartl1025\n          - script.alexa105\n          - script.alexards\n          - script.alexam2o\n          - script.alexalazio\n          - script.alexamediapause2\n          - type: section\n            label: Scripts\n          - script.alexascripthastart\n          - script.alexascriptvoipcall\n          - script.alexascriptmariatiamo\n          - script.alexascriptvoiptest\n          #- script.alexascriptbirthday\n          - script.alexa_tts\n          - script.jarvis_greeting\n          - type: section\n            label: Camera Preset\n          - script.camera_rack_preset\n\n####################################################\n#                                                  #\n#                  Calendar                        #\n#                                                  #\n####################################################\n    # Specify a tab icon if you want the view tab to be an icon.\n  - title: Calendar\n    # Title of the view. Will be used as the tooltip for tab icon\n    icon: mdi:calendar\n    path: Calendar\n    cards:    \n        # The markdown card will render markdown text.\n      - type: markdown\n        title: Calendar Events\n        content: >\n          ### This is the Calendar event card where you can find info about your scheduled events.\n        # Entities card will take a list of entities and show their state.\n\n      - type: \"custom:atomic-calendar\"\n        #numberOfDays: 14\n        entities:\n          #- calendar.contacts\n          - calendar.festivita_in_italia\n          - calendar.nicolo_steffe_gmail_com\n          - calendar.euroflash_security_rcpt021_gmail_com\n          - calendar.festivita_in_italia\n          - calendar.lazio\n        fullDayEventText: 'All day'\n        untilText: 'Until'\n        showColors: true\n        maxDaysToShow: 14\n        showLocation: true\n        showMonth: false\n        showCurrentEventLine: false\n        dateColor: black\n        dateSize: 90\n        timeColor: blue\n        timeSize: 90\n        titleColor: black\n        titleSize: 100\n        locationIconColor: 'rgb(230, 124, 115)'\n        locationLinkColor: black\n        locationTextSize: 90\n        dimFinishedEvents: true\n        finishedEventOpacity: 0.6\n        finishedEventFilter: 'grayscale(100%)'\n        dayWrapperLineColor: black\n        eventBarColor: blue\n        showProgressBar: true\n        progressBarColor: blue\n        max_results: 15\n\n      - type: \"custom:atomic-calendar\"\n        name: \"Birthdays\"\n        #showProgressBar: false\n        #numberOfDays: 14\n        entities:\n          - calendar.contacts\n        fullDayEventText: 'All day'\n        untilText: 'Until'\n        showColors: true\n        maxDaysToShow: 7\n        showLocation: true\n        showMonth: false\n        showCurrentEventLine: false\n        dateColor: black\n        dateSize: 90\n        timeColor: blue\n        timeSize: 90\n        titleColor: black\n        titleSize: 100\n        locationIconColor: 'rgb(230, 124, 115)'\n        locationLinkColor: black\n        locationTextSize: 90\n        dimFinishedEvents: true\n        finishedEventOpacity: 0.6\n        finishedEventFilter: 'grayscale(100%)'\n        dayWrapperLineColor: black\n        eventBarColor: blue\n        showProgressBar: true\n        progressBarColor: blue\n        max_results: 15\n\n\n      - type: entities\n        title: Birthdays\n        show_header_toggle: false\n        entities:\n          #- input_label.mascia_birthday\n          #- input_label.mascia_birthday_days2go\n          #- input_label.nico_birthday\n          #- input_label.nico_birthday_days2go\n          #- input_label.rossella_birthday\n          #- input_label.rossella_birthday_days2go\n          - sensor.nico_e_mascia_anniversary\n\n\n####################################################\n#                                                  #\n#                View - Climate                    #\n#                                                  #\n####################################################\n\n\n    # Specify a tab icon if you want the view tab to be an icon.\n  - title: Climate\n    # Title of the view. Will be used as the tooltip for tab icon\n    path: Climate\n    cards:    \n        # The markdown card will render markdown text.\n      - type: markdown\n        #icon: mdi:weather-lightning\n        title: Climate Card\n        content: >\n          ## This is the Climate Card where you can set the Temperature in your Home.\n\n####################################################\n#                                                  #\n#               Thermostat/Climate                 #\n#                                                  #\n####################################################\n      - type: vertical-stack\n        cards:\n          - type: horizontal-stack\n            cards:\n              - type: glance\n                entities:\n                  - sensor.kitchen_temperature \n                  - sensor.bedroom_temperature \n                  - sensor.living_room_temperature\n\n      - type: vertical-stack\n        cards:\n          - type: thermostat\n            entity: climate.termosifone_salone\n          - type: custom:mini-graph-card\n            name: Living Room Humidity\n            entities:\n              - sensor.living_room_humidity\n            hours_to_show: 24\n            #points_per_hour: 0.25\n            show:\n              labels: true\n            color_thresholds:\n              - value: 40\n                color: \"#0FEE07\"\n              - value: 50\n                color: \"#ffb400\"\n              - value: 60\n                color: \"#c0392b\"\n\n      - type: vertical-stack\n        cards:\n          - type: thermostat\n            entity: climate.termosifone_notte\n          - type: custom:mini-graph-card\n            name: Bed Room Humidity\n            entities:\n              - sensor.bedroom_humidity\n            hours_to_show: 24\n            #points_per_hour: 0.25\n            show:\n              labels: true\n            color_thresholds:\n              - value: 40\n                color: \"#0FEE07\"\n              - value: 50\n                color: \"#ffb400\"\n              - value: 60\n                color: \"#c0392b\"\n\n      - type: vertical-stack\n        cards:\n          - type: thermostat\n            entity: climate.termosifone_cucina\n          - type: custom:mini-graph-card\n            name: Kitchen Humidity\n            entities:\n              - sensor.kitchen_humidity\n            hours_to_show: 24\n            #points_per_hour: 0.25\n            show:\n              labels: true\n            color_thresholds:\n              - value: 40\n                color: \"#0FEE07\"\n              - value: 50\n                color: \"#ffb400\"\n              - value: 60\n                color: \"#c0392b\"\n\n      #- type: thermostat\n        #entity: climate.kitchen\n      #- type: sensor\n        #name: Kitchen Humidity\n        #graph: line\n        #unit: '%'\n        #entity: sensor.kitchen_humidity\n\n      - type: history-graph\n        title: \"Climate History\"\n        entities:\n          - sensor.kitchen_temperature \n          - sensor.bedroom_temperature \n          - sensor.living_room_temperature\n\n      - type: history-graph\n        title: \"Humidity History\"\n        entities:\n          - sensor.living_room_humidity\n          - sensor.bedroom_humidity\n          - sensor.kitchen_humidity\n\n####################################################\n#                                                  #\n#                Weather Alerts                    #\n#                                                  #\n####################################################\n\n  - title: Weather Alerts\n    icon: mdi:weather-lightning\n    path: WeatherAlerts\n    cards:\n      - type: markdown\n        title: Meteo Warnings\n        content: |\n          _Meteo Warning effective from **[[ binary_sensor.meteoalarm.attributes.effective ]]** and it will expires on **[[ binary_sensor.meteoalarm.attributes.expires ]]**_\n          \n          ***\n          \n          **[[ binary_sensor.meteoalarm.attributes.headline ]]**\n          [[ binary_sensor.meteoalarm.attributes.event ]]\n          Severity: [[ binary_sensor.meteoalarm.attributes.severity ]]\n\n          ***\n          \n          **Area of Interest**\n          [[ binary_sensor.meteoalarm.attributes.description ]]\n          \n          ***\n          \n          **Instructions**\n          [[ binary_sensor.meteoalarm.attributes.instruction ]]\n          \n          ***\n          \n          **Source: [[ binary_sensor.meteoalarm.attributes.senderName  ]]**\n          [[ binary_sensor.meteoalarm.attributes.web ]]\n\n\n########################################################################\n### Meteo DarkSky V. 2.02 - 05.04.19\n########################################################################\n\n      - type: custom:weather-card\n        entity: weather.dark_sky\n\n    #######################################################\n\n      - type: glance\n        show_name: false\n        entities:\n          - sun.sun\n          - entity: sensor.sunrise_time\n            icon: mdi:weather-sunset-up\n          - entity: sensor.sunset_time\n            icon: mdi:weather-sunset-down\n\n    #######################################################\n        \n      - type: entities\n        title: Condizioni Meteo\n        show_header_toggle: false\n        entities:\n          - sensor.data_e_ora\n          - type: divider\n          - entity: sensor.dark_sky_summary_tmpl\n            secondary_info: last-changed\n          - entity: sensor.dark_sky_temperature\n            secondary_info: last-changed\n          - entity: sensor.dark_sky_humidity\n            secondary_info: last-changed\n          - entity: sensor.dark_sky_wind_speed\n            secondary_info: last-changed\n          - entity: sensor.dark_sky_wind_dir\n            secondary_info: last-changed\n          - entity: sensor.dark_sky_precip_intensity\n            secondary_info: last-changed\n          - entity: sensor.dark_sky_precip_probability\n            secondary_info: last-changed\n          - entity: sensor.dark_sky_hourly_summary_tmpl\n            secondary_info: last-changed\n          \n    #######################################################\n     \n      - type: entities\n        title: Previsioni Meteo\n        show_header_toggle: false\n        entities:\n          - sensor.forecast_0\n          - sensor.forecast_1\n          - sensor.forecast_2\n          - sensor.forecast_3\n          - sensor.forecast_4\n          - sensor.forecast_5\n          - sensor.forecast_6\n          - sensor.forecast_7\n\n#######################################################\n\n      - type: iframe\n        url: https://embed.windy.com/embed2.html\n        aspect_ratio: 100%\n\n####################################################\n#                                                  #\n#                View - Shellys                    #\n#                                                  #\n####################################################\n\n\n    # Specify a tab icon if you want the view tab to be an icon.\n  - title: Shellys\n    # Title of the view. Will be used as the tooltip for tab icon\n    path: Shellys\n    cards:    \n        # The markdown card will render markdown text.\n      - type: markdown\n        title: Shelly Maintenance Card\n        content: >\n          ## This is the Shelly maintenance Cards where you can find all the Shelly component.\n        # Entities card will take a list of entities and show their state.\n      - type: 'custom:monster-card'\n        card:          \n          title: Shelly\n          type: entities\n          entities:\n          show_header_toggle: false\n        filter:\n          exclude:\n            - entity_id: '*rssi*'\n            - entity_id: '*uptime*'\n            - entity_id: '*firmware*'\n          include:\n            - entity_id: '*shelly*'\n            \n\n      - type: entities\n        title: Shellys\n        show_header_toggle: false\n        entities:\n          - entity: cover.shelly_shsw_25_e6704f\n            name: Serranda Salone\n          - type: custom:slider-entity-row\n            entity: cover.shelly_shsw_25_e6704f          \n            name: Apertura Serranda\n            full_row: true\n            min: 0\n            max: 100\n            step: 1\n\n      - type: 'custom:monster-card'\n        card:\n          title: Shelly need update\n          type: entities\n          show_header_toggle: false\n        filter:\n          include:\n           - entity_id: '*firmware_update*'\n\n      - type: 'custom:monster-card'\n        card:\n          title: Shelly RSSI\n          type: entities\n          show_header_toggle: false\n        filter:\n          include:\n          - entity_id: '*rssi*'\n\n####################################################\n#                                                  #\n#                     Energy                       #\n#                                                  #\n####################################################\n    # Title of the view. Will be used as the tooltip for tab icon\n  - title: Energy\n    path: Energy\n    cards:\n      - type: custom:mini-graph-card\n        name: Potenza Istantanea\n        entities:\n          - sensor.potenza_istantanea\n        hours_to_show: 24\n        points_per_hour: 8\n        show:\n          labels: true\n        color_thresholds:\n          - value: 0\n            color: \"#0FEE07\"\n          - value: 500\n            color: \"#ffb400\"\n          - value: 1000\n            color: \"#c0392b\"\n      - type: entities\n        title: Controllo Carichi\n        show_header_toggle: false\n        entities:\n          - entity: automation.innesco_controllo_carichi\n            name: Controllo carichi Off/On\n            icon: mdi:power\n          - sensor.potenza_istantanea\n          #- sensor.efergy_798034\n          - sensor.tempo_in_extrasoglia\n          - entity: sensor.ultimo_carico_spento\n          - sensor.ultimo_intervento\n          - input_boolean.impostazioni_controllo_carichi\n          - input_boolean.notifiche_standard_or_centro_notifiche\n      - type: conditional\n        conditions:\n          - entity: input_boolean.impostazioni_controllo_carichi\n            state: 'off'\n        card:\n            type: glance\n            columns: 3\n            title: Carichi controllati\n            show_name: false\n            show_header_toggle: false\n            entities:\n            - entity: input_text.carico_1\n              tap_action:\n                action: none\n            - entity: input_text.carico_2\n              tap_action:\n                action: none\n            - entity: input_text.carico_3\n              tap_action:\n                action: none\n            - entity: input_text.carico_4\n              tap_action:\n                action: none\n            - entity: input_text.carico_5\n              tap_action:\n                action: none\n            - entity: input_text.carico_6\n              tap_action:\n                action: none\n            - entity: input_text.carico_7\n              tap_action:\n                action: none\n            - entity: input_text.carico_8\n              tap_action:\n                action: none\n            - entity: input_text.carico_9\n              tap_action:\n                action: none\n      - type: conditional\n        conditions:\n          - entity: input_boolean.impostazioni_controllo_carichi\n            state: 'on'\n        card:\n            type: entities\n            title: Configurazione contatore\n            show_header_toggle: false\n            entities:\n            - input_select.selettore_kw_contatore\n            - input_number.tempo_intervento\n            - input_text.sensore_lettura_potenza_instantanea\n      - type: conditional\n        conditions:\n          - entity: input_boolean.impostazioni_controllo_carichi\n            state: 'on'\n        card:    \n            type: entities\n            title: Configurazione Carichi\n            show_header_toggle: false\n            entities:\n            - input_text.carico_1\n            - input_text.carico_2\n            - input_text.carico_3\n            - input_text.carico_4\n            - input_text.carico_5\n            - input_text.carico_6\n            - input_text.carico_7\n            - input_text.carico_8\n            - input_text.carico_9\n      - type: conditional\n        conditions:\n          - entity: input_boolean.impostazioni_controllo_carichi\n            state: 'on'\n        card:    \n          type: entities\n          title: Accensione Ultimo carico spento\n          show_header_toggle: false\n          entities:\n            - input_boolean.accensione_autmatica_carico\n            - input_select.accensione_automatica_carico\n            - input_text.esclusione_1_riaccensione\n            - input_text.esclusione_2_riaccensione\n      - type: conditional\n        conditions:\n          - entity: input_boolean.impostazioni_controllo_carichi\n            state: 'on'\n          - entity: input_boolean.notifiche_standard_or_centro_notifiche\n            state: 'off'\n        card:    \n            type: entities\n            show_header_toggle: false\n            title: Configurazione Notifiche\n            entities:\n            - input_boolean.notifiche_cc\n            - input_text.notifiche_cc\n            - input_boolean.notifiche_cc_google\n            - input_text.notifiche_cc_google\n            - input_boolean.notifiche_cc_alexa\n            - input_text.notifiche_cc_alexa\n\n####################################################\n#                                                  #\n#                Battery Alerts                    #\n#                                                  #\n####################################################\n    # Title of the view. Will be used as the tooltip for tab icon\n  - title: Battery\n    path: Battery\n    cards:\n    \n      - type: entities\n        title: Battery Alerts Settings\n        show_header_toggle: false\n        entities:\n          - group.battery_alert\n          - input_boolean.low_batteries\n          - input_number.battery_alert_threshold_min\n          - input_number.battery_alert_threshold_max\n          - input_text.delete_battery_sensor\n          - input_text.notifier_name\n\n      - type: conditional\n        conditions:\n          - entity: input_boolean.low_batteries\n            state: 'on'\n        card:    \n            type: entities\n            show_header_toggle: false\n            title: Configurazione Notifiche\n            entities:\n            - input_select.notifier_format\n            - automation.battery_persistent_notification\n            - automation.battery_persistent_notification_clear\n            - automation.battery_notification_default\n            - automation.battery_notification_slack\n            - automation.battery_sensor_from_attributes\n            - automation.update_battery_status_group_members\n            - automation.delete_battery_sensor\n\n\n\n          \n####################################################\n#                                                  #\n#                   AD Guard                       #\n#                                                  #\n####################################################\n    # Title of the view. Will be used as the tooltip for tab icon\n  # - title: Ad Guard\n  #   path: Ad Guard\n  #   cards:\n  #       # The markdown card will render markdown text.\n  #     - type: markdown\n  #       title: Ad Guard\n  #       content: >\n  #         ## This is the Ad Guard card.\n  #     - type: entities\n  #       show_header_toggle: false\n  #       title: AD Guard Stats\n  #       entities:\n  #       - sensor.adguard_average_processing_speed\n  #       - sensor.adguard_dns_queries\n  #       - sensor.adguard_dns_queries_blocked\n  #       - sensor.adguard_dns_queries_blocked_ratio\n  #       - sensor.adguard_rules_count\n  #       - sensor.adguard_safe_browsing_blocked\n  #       - sensor.searches_safe_search_enforced\n  #       - sensor.adguard_parental_control_blocked\n\n  #     - type: entities\n  #       title: AD Guard Switch\n  #       show_header_toggle: false        \n  #       entities:\n  #       - switch.adguard_protection\n  #       - switch.adguard_filtering\n  #       - switch.adguard_parental_control\n  #       - switch.adguard_safe_browsing\n  #       - switch.adguard_safe_search\n  #       - switch.adguard_query_log    \n\n\n####################################################\n#                                                  #\n#                 View - Alarm                     #\n#                                                  #\n####################################################\n    # Title of the view. Will be used as the tooltip for tab icon\n  - title: Alarm\n    path: Alarm\n    cards:\n        # The markdown card will render markdown text.\n      - type: markdown\n        title: Alarm\n        content: >\n          ## This is the Alarm card.\n      - type: alarm-panel\n        entity: alarm_control_panel.home_alarm\n\n####################################################\n#                                                  #\n#              AV Remote Controller                #\n#                                                  #\n####################################################\n    # Title of the view. Will be used as the tooltip for tab icon\n  - title: Movie\n    path: Movie\n    cards:\n        # The markdown card will render markdown text.\n      - type: markdown\n        title: Movie Card and Upcoming Events\n        content: >\n          ## This is the Alarm card.\n      - type: custom:upcoming-media-card\n        entity: sensor.trakt_upcoming_calendar\n\n####################################################\n#                                                  #\n#                 View - Maps                      #\n#                                                  #\n####################################################\n\n\n    # Specify a tab icon if you want the view tab to be an icon.\n  - icon: mdi:google-maps\n    # Title of the view. Will be used as the tooltip for tab icon\n    title: Map/Geo\n    path: map\n    cards:\n        # The markdown card will render markdown text.\n      - type: markdown\n        title: Family Map\n        content: >\n          This is the Map Cards where you can find all family members around the World.\n\n####################################################\n#                                                  #\n#                     Map                          #\n#                                                  #\n####################################################\n\n      - type: map\n        aspect_ratio: 16:9\n        default_zoom: 20\n        entities:\n          - device_tracker.nico_nico\n          - device_tracker.mamma_mamma\n          - zone.home\n          - zone.work\n          - zone.tigre\n          - zone.casetta\n          - zone.papa\n          - zone.ale\n\n      - type: map\n        title: Where is Nico?\n        aspect_ratio: 16:9\n        default_zoom: 16\n        entities:\n          - device_tracker.nico_nico\n\n      - type: map\n        title: Where is Mom?\n        aspect_ratio: 16:9\n        default_zoom: 16\n        entities:\n          - device_tracker.mamma_mamma\n          \n      # - type: map\n      #   aspect_ratio: 16:9\n      #   default_zoom: 16\n      #   entities:\n      #     - camera.iss       \n\n      #- type: media-control\n        #entity: media_player.lounge_room\n\n      #- type: picture-glance\n        #title: Where is ISS?\n        #image: http://www.fashiondesignz.com/wp-content/uploads/2018/07/living-10-room-maisons-du-monde.jpg\n        #entities:\n          #- binary_sensor.iss\n          #- light.living_window_white\n          #- light.living_door_rgb\n          #- switch.nico_computer\n        #camera_image: camera.iss\n\n\n####################################################\n#                                                  #\n#                    Camera                        #\n#                                                  #\n####################################################\n    # Title of the view. Will be used as the tooltip for tab icon\n  - title: Video Camera\n    path: VideoCamera\n    cards:\n      # - type: vertical-stack\n      #   cards:      \n      #     - camera_image: camera.onvif_camera\n      #       entities: []\n      #       camera_view: live\n      #       #title: Test Camera\n      #       type: picture-glance\n      #     - type: horizontal-stack\n      #       cards:\n      #         - type: entity-button\n      #           entity: camera.onvif_camera\n      #           icon: mdi:arrow-top-left-bold-outline\n      #           show_name: false\n      #           tap_action:\n      #             action: call-service\n      #             service: camera.onvif_ptz\n      #             service_data:\n      #               tilt: UP\n      #               pan: LEFT\n      #         - type: entity-button\n      #           entity:  camera.onvif_camera\n      #           icon: mdi:arrow-up-bold-outline\n      #           show_name: false\n      #           tap_action:\n      #             action: call-service\n      #             service: camera.onvif_ptz\n      #             service_data:\n      #               tilt: UP\n      #         - type: entity-button\n      #           entity:  camera.onvif_camera\n      #           icon: mdi:arrow-top-right-bold-outline\n      #           show_name: false\n      #           tap_action:\n      #             action: call-service\n      #             service: camera.onvif_ptz\n      #             service_data:\n      #               tilt: UP\n      #               pan: RIGHT\n      #     - type: horizontal-stack\n      #       cards:\n      #         - type: entity-button\n      #           entity:  camera.onvif_camera\n      #           icon: mdi:arrow-left-bold-outline\n      #           show_name: false\n      #           tap_action:\n      #             action: call-service\n      #             service: camera.onvif_ptz\n      #             service_data:\n      #               pan: LEFT\n      #         - type: entity-button\n      #           entity:  camera.onvif_camera\n      #           icon: mdi:arrow-right-bold-outline\n      #           show_name: false\n      #           tap_action:\n      #             action: call-service\n      #             service: camera.onvif_ptz\n      #             service_data:\n      #               pan: RIGHT\n      #     - type: horizontal-stack\n      #       cards:\n      #         - type: entity-button\n      #           entity:  camera.onvif_camera\n      #           icon: mdi:arrow-bottom-left-bold-outline\n      #           show_name: false\n      #           tap_action:\n      #             action: call-service\n      #             service: camera.onvif_ptz\n      #             service_data:\n      #               tilt: DOWN\n      #               pan: LEFT\n      #         - type: entity-button\n      #           entity:  camera.onvif_camera\n      #           icon: mdi:arrow-down-bold-outline\n      #           show_name: false\n      #           tap_action:\n      #             action: call-service\n      #             service: camera.onvif_ptz\n      #             service_data:\n      #               tilt: DOWN\n      #         - type: entity-button\n      #           entity:  camera.onvif_camera\n      #           icon: mdi:arrow-bottom-right-bold-outline\n      #           show_name: false\n      #           tap_action:\n      #             action: call-service\n      #             service: camera.onvif_ptz\n      #             service_data:\n      #               tilt: DOWN\n      #               pan: RIGHT\n      #- type: custom:plan-coordinates\n      - type: picture-elements\n        entity: camera.onvif_camera\n        camera_image: camera.onvif_camera\n        camera_view: live\n        elements:\n          - type: icon\n            icon: 'mdi:arrow-up'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              right: 25px\n              bottom: 50px\n            tap_action:\n              action: call-service\n              service: camera.onvif_ptz\n              service_data:\n                tilt: UP\n          - type: icon\n            icon: 'mdi:arrow-down'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              right: 25px\n              bottom: 0px\n            tap_action:\n              action: call-service\n              service: camera.onvif_ptz\n              service_data:\n                tilt: DOWN\n          - type: icon\n            icon: 'mdi:arrow-left'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              right: 50px\n              bottom: 25px\n            tap_action:\n              action: call-service\n              service: camera.onvif_ptz\n              service_data:                \n                pan: LEFT\n          - type: icon\n            icon: 'mdi:arrow-right'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              right: 0px\n              bottom: 25px\n            tap_action:\n              action: call-service\n              service: camera.onvif_ptz\n              service_data:\n                pan: RIGHT\n          - type: icon\n            icon: 'mdi:arrow-top-left'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              right: 50px\n              bottom: 50px\n            tap_action:\n              action: call-service\n              service: camera.onvif_ptz\n              service_data:\n                tilt: UP\n                pan: LEFT\n          - type: icon\n            icon: 'mdi:arrow-top-right'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              right: 0px\n              bottom: 50px\n            tap_action:\n              action: call-service\n              service: camera.onvif_ptz\n              service_data:\n                tilt: UP\n                pan: RIGHT\n          - type: icon\n            icon: 'mdi:arrow-bottom-left'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              right: 50px\n              bottom: 0px\n            tap_action:\n              action: call-service\n              service: camera.onvif_ptz\n              service_data:\n                tilt: DOWN\n                pan: LEFT\n          - type: icon\n            icon: 'mdi:arrow-bottom-right'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              right: 0px\n              bottom: 0px\n            tap_action:\n              action: call-service\n              service: camera.onvif_ptz\n              service_data:\n                tilt: DOWN\n                pan: RIGHT\n          - type: icon\n            icon: 'mdi:door'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              left: 40px\n              top: 25px\n            tap_action:\n              action: call-service\n              service: rest_command.ss_preset_home\n          - type: icon\n            icon: 'mdi:sofa'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              left: 65px\n              top: 25px\n            tap_action:\n              action: call-service\n              service: rest_command.ss_preset_living\n          - type: icon\n            icon: 'mdi:bed-king-outline'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              left: 90px\n              top: 25px\n            tap_action:\n              action: call-service\n              service: rest_command.ss_preset_bedroom\n          - type: icon\n            icon: 'mdi:file-cabinet'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              left: 115px\n              top: 25px\n            tap_action:\n              action: call-service\n              service: rest_command.ss_preset_rack\n          - type: icon\n            icon: 'mdi:lightbulb-on-outline'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              left: 40px\n              bottom: 0px\n            tap_action:\n              action: toggle\n            entity: switch.shelly_shsw_25_68796e_1\n          - type: icon\n            icon: 'mdi:lightbulb-on-outline'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              left: 65px\n              bottom: 0px\n            tap_action:\n              action: toggle\n            entity: switch.shelly_shsw_25_68796e_2\n          - type: icon\n            icon: 'mdi:lightbulb-on-outline'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              left: 100px\n              bottom: 0px\n            tap_action:\n              action: toggle\n            entity: switch.shelly_shsw_25_686d62_1\n          - type: icon\n            icon: 'mdi:lightbulb-on-outline'\n            style:\n              background: 'rgba(255, 255, 255, 0.5)'\n              left: 125px\n              bottom: 0px\n            tap_action:\n              action: toggle\n            entity: switch.shelly_shsw_25_686d62_2\n\n\n      # - type: entities\n      #   title: Camera Presets\n      #   show_header_toggle: false\n      #   entities:\n      #     - type: section\n      #       label: Camera Presets\n      #     - script.ss_preset_home\n      #     - script.ss_preset_living\n      #     - script.ss_preset_bedroom\n      #     - script.ss_preset_rack\n\n####################################################\n#                                                  #\n#                 View - Plan                      #\n#                                                  #\n####################################################\n    # Title of the view. Will be used as the tooltip for tab icon\n  - title: Plan\n    path: Plan\n    cards:\n        # The markdown card will render markdown text.\n      - type: markdown\n        title: Plan of the House\n        content: >\n          ## This is the Home plan card where you can find the plan of home.\n\n\n      - type: custom:plan-coordinates\n      - type: picture-elements\n        image: /local/Casetta3.png\n        #title: My House\n        elements:\n          - type: service-button\n            title: Lights Off\n            style:\n              top: 6%\n              left: 90%\n              padding: 0px\n            service: switch.turn_off\n            service_data:\n              entity_id: group.lights\n          - type: service-button\n            title: Lights On\n            style:\n              top: 3%\n              left: 90%\n              padding: 0px\n            service: switch.turn_on\n            service_data:\n              entity_id: group.lights              \n          - type: icon\n            icon: mdi:cctv\n            entity:  camera.onvif_camera\n            style:\n              top: 37%\n              left: 12%\n              transform: rotate(30deg) scaleX(-1)\n              --iron-icon-height: 30px\n              --iron-icon-width: 30px\n              --iron-icon-stroke-color: black\n              --iron-icon-fill-color: rgba(50, 50, 50, .75)\n          - type: image\n            entity: switch.shelly_shsw_25_686d62_1\n            tap_action:\n              action: toggle\n            image: /local/bulb.png\n            state_image:\n              'on': /local/bulb_on.png\n            state_filter:\n              'on': brightness(130%) saturate(1.5) drop-shadow(0px 0px 10px gold)\n              'off': brightness(80%) saturate(0.8)\n            style:\n              top: 77%\n              left: 40%\n              width: 15%\n              #padding: 50px 50px 100px 50px\n          - type: image\n            entity: switch.shelly_shsw_25_686d62_2\n            tap_action:\n              action: toggle\n            image: /local/bulb.png\n            state_image:\n              'on': /local/bulb_on.png\n            state_filter:\n              'on': brightness(130%) saturate(1.5) drop-shadow(0px 0px 10px gold)\n              'off': brightness(80%) saturate(0.8)\n            style:\n              top: 77%\n              left: 60%\n              width: 15%\n              #padding: 50px 50px 100px 50px\n          - type: image\n            entity: switch.shelly_shsw_25_68796e_1\n            tap_action:\n              action: toggle\n            image: /local/bulb.png\n            state_image:\n              'on': /local/bulb_on.png\n            state_filter:\n              'on': brightness(130%) saturate(1.5) drop-shadow(0px 0px 10px gold)\n              'off': brightness(80%) saturate(0.8)\n            style:\n              top: 53%\n              left: 40%\n              width: 15%\n              #padding: 50px 50px 100px 50px\n          - type: image\n            entity: switch.shelly_shsw_25_68796e_2\n            tap_action:\n              action: toggle\n            image: /local/bulb.png\n            state_image:\n              'on': /local/bulb_on.png\n            state_filter:\n              'on': brightness(130%) saturate(1.5) drop-shadow(0px 0px 10px gold)\n              'off': brightness(80%) saturate(0.8)\n            style:\n              top: 53%\n              left: 60%\n              width: 15%\n              #padding: 50px 50px 100px 50px\n          - type: image\n            entity: switch.shelly_shsw_25_e5e601_1\n            tap_action:\n              action: toggle\n            image: /local/bulb.png\n            state_image:\n              'on': /local/bulb_on.png\n            state_filter:\n              'on': brightness(130%) saturate(1.5) drop-shadow(0px 0px 10px gold)\n              'off': brightness(80%) saturate(0.8)\n            style:\n              top: 35%\n              left: 40%\n              width: 15%\n              #padding: 50px 50px 100px 50px\n          - type: image\n            entity: switch.shelly_shsw_25_e5e601_2\n            tap_action:\n              action: toggle\n            image: /local/bulb.png\n            state_image:\n              'on': /local/bulb_on.png\n            state_filter:\n              'on': brightness(130%) saturate(1.5) drop-shadow(0px 0px 10px gold)\n              'off': brightness(80%) saturate(0.8)\n            style:\n              top: 35%\n              left: 60%\n              width: 15%\n              #padding: 50px 50px 100px 50px\n          - type: image\n            entity: switch.shelly_shsw_25_687269_1\n            tap_action:\n              action: toggle\n            image: /local/bulb.png\n            state_image:\n              'on': /local/bulb_on.png\n            state_filter:\n              'on': brightness(130%) saturate(1.5) drop-shadow(0px 0px 10px gold)\n              'off': brightness(80%) saturate(0.8)\n            style:\n              top: 18%\n              left: 40%\n              width: 15%\n              #padding: 50px 50px 100px 50px\n          - type: image\n            entity: switch.shelly_shsw_25_687269_2\n            tap_action:\n              action: toggle\n            image: /local/bulb.png\n            state_image:\n              'on': /local/bulb_on.png\n            state_filter:\n              'on': brightness(130%) saturate(1.5) drop-shadow(0px 0px 10px gold)\n              'off': brightness(80%) saturate(0.8)\n            style:\n              top: 18%\n              left: 60%\n              width: 15%\n              #padding: 50px 50px 100px 50px\n          - type: image\n            entity: switch.air\n            tap_action:\n              action: toggle\n            image: /local/air-conditioner.png\n            state_image:\n              'on': /local/air-conditioner.png\n            state_filter:\n              'on': brightness(80%) saturate(1.5) drop-shadow(0px 0px 10px gold)\n              'off': brightness(20%) saturate(0.8)\n            style:\n              top: 63%\n              left: 80%\n              width: 7%\n              #padding: 50px 50px 100px 50px\n####################################################\n#                                                  #\n#                    Traffic                       #\n#                                                  #\n####################################################\n    # Title of the view. Will be used as the tooltip for tab icon\n  - title: Traffic\n    icon: mdi:cctv\n    #panel: true\n    path: Traffic\n    cards:\n        # The markdown card will render markdown text.\n#      - type: custom:surveillance-card\n#        thumb_interval: 15\n#        update_interval: 2\n#        cameras:\n#          - entity: camera.camera_salone_r2\n#            #motion_entity: binary_sensor.front_porch_motion\n#          - entity: camera.romatraffico\n            #motion_entity: binary_sensor.back_yard_motion\n          #- entity: camera.mamma\n#          - entity: camera.rome\n      - type: iframe\n        #title: Tangenziale EST - Portonaccio\n        url: https://www.autostrade.it/autostrade-gis/popupVideocam.do?tlc=3141 \n        aspect_ratio: 92%\n      - type: iframe\n        #title: boh\n        url: https://www.autostrade.it/autostrade-gis/popupVideocam.do?tlc=3136 \n        aspect_ratio: 92%\n      - type: iframe\n        #title: boh due\n        url: https://www.autostrade.it/autostrade-gis/popupVideocam.do?tlc=5837 \n        aspect_ratio: 92%\n      - type: iframe\n        #title: boh tre\n        url: https://www.autostrade.it/autostrade-gis/popupVideocam.do?tlc=5836 \n        aspect_ratio: 92%  \n\n####################################################\n#                                                  #\n#                  Plan Test                       #\n#                                                  #\n####################################################\n    # Title of the view. Will be used as the tooltip for tab icon\n  # - title: Plan\n  #   icon: mdi:floor-plan\n  #   id: tab_plan\n  #   panel: true\n  #   cards:\n  #     - type: vertical-stack\n  #       cards:\n  #       - type: custom:plan-coordinates\n  #       - type: picture-elements\n  #         image: /local/Casetta.png?v=1\n  #         elements:\n  #         - type: image\n  #           tap_action: none\n  #           hold_action: none\n  #           entity: light.living_sofa_rgb\n  #           state_image:\n  #             \"on\": /local/lovelace/table_left.png?v=1\n  #             \"off\": /local/lovelace/_empty.png?v=2\n  #           style:\n  #             transform: none\n  #             left: 0%\n  #             top: 0%\n              \n  #     - type: image\n  #       tap_action:\n  #         action: call-service\n  #         service: light.toggle\n  #         service_data:\n  #           entity_id: light.living_sofa_rgb\n  #       image: /local/lovelace/_round_button.png?v=2\n      \n      \n  #         - light.living_sofa_rgb\n  #         - light.living_window_white\n  #         - light.living_door_rgb\n  #         - switch.nico_computer\n  #       camera_image: camera.camera\n\n\n####################################################\n#                                                  #\n#              Component Tracker                   #\n#                                                  #\n####################################################\n    # Title of the view. Will be used as the tooltip for tab icon\n#  - title: Component Tracker\n    #icon: mdi:cctv\n    #panel: true\n    #path: tracker\n    #cards:\n        # The markdown card will render markdown text.\n      #- type: custom:tracker-card\n        #title:\n        #trackers:\n          #- sensor.custom_card_tracker\n          #- sensor.custom_component_tracker\n\n      #- type: custom:monster-card\n        #card:\n          #type: entities\n          #title: Things that are broken\n        #filter:\n          #include:\n            #- state: \"unknown\"\n          #exclude:\n            #- entity_id: group.*\n\n\n####################################################\n#                                                  #\n#                 Maintenance                      #\n#                                                  #\n####################################################\n    # Title of the view. Will be used as the tooltip for tab icon\n  - title: Maintenance\n    #icon: mdi:cctv\n    #panel: true\n    path: Maintenance\n    cards:\n        # The markdown card will render markdown text.\n      - type: custom:monster-card\n        card:\n          type: glance\n          title: Low Battery Devices\n        filter:\n          include:\n            - entity_id: \"*battery_level*\"\n              state: '< 25'\n            - attributes:\n                battery: '< 25'\n            - attributes:\n                battery_level: '< 25'            \n\n      - type: custom:monster-card\n        card:\n          type: entities\n          title: Things that are broken\n        filter:\n          include:\n            - state: \"unknown\"\n          exclude:\n            - entity_id: group.*\n\n      - type: custom:monster-card\n        card:\n          type: entities\n          title: Scripts\n        filter:\n          include:\n            - entity_id: \"script.*\"\n\n      - type: custom:unused-card\n        name: unused entities\n"
  }
]