Advertisement
Guest User

Untitled

a guest
Jan 25th, 2020
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.99 KB | None | 0 0
  1. #############################################################
  2. # #
  3. # JACK #
  4. # #
  5. #############################################################
  6. - type: entities # CARD PRINCIPALE
  7. style: |
  8. ha-card {
  9. borde-radius: var(--ha-card-border-radius);
  10. border: solid var(--primary-color); border-width: 0px 1px 1px 1px;
  11. }
  12. .card-content {
  13. padding: 0;
  14. }
  15. entities:
  16. - cards:
  17. - type: custom:hui-markdown-card # TESTATINA PRINCIPALE
  18. style: |
  19. ha-card {
  20. border-radius: var(--ha-card-border-radius) var(--ha-card-border-radius) 0px 0px;
  21. #background: var(--primary-color);
  22. #background: content-box radial-gradient(var(--paper-item-icon-active-color), var(--primary-color));
  23. background: content-box radial-gradient(var(--light-primary-color), var(--primary-color));
  24. box-shadow: none;
  25. }
  26. content: >-
  27. <font size=5><center>🤵 {{states('input_text.personal_assistant_name')}}</font>
  28. type: 'custom:hui-horizontal-stack-card'
  29. - cards:
  30. - type: custom:button-entity-row
  31. buttons:
  32. - entity: binary_sensor.people_home
  33. # state_icons:
  34. # "off": "mdi:home-export-outline"
  35. # "on": "mdi:home-import-outline"
  36. - entity: group.location_tracker
  37. state_icons:
  38. "not_home": "mdi:home-export-outline"
  39. "home": "mdi:home-import-outline"
  40. state_styles:
  41. "not_home":
  42. color: red
  43. font-weight: bold
  44. "home":
  45. color: var(--paper-item-icon-active-color)
  46. - entity: input_boolean.phone_notifications
  47. state_icons:
  48. "off" : "mdi:phone-off"
  49. - entity: input_boolean.speech_notifications
  50. state_icons:
  51. # "on": "mdi:account-tie-voice"
  52. # "off": "mdi:account-tie-voice-off"
  53. "off": "mdi:voice-off"
  54. - entity: input_boolean.text_notifications
  55. state_icons:
  56. "off": "mdi:cellphone-message-off"
  57. - entity: input_boolean.screen_notifications
  58. state_icons:
  59. "off": "mdi:message-bulleted-off"
  60. #"on": "mdi:message-bulleted"
  61. - entity: input_boolean.guest_mode
  62. state_icons:
  63. "on": "mdi:account-multiple-plus"
  64. "off": "mdi:account-multiple-minus-outline"
  65. - entity: input_boolean.priority_message
  66. state_icons:
  67. "off": "mdi:alarm-light-outline"
  68. - entity: input_boolean.holidays
  69. - entity: binary_sensor.dnd
  70. state_icons:
  71. "on": "mdi:do-not-disturb"
  72. "off": "mdi:do-not-disturb-off"
  73. type: 'custom:hui-horizontal-stack-card'
  74. - cards:
  75. - type: divider
  76. style:
  77. background-color: var(--primary-color)
  78. height: 1px
  79. type: 'custom:hui-horizontal-stack-card'
  80. - cards:
  81. - type: custom:hui-glance-card
  82. style: |
  83. ha-card {
  84. overflow: hidden; box-shadow: none; background: none; border-radius: 0px; font-size: 0.9em;
  85. }
  86. columns: 3
  87. show_icon: false
  88. entities:
  89. - entity: sensor.period_of_day
  90. - entity: sensor.period_of_day_volume
  91. - entity: input_number.default_restore_volume
  92. # - entity: input_select.notification_media_player_alexa
  93. # tap_action:
  94. # action: call-service
  95. # service: input_select.select_next
  96. # service_data:
  97. # entity_id: input_select.notification_media_player_alexa
  98. # hold_action:
  99. # action: call-service
  100. # service: input_select.select_previous
  101. # service_data:
  102. # entity_id: input_select.notification_media_player_alexa
  103. # double_tap_action:
  104. # action: more-info
  105. - entity: input_select.notification_media_player_google
  106. tap_action:
  107. action: call-service
  108. service: input_select.select_next
  109. service_data:
  110. entity_id: input_select.notification_media_player_google
  111. hold_action:
  112. action: call-service
  113. service: input_select.select_previous
  114. service_data:
  115. entity_id: input_select.notification_media_player_google
  116. double_tap_action:
  117. action: more-info
  118. - entity: input_select.text_notify
  119. tap_action:
  120. action: call-service
  121. service: input_select.select_next
  122. service_data:
  123. entity_id: input_select.text_notify
  124. hold_action:
  125. action: call-service
  126. service: input_select.select_previous
  127. service_data:
  128. entity_id: input_select.text_notify
  129. double_tap_action:
  130. action: more-info
  131. # - type: divider
  132. # style:
  133. # background-color: var(--primary-color)
  134. # height: 1px
  135. type: 'custom:hui-horizontal-stack-card'
  136. - cards:
  137. - type: custom:button-entity-row
  138. buttons:
  139. # - entity: input_boolean.ariela_switch
  140. # name: Ariela
  141. - entity: input_boolean.google_switch
  142. name: Google
  143. - entity: input_boolean.tts_google_mode
  144. state_icons:
  145. "on": "mdi:google-assistant"
  146. # - entity: input_boolean.alexa_switch
  147. # name: Alexa
  148. # - entity: input_select.default_alexa_type
  149. # state_icons:
  150. # "TTS": "mdi:text-shadow"
  151. # state_styles:
  152. # "TTS":
  153. # color: var(--paper-item-icon-active-color)
  154. # "Announce":
  155. # color: green
  156. # service: input_select.select_next
  157. # service_data:
  158. # entity_id: input_select.default_alexa_type
  159. - entity: input_boolean.last_message
  160. type: 'custom:hui-horizontal-stack-card'
  161. - cards:
  162. - type: custom:hui-entities-card
  163. style: |
  164. ha-card {
  165. background:none; border-radius: 0px; box-shadow: none;
  166. }
  167. .card-content {
  168. padding-top: 0; margin-top: 0; padding-bottom: 0; margin-bottom: 0;
  169. }
  170. entities:
  171. - type: custom:text-input-row
  172. entity: input_text.intercom_message_hub
  173. type: 'custom:hui-horizontal-stack-card'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement