├── LICENSE ├── README.md ├── automations.yaml ├── configuration.yaml └── ui-lovelace.yaml /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 DrZzs 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # DrZzs-HA 2 | All my Home Assistant configs 3 | -------------------------------------------------------------------------------- /automations.yaml: -------------------------------------------------------------------------------- 1 | ########## Quick Music Buttons ########## 2 | - alias: Sunday Music 3 | trigger: 4 | - platform: state 5 | entity_id: input_boolean.sunday_music 6 | to: "on" 7 | action: 8 | - service: media_player.select_source 9 | data: 10 | entity_id: media_player.volumio_volumiohomelocal 11 | source: Sunday 12 | - delay: 0:01 13 | - service: input_boolean.turn_off 14 | entity_id: input_boolean.sunday_music 15 | - alias: Lindsay Music 16 | trigger: 17 | - platform: state 18 | entity_id: input_boolean.lindsay_music 19 | to: "on" 20 | action: 21 | - service: media_player.select_source 22 | data: 23 | entity_id: media_player.volumio_volumiohomelocal 24 | source: Lindsay 25 | - delay: 0:01 26 | - service: input_boolean.turn_off 27 | entity_id: input_boolean.lindsay_music 28 | - alias: Rock Music 29 | trigger: 30 | - platform: state 31 | entity_id: input_boolean.rock_music 32 | to: "on" 33 | action: 34 | - service: media_player.select_source 35 | data: 36 | entity_id: media_player.volumio_volumiohomelocal 37 | source: Rock On 38 | - delay: 0:01 39 | - service: input_boolean.turn_off 40 | entity_id: input_boolean.rock_music 41 | - alias: Country Music 42 | trigger: 43 | - platform: state 44 | entity_id: input_boolean.country_music 45 | to: "on" 46 | action: 47 | - service: media_player.select_source 48 | data: 49 | entity_id: media_player.volumio_volumiohomelocal 50 | source: Country 51 | - delay: 0:01 52 | - service: input_boolean.turn_off 53 | entity_id: input_boolean.country_music 54 | ########## Boys Bathroom Lock ########### 55 | - alias: Boys Bathroom Lock on 56 | trigger: 57 | - platform: state 58 | entity_id: binary_sensor.boys_toilet 59 | from: "off" 60 | to: "on" 61 | action: 62 | - service: switch.turn_on 63 | entity_id: switch.boys_bathroom_lock 64 | - alias: Boys Bathroom Lock off 65 | trigger: 66 | - platform: state 67 | entity_id: binary_sensor.boys_toilet 68 | to: "off" 69 | action: 70 | - service: switch.turn_off 71 | entity_id: switch.boys_bathroom_lock 72 | - alias: Boys Bathroom Lock off after 20 73 | trigger: 74 | - platform: state 75 | entity_id: binary_sensor.boys_toilet 76 | to: "on" 77 | for: 78 | minutes: 20 79 | action: 80 | - service: switch.turn_off 81 | entity_id: switch.boys_bathroom_lock 82 | 83 | ########## Destinkinators ########### 84 | - alias: Boys Toilet Destinker 85 | trigger: 86 | - platform: state 87 | entity_id: binary_sensor.boys_toilet 88 | to: "on" 89 | action: 90 | - service: switch.turn_on 91 | entity_id: switch.10024200b4e62d51cd4b 92 | - delay: 0:10 93 | - service: switch.turn_off 94 | entity_id: switch.10024200b4e62d51cd4b 95 | - alias: Main Toilet Destinker 96 | trigger: 97 | - platform: state 98 | entity_id: binary_sensor.main_toilet 99 | to: "on" 100 | action: 101 | - service: switch.turn_on 102 | entity_id: switch.10024200b4e62d51d3d7 103 | - delay: 0:10 104 | - service: switch.turn_off 105 | entity_id: switch.10024200b4e62d51d3d7 106 | - alias: Master Toilet Destinker 107 | trigger: 108 | - platform: state 109 | entity_id: binary_sensor.master_toilet 110 | to: "on" 111 | action: 112 | - service: switch.turn_on 113 | entity_id: switch.10024200b4e62d51d558 114 | - delay: 0:10 115 | - service: switch.turn_off 116 | entity_id: switch.10024200b4e62d51d558 117 | ########## Climate Control ########### 118 | - alias: Fan off after AC off 119 | trigger: 120 | - platform: state 121 | entity_id: switch.upstairs_ac 122 | to: "off" 123 | action: 124 | - delay: 0:20 125 | - service: switch.turn_off 126 | entity_id: switch.upstairs_fan 127 | - alias: Fan off after Heat off 128 | trigger: 129 | - platform: state 130 | entity_id: switch.upstairs_furnace 131 | to: "off" 132 | action: 133 | - delay: 0:20 134 | - service: switch.turn_off 135 | entity_id: switch.upstairs_fan 136 | 137 | - alias: No AC when the Heat is on 138 | trigger: 139 | - platform: state 140 | entity_id: switch.upstairs_ac 141 | to: "on" 142 | action: 143 | - service: switch.turn_off 144 | entity_id: switch.upstairs_furnace 145 | - service: switch.turn_on 146 | entity_id: switch.upstairs_fan 147 | 148 | - alias: No Heat when the AC is on 149 | trigger: 150 | - platform: state 151 | entity_id: switch.upstairs_furnace 152 | to: "on" 153 | action: 154 | - service: switch.turn_off 155 | entity_id: switch.upstairs_ac 156 | - service: switch.turn_on 157 | entity_id: switch.upstairs_fan 158 | 159 | - alias: Summer Night Temp adjustment 160 | trigger: 161 | - platform: time 162 | at: '22:30:00' 163 | condition: 164 | condition: or 165 | conditions: 166 | - condition: template 167 | value_template: '{{ now().month == 5 }}' 168 | - condition: template 169 | value_template: '{{ now().month == 6 }}' 170 | - condition: template 171 | value_template: '{{ now().month == 7 }}' 172 | - condition: template 173 | value_template: '{{ now().month == 8 }}' 174 | - condition: template 175 | value_template: '{{ now().month == 9 }}' 176 | action: 177 | - service: climate.set_temperature 178 | data: 179 | entity_id: climate.upstairs_ac, climate.main_floor_ac 180 | temperature: 76 181 | operation_mode: Cool 182 | 183 | - alias: Summer Daytime Temp adjustment 184 | trigger: 185 | - platform: time 186 | at: '09:00:00' 187 | condition: 188 | condition: or 189 | conditions: 190 | - condition: template 191 | value_template: '{{ now().month == 5 }}' 192 | - condition: template 193 | value_template: '{{ now().month == 6 }}' 194 | - condition: template 195 | value_template: '{{ now().month == 7 }}' 196 | - condition: template 197 | value_template: '{{ now().month == 8 }}' 198 | - condition: template 199 | value_template: '{{ now().month == 9 }}' 200 | action: 201 | - service: climate.set_temperature 202 | data: 203 | entity_id: climate.upstairs_ac, climate.main_floor_ac 204 | temperature: 72 205 | operation_mode: Cool 206 | 207 | - alias: No one home Away Mode On 208 | trigger: 209 | - platform: state 210 | entity_id: device_tracker.janis7, device_tracker.justin_iphone7 211 | to: 'not_home' 212 | for: 213 | hours: 24 214 | action: 215 | - service: climate.set_away_mode 216 | data: 217 | entity_id: climate.upstairs_ac, climate.upstairs_furnace, climate.main_floor_ac, climate.main_floor_heat, climate.master_bedroom_heat, climate.kitchen_heat, climate.kids_bedroom_heat, climate.entryway_heat, climate.toy_room_heat, climate.guest_bedroom_heat, climate.theater_room_heat 218 | away_mode: 'on' 219 | 220 | 221 | # - alias: Winter Night Temp adjustment 222 | # trigger: 223 | # - platform: time 224 | # at: '22:00:00' 225 | # condition: 226 | # condition: or 227 | # conditions: 228 | # - condition: template 229 | # value_template: '{{ now().month == 10 }}' 230 | # - condition: template 231 | # value_template: '{{ now().month == 11 }}' 232 | # - condition: template 233 | # value_template: '{{ now().month == 12 }}' 234 | # - condition: template 235 | # value_template: '{{ now().month == 1 }}' 236 | # - condition: template 237 | # value_template: '{{ now().month == 2 }}' 238 | # - condition: template 239 | # value_template: '{{ now().month == 3 }}' 240 | # - condition: template 241 | # value_template: '{{ now().month == 4 }}' 242 | # action: 243 | # - service: climate.set_temperature 244 | # data: 245 | # entity_id: climate.main_floor_heat, climate.toy_room_heat, climate.kitchen_heat, climate.entryway_heat, climate.theater_room_heat 246 | # temperature: 68 247 | # operation_mode: Heat 248 | # - service: climate.set_temperature 249 | # data: 250 | # entity_id: climate.guest_bedroom_heat, climate.master_bedroom_heat, climate.kids_bedroom_heat 251 | # temperature: 70 252 | # operation_mode: Heat 253 | 254 | 255 | ########## IR Remotes ############# 256 | - alias: Projector Receiver Toggle 257 | trigger: 258 | - platform: state 259 | entity_id: input_boolean.receiver 260 | 261 | action: 262 | - service: switch.broadlink_send_packet_192_168_1_66 263 | data: 264 | packet: "JgCoAQABJZQRFBE4ERQRFBE4ERQRORE4ExIRFBE4ETkRFBE4ETkRFBA5ETkRExE5ERQRExE5ETkRExEUETkRExE5ETgRFBEUEQAFHAABJE0RAAxJAAEmSxIADEgAASZLEgAMSAABJksSAAxIAAEnShMADEcAASdKEwAMRwABJ0oTAAxHAAEnShMADEcAASdKEwAMRwABJ0oTAAxHAAEnShMADEcAASdKEwAMRwABJ0oTAAxHAAEnShMADEcAASdKEwAMRwABJ0oTAAxHAAElTBEADEkAASVMEQAMSgABJkoTAAxHAAElTBEADEkAASdIFQAMSAABJEwRAAxKAAEmShMADEgAASZKEwAMSAABJkoTAAxIAAEmShMADEgAASZKEwAMSAABJkoTAAxIAAEmShMADEgAASZKEwAMSAABJkoTAAxIAAEmShMADEgAASVLEgAMSQABJkoTAAxIAAEmShMADEgAASZKEwAMSAABJkoUAAxHAAEmShQADEcAASZKFAAMRwABJkoUAAxHAAEmShQADEcAASZKFAAMRwABJkoUAAxHAAEmShQADQU=" 265 | 266 | - alias: Select Desk LEDs Blue 267 | trigger: 268 | - platform: state 269 | entity_id: input_select.desk_leds 270 | to: "Blue" 271 | action: 272 | - service: switch.broadlink_send_packet_192_168_1_62 273 | data: 274 | packet: "JgC4AQABKZQSExMSFBIRFRESFBMRFBISEzcTNxI3FDcTNxI3FDcTNxI4EzcTEhM3EzcSFBISExMRFBISEzcTEhMTETgTNxM3EgAFHQABKUsTAAxUAAEpSxIADFAAASlLEwAMVAABKUsSAAxUAAEqShMADFUAASlLEgAMVQABKUsTAAxUAAEqShMADFQAASpKEwAMVQABKUoTAAxVAAEpShMADFUAASlKEwAMVQABKEsTAAxUAAEpSxIADFUAASlLEgAMVQABKUsTAAxUAAEqShMADFQAASlLEwAMVAABKUsTAAxUAAEpSxMADFQAASpKEwAMVAABKkoTAAxUAAEqShMADFQAASpKEwAMVAABKUsTAAxUAAEpSxMADFQAASlLEwAMVAABKkoTAAxUAAEpSxMADFQAASlLEwAMVAABKUsTAAxUAAEpSxIADFUAASlKEwAMVAABKUsTAAxUAAEpShMADFQAASpKEwAMVAABKkoTAAxUAAEqShMADFQAASpKEwAMVAABKkoTAAxUAAEqShMADFQAASpKEwAMVAABKkoTAAxUAAEqShMADFQAASlLEwAMRQABKksTAA0F" 275 | - alias: Select Desk LEDs Maize 276 | trigger: 277 | - platform: state 278 | entity_id: input_select.desk_leds 279 | to: "Maize" 280 | action: 281 | - service: switch.broadlink_send_packet_192_168_1_62 282 | data: 283 | packet: "JgCYAQABJ5YRFRETEhMRFRETEhQQFREUEjgRORA5EzgRORA6EjgRORAVERQSOBI4EDoRFBAVEhMSOBI4EBUSExITEDoSOBI4EQAFIAABKEwSAAxWAAEpShEADFcAASdMEQAMVgABJ00SAAxVAAEoSxMADFQAAShLEwAMVAABKUoTAAxUAAEpShMADFQAASlKEwAMVAABKEsTAAxUAAEoSxMADFQAASlKEwAMVAABKUoTAAxUAAEpShMADFQAASlKEwAMVAABKEsTAAxUAAEoSxIADFUAAShLEwAMUwABKUsSAAxUAAEpSxIADFQAASlKEwAMVAABKUoTAAxUAAEpShMADFQAAShLEwAMUwABKUsSAAxUAAEpShMADFQAAShLEwAMUwABKUoTAAxUAAEmTRIADFQAASdMEwAMUwABJ00QAAxWAAEnTBEADFYAASZNEAAMVgABKUoRAAxWAAEpShAADFYAASdNEAAMVgABJ0wRAAxWAAEnTBAADFYAASdMEQAMVgABJ0wQAAxWAAEnTBEADFYAASdMEQANBQ==" 284 | - alias: Select Desk LEDs Green 285 | trigger: 286 | - platform: state 287 | entity_id: input_select.desk_leds 288 | to: "Green" 289 | action: 290 | - service: switch.broadlink_send_packet_192_168_1_62 291 | data: 292 | packet: "JgAgAQABKpUSExITERUQFBMTEBURFBITETkSORE4ETkTOBE5EDkTOBI4EBUSExITETkSExEVERMSFBA6EjgRORAVETkQOhI4EgAFIAABKUsSAAxTAAEqShIADFYAASlLEgAMVQABKkoSAAxWAAEpSxIADFYAASlKEwAMVQABKkoSAAxVAAEqShMADFEAASlLEgAMVgABKUsSAAxWAAEpSxIADFYAASpKEgAMVgABKkoSAAxWAAEpSxIADFUAASlLEwAMVQABK0kTAAxVAAEqShMADFQAAStJFAAMVAABK0kUAAxUAAErSRQADFQAAStJFAAMVAABK0kUAAxUAAErSRQADFQAASpKEwAMVAABKUsUAAxUAAEqShMADFIAAStKEwANBQAAAAAAAAAA" 293 | - alias: Select Desk LEDs Red 294 | trigger: 295 | - platform: state 296 | entity_id: input_select.desk_leds 297 | to: "Red" 298 | action: 299 | - service: switch.broadlink_send_packet_192_168_1_62 300 | data: 301 | packet: "" 302 | - alias: Select Desk LEDs Smooth 303 | trigger: 304 | - platform: state 305 | entity_id: input_select.desk_leds 306 | to: "Smooth" 307 | action: 308 | - service: switch.broadlink_send_packet_192_168_1_62 309 | data: 310 | packet: "JgCYAQABJpYSExITEBURFBEUEBURFBITEDoRORE5EDkTOBE5EDkROhAUEhMRORI5ERMSExEVEBQSORA5EBYQFBI4EjgQOhE5EQAFIAABJ0sSAAxWAAEnSxIADFcAASZMEQAMVQABKEsSAAxWAAEnTBEADFcAASdMEQAMVwABJ0wRAAxXAAEoShIADFYAASlKEgAMVgABKEsSAAxWAAEoSxEADFYAASlKEgAMVgABKUoSAAxWAAEpShIADFYAASlKEgAMVgABKEsRAAxXAAEoSxEADFcAAShKEgAMVgABKUoSAAxWAAEnTBEADFYAAShLEgAMVgABJ0sRAAxXAAEnSxIADFYAASdMEQAMVwABJ0sSAAxWAAEoSxIADFYAASdLEgAMVgABJ0wRAAxWAAEoSxEADFYAAShLEgAMVgABJ0sSAAxWAAEnTBEADFYAASdMEQAMVwABJ0sSAAxWAAEoShMADFUAASdMEgAMVQABKEsSAAxVAAEoSxIADFYAASdLEgAMVgABJ0sSAAxWAAEnSxIADFYAASZMEgANBQ==" 311 | 312 | - alias: Select Projector Input Roku 313 | trigger: 314 | - platform: state 315 | entity_id: input_select.projector_input 316 | to: "Roku" 317 | action: 318 | - service: switch.broadlink_send_packet_192_168_1_66 319 | data: 320 | packet: "JgAoAgABJpQTEhM2ExITEhM2FBETNhM3FDYTERQ2FDUUERQ2FDUUERM3EzYUNhM2FBETEhMRExITEhMSExETEhM3EzYTNxM2EwAE9gABJkoUAAxHAAEkTBEADEoAASRMEQAMSgABJkoTAAxIAAEkTREADEkAASRNEQAMSQABJE0SAAxIAAEmSxIADEkAASVLEgAMSQABJUsSAAxJAAElSxIADEkAASVLEgAMSQABJE0RAAxJAAEkTREADEkAASRNEQAMSQABJE0RAAxJAAElTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEQAMSgABJE0RAAxJAAEkTREADEkAASRNEQAMSQABJUwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRNEQAMSQABJE0RAAxJAAEmSxEADEkAASZLEwAMRwABJksTAAxIAAEmShMADEgAASZKEwAMSAABJkoTAAxIAAEmSxIADEgAASZLEgAMSAABJksTAAxHAAEmSxMADEcAASZLEwAMSAABJkoTAAxIAAEmShMADEgAASdJEwAMSAABJ0kTAAxIAAEnShMADEcAASdKEwAMRwABJ0oUAAxGAAEnShQADEcAASZKEwAMSAABJkoTAAxIAAEmShMADEgAASZKEwAMSAABJE0TAAxHAAEkTREADEkAASVMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEQANBQ==" 321 | 322 | - alias: Select Projector Input Cable 323 | trigger: 324 | - platform: state 325 | entity_id: input_select.projector_input 326 | to: "Cable" 327 | action: 328 | - service: switch.broadlink_send_packet_192_168_1_66 329 | data: 330 | packet: "JgDgAQABJpMTEhM3EhITEhM3EhITNxM2EzcTEhM2EzcTEhI3EzcSEhMSEzcTNhM3ExISEhMSExITNhMSExITEhI3EzcTNhM3EwAE9QABJksTAAxHAAEmSxMADEgAASVLEwAMSAABJUsTAAxIAAEmShMADEgAASdJFAAMRwABJkoTAAxIAAEmShMADEgAASZLEwAMRwABJksRAAxJAAEkTREADEkAASRNEQAMSQABJUwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEQAMSgABJE0RAAxJAAEkTREADEkAASRNEQAMSQABJUwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwSAAxJAAEkTREADEkAASRNEQAMSQABJUwRAAxJAAElTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTREADEkAASRNEQAMSQABJE0RAAxJAAElTBEADEkAASVMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBIADEkAASRNEQAMSQABJE0RAAxJAAEkTREADEkAASZLEQANBQAAAAAAAAAA" 331 | 332 | - alias: Select Projector Input DVD 333 | trigger: 334 | - platform: state 335 | entity_id: input_select.projector_input 336 | to: "DVD" 337 | action: 338 | - service: switch.broadlink_send_packet_192_168_1_66 339 | data: 340 | packet: "JgDYAgABJJYRExI4ERQRExI4ERQROBE5ETgSExE5ETgRFBE5ETgRFBE5ERMRORE4ERQRFBEUERMRFBE5ERMSExE5ETgRORE4EgAE9wABJE0RAAxJAAEkTREADEkAASRNEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBIADEkAASRNEQAMSQABJE0RAAxJAAEkTREADEkAASRNEQAMSQABJUwRAAxJAAElTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRNEQAMSQABJE0RAAxJAAEkTREADEkAASVMFAAMRwABJEwRAAxKAAEkTBEADEoAASRMEQAMSgABJE0RAAxJAAEkTREADEkAASRNEQAMSQABJUwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRNEQAMSQABJE0RAAxJAAElTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEgAMSQABJE0RAAxJAAEkTREADEkAASVMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEgAMSQABJE0RAAxJAAEkTREADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEgAMSQABJE0RAAxJAAElTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRNEQAMSQABJE0RAAxJAAElTBEADEkAASVMEQAMSgABJEwRAAxKAAEkTBEADEoAASRNEQAMSQABJE0RAAxJAAElTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBIADEkAASRNEQAMSQABJUwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTREADEkAASRNEQAMSQABJUwRAA0F" 341 | 342 | - alias: Select Projector Input extra 343 | trigger: 344 | - platform: state 345 | entity_id: input_select.projector_input 346 | to: "extra" 347 | action: 348 | - service: switch.broadlink_send_packet_192_168_1_66 349 | data: 350 | packet: "JgCYAgABJpMTEhM2FBETEhM2FBETNxM2ExITEhM2EzcTEhM2EzcTERQRExITNhQ2ExITEhMREzcTNhQ2ExITERQ2EzYUNhMSEwAFGgABJkoUAAxHAAEmShQADEcAASZKEwAMSAABJkoTAAxIAAEmShMADEcAASdKEwAMRwABJ0oTAAxHAAEnShMADEcAASdKEwAMRwABJksTAAxHAAEmShQADEcAASZKFAAMRwABJkoUAAxHAAEmShMADEgAASZKEwAMSAABJkoTAAxIAAEmShMADEgAASZKEwAMRwABJ0oTAAxHAAEnShMADEcAASdKEwAMRwABJ0oTAAxHAAEmSxMADEcAASZLEwAMRwABJkoUAAxHAAEmShMADEgAASZKEwAMSAABJkoTAAxIAAEmShMADEcAASdKEwAMRwABJ0oTAAxHAAEnShMADEcAASZLEwAMRwABJkoUAAxHAAEmShQADEcAASZKEwAMSAABJkoTAAxIAAEmShMADEcAASdKEwAMRwABJ0oTAAxHAAEnShMADEcAASZLEwAMRwABJkoUAAxHAAEmShQADEcAASZKEwAMSAABJkoTAAxIAAEmShMADEcAASdKEwAMRwABJ0oTAAxHAAEmShQADEcAASZKFAAMRwABJkoUAAxHAAEmShMADEgAASZKEwAMRwABJ0oTAAxHAAEnShMADEcAASZLEwAMRwABJkoUAAxHAAEmShMADEgAASZKEwAMSAABJkoTAAxIAAEmShMADEcAASdKEwAMRwABJksTAAxHAAEmSxIADEgAASVLEwAMSAABJEwRAAxKAAEkTBEADEkAASVMEQAMSQABJE0RAAxJAAEkTREADEkAASRMEQAMSgABJUsSAAxJAAElSxIADQU=" 351 | 352 | ########## ALARM ########### 353 | - alias: Trigger alarm while armed home or away 354 | trigger: 355 | - platform: state 356 | entity_id: binary_sensor.shop_door 357 | to: 'on' 358 | - platform: state 359 | entity_id: binary_sensor.garage_motion 360 | to: 'on' 361 | - platform: state 362 | entity_id: binary_sensor.basement_door 363 | to: 'on' 364 | - platform: state 365 | entity_id: binary_sensor.garage_entry 366 | to: 'on' 367 | - platform: state 368 | entity_id: binary_sensor.front_door 369 | to: 'on' 370 | - platform: state 371 | entity_id: binary_sensor.kitchen_door 372 | to: 'on' 373 | - platform: state 374 | entity_id: binary_sensor.kitchen_windows 375 | to: 'on' 376 | - platform: state 377 | entity_id: binary_sensor.front_windows 378 | to: 'on' 379 | - platform: state 380 | entity_id: binary_sensor.master_bedroom 381 | to: 'on' 382 | - platform: state 383 | entity_id: binary_sensor.theater_windows 384 | to: 'on' 385 | - platform: state 386 | entity_id: binary_sensor.hafens_room 387 | to: 'on' 388 | - platform: state 389 | entity_id: binary_sensor.grandmas_room 390 | to: 'on' 391 | - platform: state 392 | entity_id: binary_sensor.gym_window 393 | to: 'on' 394 | condition: 395 | condition: or 396 | conditions: 397 | - condition: state 398 | entity_id: alarm_control_panel.alarm 399 | state: armed_away 400 | - condition: state 401 | entity_id: alarm_control_panel.alarm 402 | state: armed_home 403 | action: 404 | service: alarm_control_panel.alarm_trigger 405 | entity_id: alarm_control_panel.alarm 406 | 407 | - alias: Alarm Triggered 408 | trigger: 409 | - platform: state 410 | entity_id: alarm_control_panel.alarm 411 | to: 'triggered' 412 | action: 413 | - service: notify.notify 414 | data: 415 | message: "!Alarm Triggered!" 416 | - service: media_player.alexa_tts 417 | data: 418 | entity_id: media_player.theater_room_dot, media_player.kitchen_dot, media_player.amazon_office, media_player.mom_and_dads_room 419 | message: "The Alarm has been triggered. Input the disarm code or an automated message will be sent to the police in 30 seconds." 420 | - service: media_player.select_source 421 | data: 422 | entity_id: media_player.volumio_volumioboxlocal 423 | source: Sneak Caught 424 | - service: media_player.select_source 425 | data: 426 | entity_id: media_player.volumio_volumiohomelocal 427 | source: Home Alarm 428 | - service: input_select.select_option 429 | data: 430 | entity_id: input_select.all_leds 431 | option: Police All 432 | - service: notify.ios_justin_iphone7 433 | data: 434 | title: ALARM TRIGGERED 435 | message: "Maybe check the cameras" 436 | - service: notify.ios_janis7 437 | data: 438 | title: ALARM TRIGGERED 439 | message: "Scream! Run! Hide!" 440 | 441 | ####### HomeKit ###### 442 | - alias: Homekit Delayed Start 443 | hide_entity: true 444 | trigger: 445 | - platform: homeassistant 446 | event: start 447 | action: 448 | - delay: 00:05 449 | - service: homekit.start 450 | 451 | ########### Audible Notifications ######### 452 | - alias: 'Back Door Open' 453 | hide_entity: true 454 | trigger: 455 | - platform: state 456 | entity_id: binary_sensor.kitchen_door 457 | from: 'off' 458 | to: 'on' 459 | for: '00:02:00' 460 | action: 461 | - service: media_player.alexa_tts 462 | data: 463 | entity_id: media_player.kitchen_dot 464 | message: "Can someone please close the backdoor?" 465 | - service: media_player.alexa_tts 466 | data: 467 | entity_id: media_player.kitchen_dot 468 | message: "Can someone please close the backdoor?" 469 | 470 | - alias: 'Garage Fridge Open' 471 | hide_entity: true 472 | trigger: 473 | - platform: state 474 | entity_id: binary_sensor.garage_fridge 475 | from: 'off' 476 | to: 'on' 477 | for: '00:02:00' 478 | action: 479 | - service: media_player.alexa_tts 480 | data: 481 | entity_id: media_player.kitchen_dot 482 | message: "Can someone please close the garage fridge?" 483 | - service: tts.google_say 484 | data: 485 | entity_id: media_player.adenaudiocast 486 | message: "Can someone please close the garage fridge?" 487 | 488 | - alias: 'Basement Water Leak' 489 | hide_entity: true 490 | trigger: 491 | - platform: state 492 | entity_id: binary_sensor.basment_water 493 | from: 'off' 494 | to: 'on' 495 | action: 496 | - service: tts.google_say 497 | data: 498 | entity_id: media_player.adenaudiocast 499 | message: "Holy Crap there's water in the Basement again! Call someone, do something, ahhhhhhhh?" 500 | - service: media_player.alexa_tts 501 | data: 502 | entity_id: media_player.dads_office 503 | message: "Holy Crap there's water in the Basement again! Call someone, do something, ahhhhhhhh?" 504 | - service: notify.ios_justin_iphone7 505 | data: 506 | title: WATER LEAK 507 | message: "Holy Crap there's water in the Basement again! Call someone, do something, ahhhhhhhh?" 508 | - service: input_select.select_option 509 | data: 510 | entity_id: input_select.all_leds 511 | option: Police All 512 | 513 | ########## X-box Warnings ########### 514 | - alias: DrZzs Xbox 2hr warning 515 | hide_entity: true 516 | initial_state: 'on' 517 | trigger: 518 | - platform: state 519 | entity_id: sensor.drzzs_xbox 520 | to: 'on' 521 | for: 522 | minutes: 120 523 | action: 524 | - service: notify.drzzs_xbox 525 | data: 526 | message: "You've been playing for 2 hours bud. Time to take a break." 527 | 528 | - alias: Zach Xbox 3hr text 529 | hide_entity: true 530 | initial_state: 'on' 531 | trigger: 532 | - platform: state 533 | entity_id: sensor.i_am_zerp 534 | to: 'on' 535 | for: 536 | minutes: 180 537 | action: 538 | service: notify.ios_justin_iphone7 539 | data: 540 | title: "Zach Xbox" #customizable 541 | message: "Zach's been on the Xbox for 3 hours" #customizable 542 | 543 | ######## Garage ######### 544 | - alias: Reset garagePIR state 545 | hide_entity: true 546 | initial_state: 'on' 547 | trigger: 548 | - platform: state 549 | entity_id: binary_sensor.garage_motion 550 | from: 'off' 551 | to: 'on' 552 | for: 553 | seconds: 5 554 | action: 555 | - service: mqtt.publish 556 | data: 557 | topic: tele/RF_Bridge/RESULT 558 | payload: D54C1Eoff 559 | 560 | - alias: Garage Lights Off 561 | hide_entity: true 562 | initial_state: 'on' 563 | trigger: 564 | - platform: state 565 | entity_id: binary_sensor.garage_motion 566 | from: 'on' 567 | to: 'off' 568 | for: 569 | minutes: 5 570 | action: 571 | - service: switch.turn_off 572 | data: 573 | entity_id: switch.88800443bcddc2e42e95 574 | 575 | - alias: Garage Lights On 576 | hide_entity: true 577 | initial_state: 'on' 578 | trigger: 579 | - platform: state 580 | entity_id: binary_sensor.shop_door 581 | to: 'on' 582 | - platform: state 583 | entity_id: binary_sensor.garage_entry 584 | to: 'on' 585 | - platform: state 586 | entity_id: binary_sensor.garage_motion 587 | to: 'on' 588 | condition: 589 | - condition: state 590 | entity_id: switch.88800443bcddc2e42e95 591 | state: 'off' 592 | action: 593 | service: switch.turn_on 594 | data: 595 | entity_id: switch.88800443bcddc2e42e95 596 | 597 | - action: 598 | - alias: janis garage notice 599 | data: 600 | message: It's 10pm. I'm closing Janis' garage door 601 | title: Garage Door 602 | service: notify.ios_justin_iphone7 603 | - alias: close her door 604 | data: 605 | payload: OPEN 606 | topic: sensor/garage/actionjanis 607 | service: mqtt.publish 608 | alias: Check on Janis garage door 609 | hide_entity: true 610 | condition: 611 | - condition: state 612 | entity_id: cover.double 613 | state: open 614 | id: '1504414132239' 615 | trigger: 616 | - at: '22:00:00' 617 | platform: time 618 | - action: 619 | - data: 620 | entity_id: cover.double 621 | service: cover.open_cover 622 | alias: CarPresenceJanis_on 623 | hide_entity: true 624 | condition: 625 | - condition: state 626 | entity_id: cover.double 627 | state: closed 628 | id: '1519173799770' 629 | trigger: 630 | - entity_id: binary_sensor.carpresencejanis 631 | from: 'off' 632 | platform: state 633 | to: 'on' 634 | - action: 635 | - data: 636 | entity_id: cover.double 637 | service: cover.close_cover 638 | alias: CarPresenceJanis_off 639 | hide_entity: true 640 | condition: 641 | - condition: state 642 | entity_id: cover.double 643 | state: open 644 | id: '1519174129370' 645 | trigger: 646 | - entity_id: binary_sensor.carpresencejanis 647 | from: 'on' 648 | platform: state 649 | to: 'off' 650 | - action: 651 | - data: 652 | entity_id: cover.test 653 | service: cover.open_cover 654 | alias: CarPresenceJustin_on 655 | hide_entity: true 656 | condition: 657 | - condition: state 658 | entity_id: cover.test 659 | state: closed 660 | id: '1519177386792' 661 | trigger: 662 | - entity_id: binary_sensor.carpresencejustin 663 | from: 'off' 664 | platform: state 665 | to: 'on' 666 | - action: 667 | - data: 668 | entity_id: cover.test 669 | service: cover.close_cover 670 | alias: CarPresenceJustin_off 671 | hide_entity: true 672 | condition: 673 | - condition: state 674 | entity_id: cover.test 675 | state: open 676 | id: '1519177468452' 677 | trigger: 678 | - entity_id: binary_sensor.carpresencejustin 679 | from: 'on' 680 | platform: state 681 | to: 'off' 682 | # - alias: Reset officeWand state 683 | # hide_entity: true 684 | # initial_state: 'on' 685 | # trigger: 686 | # - platform: state 687 | # entity_id: binary_sensor.office_wand 688 | # from: 'off' 689 | # to: 'on' 690 | # for: 691 | # seconds: 5 692 | # action: 693 | # - service: mqtt.publish 694 | # data: 695 | # topic: tele/RF_Bridge/RESULT 696 | # payload: D31421off 697 | 698 | # - alias: Reset officeBook state 699 | # hide_entity: true 700 | # initial_state: 'on' 701 | # trigger: 702 | # - platform: state 703 | # entity_id: binary_sensor.office_book 704 | # from: 'off' 705 | # to: 'on' 706 | # for: 707 | # seconds: 5 708 | # action: 709 | # - service: mqtt.publish 710 | # data: 711 | # topic: tele/RF_Bridge/RESULT 712 | # payload: C7C2A19off 713 | 714 | # - alias: Office Lock Magic 715 | # hide_entity: true 716 | # initial_state: 'on' 717 | # trigger: 718 | # - platform: state 719 | # entity_id: binary_sensor.office_book 720 | # to: 'on' 721 | # - platform: state 722 | # entity_id: binary_sensor.office_wand 723 | # to: 'on' 724 | # action: 725 | # - service: switch.toggle 726 | # data: 727 | # entity_id: switch.office_lock 728 | # - service: tts.google_say 729 | # data: 730 | # entity_id: media_player.adenaudiocast 731 | # message: "You have chosen wisely. You may enter my realm" 732 | 733 | # - alias: Poorly 734 | # hide_entity: True 735 | # trigger: 736 | # - platform: state 737 | # entity_id: binary_sensor.office_wand 738 | # from: 'off' 739 | # to: 'on' 740 | # action: 741 | # - service: media_player.select_source 742 | # data: 743 | # entity_id: media_player.volumio_volumioboxlocal 744 | # source: Poorly 745 | 746 | - alias: DrZzs leaving Work 747 | trigger: 748 | - platform: state 749 | entity_id: device_tracker.justin_iphone7 750 | from: 'Work' 751 | to: 'not_home' 752 | action: 753 | - service: notify.notify 754 | data: 755 | message: Daddy just left work, should be home soon 756 | - service: media_player.select_source 757 | data: 758 | entity_id: media_player.volumio_volumiohomelocal 759 | source: DaddyisComingHome 760 | - delay: 00:30:00 761 | - service: input_select.select_option 762 | data: 763 | entity_id: input_select.all_leds 764 | option: Touchdown 765 | - delay: 00:15:00 766 | - service: input_select.select_option 767 | data: 768 | entity_id: input_select.all_leds 769 | option: solid 770 | - delay: 00:00:10 771 | - service: lights.turn_off 772 | entity_id: lights.holiday_lights, lights.side_lights, lights.tree_lights, lights.office_test_lights 773 | 774 | # - alias: DrZzs leaving to Janis 775 | # action: 776 | # data: 777 | # message: Dr Zzs just left work 778 | # service: notify.ios_janis_iphone 779 | # alias: Leaving Work notify Janis 780 | # condition: [] 781 | # id: '1504118215103' 782 | # trigger: 783 | # - entity_id: device_tracker.justin_iphone7 784 | # from: Work 785 | # platform: state 786 | # to: not_home 787 | # - action: 788 | # alias: my garage notice 789 | # data: 790 | # message: It's 10pm. I'm closing your garage door 791 | # title: Garage Door 792 | # service: notify.justin_iphone7 793 | # - alias: close the door 794 | # data: 795 | # payload: 'ON' 796 | # topic: cmnd/sonoffSV04/POWER 797 | # service: mqtt.publish 798 | # - alias: Check on Justin garage door 799 | # condition: 800 | # - condition: state 801 | # entity_id: cover.test 802 | # state: open 803 | # id: '1504215020828' 804 | # trigger: 805 | # - at: '22:30:00' 806 | # platform: time 807 | 808 | - action: 809 | - alias: Halloween Scheduled Lights 810 | data: 811 | payload: Halloween 812 | topic: bruh/mqttstrip/seteffect 813 | service: mqtt.publish 814 | alias: Halloween Lights 815 | hide_entity: true 816 | condition: [] 817 | id: '1504484128174' 818 | trigger: 819 | - platform: template 820 | value_template: '"{% if is_state(''sensor.date__time'', ''2017-10-31, 18:00'') 821 | %}true{% endif %}"' 822 | 823 | # - action: 824 | # - alias: Lights off 825 | # data: 826 | # entity_id: light.holiday_lights 827 | # service: light.turn_off 828 | # data: 829 | # entity_id: light.tree_lights 830 | # service: light.turn_off 831 | # - data: 832 | # entity_id: light.side_lights 833 | # service: light.turn_off 834 | # alias: Turn off Holiday lights at 10pm 835 | # hide_entity: true 836 | # condition: [] 837 | # id: '1506099449511' 838 | # trigger: 839 | # - at: '22:00:00' 840 | # platform: time 841 | 842 | - action: 843 | - alias: garage blink 844 | data: 845 | friendly_name: Garage 846 | service: blink.snap_picture 847 | alias: Garage Blink Pic 848 | hide_entity: true 849 | condition: [] 850 | id: '1509405186382' 851 | trigger: 852 | - entity_id: input_boolean.garage_blink 853 | from: 'on' 854 | platform: state 855 | to: 'off' 856 | - entity_id: input_boolean.garage_blink 857 | from: 'off' 858 | platform: state 859 | to: 'on' 860 | 861 | - action: 862 | - data: 863 | entity_id: switch.office_light 864 | service: switch.turn_on 865 | - data: 866 | entity_id: switch.office_fan 867 | service: switch.turn_on 868 | - data: 869 | entity_id: switch.office_crown 870 | service: switch.turn_on 871 | - data: 872 | entity_id: media_player.spotify 873 | source: Dad's Office 874 | service: media_player.select_source 875 | - data: 876 | entity_id: media_player.spotify 877 | service: media_player.media_play 878 | - alias: '' 879 | data: 880 | entity_id: input_boolean.office_on 881 | service: input_boolean.turn_off 882 | - data: 883 | payload: Touchdown 884 | topic: bruh/mqttstripTEST/seteffect 885 | service: mqtt.publish 886 | - delay: 00:03:00 887 | - data: 888 | entity_id: light.office_test_lights 889 | service: light.turn_off 890 | alias: Office Home 891 | hide_entity: true 892 | condition: [] 893 | id: '1514337924171' 894 | trigger: 895 | - entity_id: input_boolean.office_on 896 | from: 'off' 897 | platform: state 898 | to: 'on' 899 | - action: 900 | - data: 901 | entity_id: switch.office_crown 902 | service: switch.turn_off 903 | - data: 904 | entity_id: switch.office_fan 905 | service: switch.turn_off 906 | - data: 907 | entity_id: switch.office_light 908 | service: switch.turn_off 909 | - data: 910 | entity_id: media_player.spotify 911 | service: media_player.media_pause 912 | - data: 913 | entity_id: input_boolean.office_off 914 | service: input_boolean.turn_off 915 | alias: Going to Bed Office 916 | hide_entity: true 917 | condition: [] 918 | id: '1514340361137' 919 | trigger: 920 | - entity_id: input_boolean.office_off 921 | from: 'off' 922 | platform: state 923 | to: 'on' 924 | 925 | ############### Hall 3-way Switches ############## 926 | - action: 927 | - data: 928 | entity_id: switch.upstairs_hall 929 | service: switch.toggle 930 | alias: Multi Switch Hall Lights 931 | hide_entity: true 932 | condition: [] 933 | id: '1514764929766' 934 | trigger: 935 | - entity_id: switch.sonoff_11 936 | from: 'on' 937 | platform: state 938 | to: 'off' 939 | - entity_id: switch.sonoff_11 940 | from: 'off' 941 | platform: state 942 | to: 'on' 943 | - entity_id: switch.sonoff_12 944 | from: 'on' 945 | platform: state 946 | to: 'off' 947 | - entity_id: switch.sonoff_12 948 | from: 'off' 949 | platform: state 950 | to: 'on' 951 | - action: 952 | - delay: 00:30:00 953 | - data: 954 | entity_id: switch.back_porch 955 | service: switch.turn_off 956 | alias: side porch timer 957 | hide_entity: true 958 | condition: [] 959 | id: '1515120730104' 960 | trigger: 961 | - entity_id: switch.back_porch 962 | from: 'off' 963 | platform: state 964 | to: 'on' 965 | 966 | # - action: 967 | # - delay: 00:00:01 968 | # - data: 969 | # payload: 'OFF' 970 | # topic: cmnd/sonoffSV04/POWER 971 | # service: mqtt.publish 972 | # alias: MQTT SV test 973 | # hide_entity: true 974 | # condition: [] 975 | # id: '1515737754284' 976 | # trigger: 977 | # - payload: 'ON' 978 | # platform: mqtt 979 | # topic: cmnd/sonoffSV04/POWER 980 | 981 | - action: 982 | - data: 983 | entity_id: switch.back_porch 984 | service: switch.turn_off 985 | alias: light timer 986 | hide_entity: true 987 | condition: 988 | - condition: state 989 | entity_id: switch.back_porch 990 | state: 'on' 991 | id: '1519190216462' 992 | trigger: 993 | - at: '22:00:00' 994 | platform: time 995 | 996 | - action: 997 | - data: 998 | entity_id: input_select.all_leds 999 | option: Touchdown 1000 | service: input_select.select_option 1001 | - delay: 00:15:00 1002 | - data: 1003 | entity_id: input_select.all_leds 1004 | option: solid 1005 | service: input_select.select_option 1006 | - data: 1007 | entity_id: light.office_test_lights 1008 | service: light.turn_off 1009 | - data: 1010 | entity_id: light.holiday_lights 1011 | service: light.turn_off 1012 | - data: 1013 | entity_id: light.side_lights 1014 | service: light.turn_off 1015 | alias: Time for Bed lights 1016 | hide_entity: true 1017 | condition: [] 1018 | id: '1525920958362' 1019 | trigger: 1020 | - event: sunset 1021 | platform: sun 1022 | 1023 | ############# Holiday LEDs ################ 1024 | - alias: "All Holiday LEDs" 1025 | hide_entity: true 1026 | initial_state: true 1027 | trigger: 1028 | - platform: state 1029 | entity_id: input_select.all_LEDs 1030 | action: 1031 | - service: mqtt.publish 1032 | data_template: 1033 | topic: "bruh/mqttstrip/seteffect" 1034 | payload: '{{ trigger.to_state.state | string }}' 1035 | - service: mqtt.publish 1036 | data_template: 1037 | topic: "bruh/mqttstripSide/seteffect" 1038 | payload: '{{ trigger.to_state.state | string }}' 1039 | - service: mqtt.publish 1040 | data_template: 1041 | topic: "bruh/mqttstripTEST/seteffect" 1042 | payload: '{{ trigger.to_state.state | string }}' 1043 | - service: mqtt.publish 1044 | data_template: 1045 | topic: "bruh/mqttstripTree/seteffect" 1046 | payload: '{{ trigger.to_state.state | string }}' 1047 | 1048 | - alias: "Holiday Input Effect" 1049 | initial_state: True 1050 | hide_entity: True 1051 | trigger: 1052 | - platform: state 1053 | entity_id: input_select.holiday_led_effect 1054 | action: 1055 | - service: mqtt.publish 1056 | data_template: 1057 | topic: "bruh/mqttstrip/seteffect" 1058 | payload: '{{ trigger.to_state.state | string }}' 1059 | 1060 | - alias: "Side Input Effect" 1061 | initial_state: True 1062 | hide_entity: True 1063 | trigger: 1064 | - platform: state 1065 | entity_id: input_select.side_led_effect 1066 | action: 1067 | - service: mqtt.publish 1068 | data_template: 1069 | topic: "bruh/mqttstripSide/seteffect" 1070 | payload: '{{ trigger.to_state.state | string }}' 1071 | 1072 | - alias: "Christmas LED Sunset Rotation" 1073 | hide_entity: true 1074 | initial_state: true 1075 | trigger: 1076 | - platform: sun 1077 | event: Sunset 1078 | condition: 1079 | - condition: template 1080 | value_template: '{{ now().month == 12 }}' 1081 | action: 1082 | - service: mqtt.publish 1083 | data: 1084 | topic: "bruh/mqttstrip/seteffect" 1085 | payload: 'Holly Jolly' 1086 | - service: mqtt.publish 1087 | data: 1088 | topic: "bruh/mqttstripSide/seteffect" 1089 | payload: 'Holly Jolly' 1090 | - service: mqtt.publish 1091 | data: 1092 | topic: "bruh/mqttstripTree/seteffect" 1093 | payload: 'Holly Jolly' 1094 | - delay: 01:00:00 1095 | - service: mqtt.publish 1096 | data: 1097 | topic: "bruh/mqttstrip/seteffect" 1098 | payload: 'Candy Cane' 1099 | - service: mqtt.publish 1100 | data: 1101 | topic: "bruh/mqttstripSide/seteffect" 1102 | payload: 'Candy Cane' 1103 | - service: mqtt.publish 1104 | data: 1105 | topic: "bruh/mqttstripTree/seteffect" 1106 | payload: 'Hail' 1107 | - delay: 01:00:00 1108 | - service: mqtt.publish 1109 | data: 1110 | topic: "bruh/mqttstrip/seteffect" 1111 | payload: 'Christmas' 1112 | - service: mqtt.publish 1113 | data: 1114 | topic: "bruh/mqttstripSide/seteffect" 1115 | payload: 'Christmas' 1116 | - service: mqtt.publish 1117 | data: 1118 | topic: "bruh/mqttstripTree/seteffect" 1119 | payload: 'Christmas' 1120 | - delay: 01:00:00 1121 | - service: mqtt.publish 1122 | data: 1123 | topic: "bruh/mqttstrip/seteffect" 1124 | payload: 'Holly Jolly' 1125 | - service: mqtt.publish 1126 | data: 1127 | topic: "bruh/mqttstripSide/seteffect" 1128 | payload: 'Holly Jolly' 1129 | - service: mqtt.publish 1130 | data: 1131 | topic: "bruh/mqttstripTree/seteffect" 1132 | payload: 'Holly Jolly' 1133 | 1134 | - alias: "Animation Speed" 1135 | initial_state: True 1136 | hide_entity: True 1137 | trigger: 1138 | - platform: state 1139 | entity_id: input_number.animation_speed 1140 | action: 1141 | - service: mqtt.publish 1142 | data_template: 1143 | topic: "bruh/mqttstrip/setanimationspeed" 1144 | payload: '{{ trigger.to_state.state | int }}' 1145 | 1146 | - alias: "All Animation Speed" 1147 | initial_state: True 1148 | hide_entity: True 1149 | trigger: 1150 | - platform: state 1151 | entity_id: input_number.all_animation_speed 1152 | action: 1153 | - service: mqtt.publish 1154 | data_template: 1155 | topic: "bruh/mqttstrip/setanimationspeed" 1156 | payload: '{{ trigger.to_state.state | int }}' 1157 | - service: mqtt.publish 1158 | data_template: 1159 | topic: "bruh/mqttstripTree/setanimationspeed" 1160 | payload: '{{ trigger.to_state.state | int }}' 1161 | - service: mqtt.publish 1162 | data_template: 1163 | topic: "bruh/mqttstripSide/setanimationspeed" 1164 | payload: '{{ trigger.to_state.state | int }}' 1165 | - service: mqtt.publish 1166 | data_template: 1167 | topic: "bruh/mqttstripTEST/setanimationspeed" 1168 | payload: '{{ trigger.to_state.state | int }}' 1169 | 1170 | - alias: "Side Animation Speed" 1171 | initial_state: True 1172 | hide_entity: True 1173 | trigger: 1174 | - platform: state 1175 | entity_id: input_number.side_animation_speed 1176 | action: 1177 | - service: mqtt.publish 1178 | data_template: 1179 | topic: "bruh/mqttstripSIDE/setanimationspeed" 1180 | payload: '{{ trigger.to_state.state | int }}' 1181 | 1182 | - alias: "Office Test Input Effect" 1183 | initial_state: True 1184 | hide_entity: True 1185 | trigger: 1186 | - platform: state 1187 | entity_id: input_select.office_test_led_effect 1188 | action: 1189 | - service: mqtt.publish 1190 | data_template: 1191 | topic: "bruh/mqttstripTEST/seteffect" 1192 | payload: '{{ trigger.to_state.state | string }}' 1193 | 1194 | - alias: "Test Animation Speed" 1195 | initial_state: True 1196 | hide_entity: True 1197 | trigger: 1198 | - platform: state 1199 | entity_id: input_number.test_animation_speed 1200 | action: 1201 | - service: mqtt.publish 1202 | data_template: 1203 | topic: "bruh/mqttstripTEST/setanimationspeed" 1204 | payload: '{{ trigger.to_state.state | int }}' 1205 | 1206 | - alias: "Tree Input Effect" 1207 | initial_state: True 1208 | hide_entity: True 1209 | trigger: 1210 | - platform: state 1211 | entity_id: input_select.tree_led_effect 1212 | action: 1213 | - service: mqtt.publish 1214 | data_template: 1215 | topic: "bruh/mqttstripTree/seteffect" 1216 | payload: '{{ trigger.to_state.state | string }}' 1217 | 1218 | - alias: "Tree Animation Speed" 1219 | initial_state: True 1220 | hide_entity: True 1221 | trigger: 1222 | - platform: state 1223 | entity_id: input_number.tree_animation_speed 1224 | action: 1225 | - service: mqtt.publish 1226 | data_template: 1227 | topic: "bruh/mqttstripTree/setanimationspeed" 1228 | payload: '{{ trigger.to_state.state | int }}' 1229 | 1230 | - alias: "Box Input Effect" 1231 | initial_state: True 1232 | hide_entity: True 1233 | trigger: 1234 | - platform: state 1235 | entity_id: input_select.box_led_effect 1236 | action: 1237 | - service: mqtt.publish 1238 | data_template: 1239 | topic: "bruh/mqttstripBox/seteffect" 1240 | payload: '{{ trigger.to_state.state | string }}' 1241 | 1242 | - alias: "Box Animation Speed" 1243 | initial_state: True 1244 | hide_entity: True 1245 | trigger: 1246 | - platform: state 1247 | entity_id: input_number.box_animation_speed 1248 | action: 1249 | - service: mqtt.publish 1250 | data_template: 1251 | topic: "bruh/mqttstripBox/setanimationspeed" 1252 | payload: '{{ trigger.to_state.state | int }}' 1253 | 1254 | ############# iOS Notifications ############## 1255 | - alias: "Justin Garage Notification iOS" 1256 | hide_entity: True 1257 | initial_state: True 1258 | trigger: 1259 | - platform: state 1260 | entity_id: cover.single 1261 | from: 'closed' 1262 | to: 'open' 1263 | action: 1264 | - service: notify.ios_justin_iphone7 1265 | data: 1266 | message: "Justin's Garage is Open" 1267 | data: 1268 | push: 1269 | sound: "US-EN-Morgan-Freeman-Garage-Door-Opened.wav" 1270 | badge: 0 1271 | category: 'GARAGE2' 1272 | 1273 | - alias: "Janis Garage Notification iOS" 1274 | hide_entity: True 1275 | initial_state: True 1276 | trigger: 1277 | - platform: state 1278 | entity_id: cover.double 1279 | from: 'closed' 1280 | to: 'open' 1281 | action: 1282 | - service: notify.ios_janis7 1283 | data: 1284 | message: "Janis' Garage is Open" 1285 | data: 1286 | push: 1287 | sound: "US-EN-Daisy-Garage-Door-Open.wav" 1288 | badge: 0 1289 | category: 'GARAGE1' 1290 | 1291 | - alias: Notify iOS app 1292 | initial_state: True 1293 | hide_entity: True 1294 | trigger: 1295 | - platform: state 1296 | entity_id: input_boolean.test_trigger #change this to actual trigger 1297 | action: 1298 | service: notify.ios_justin_iphone7 1299 | data: 1300 | title: "Alert" #customizable 1301 | message: "Something happened at home!" #customizable 1302 | data: 1303 | push: 1304 | badge: 0 # this will remove the badge/app icon number 1305 | category: 'DOOR' 1306 | 1307 | - alias: Notify iOS Janis Garage 1308 | initial_state: True 1309 | hide_entity: True 1310 | trigger: 1311 | - platform: time 1312 | at: '22:00:00' #change this to actual trigger 1313 | condition: 1314 | condition: state 1315 | entity_id: cover.double 1316 | state: open 1317 | action: 1318 | service: notify.ios_justin_iphone7 1319 | data: 1320 | title: "Janis' Garage Check" #customizable 1321 | message: "It's 10pm and Janis' Garage is Open" #customizable 1322 | data: 1323 | push: 1324 | badge: 0 # this will remove the badge/app icon number 1325 | category: 'GARAGE1' 1326 | 1327 | - alias: Notify iOS Justin Garage 1328 | initial_state: True 1329 | hide_entity: True 1330 | trigger: 1331 | - platform: time 1332 | at: '22:00:00' #change this to actual trigger 1333 | # trigger: 1334 | # - platform: state 1335 | # entity_id: input_boolean.garagetest 1336 | condition: 1337 | condition: state 1338 | entity_id: cover.test 1339 | state: open 1340 | action: 1341 | service: notify.ios_justin_iphone7 1342 | data: 1343 | title: "Justin Garage Check" #customizable 1344 | message: "It's 10pm and Justin's Garage is Open" #customizable 1345 | data: 1346 | push: 1347 | badge: 0 # this will remove the badge/app icon number 1348 | category: 'GARAGE2' 1349 | 1350 | - alias: iOS app notification action garage1 1351 | initial_state: True 1352 | hide_entity: True 1353 | trigger: 1354 | platform: event 1355 | event_type: ios.notification_action_fired 1356 | event_data: 1357 | actionName: CLOSE_JANIS 1358 | action: 1359 | service: cover.close_cover 1360 | entity_id: cover.double 1361 | 1362 | - alias: iOS app notification action garage2 1363 | initial_state: True 1364 | hide_entity: True 1365 | trigger: 1366 | platform: event 1367 | event_type: ios.notification_action_fired 1368 | event_data: 1369 | actionName: CLOSE_JUSTIN 1370 | action: 1371 | service: cover.close_cover 1372 | entity_id: cover.test 1373 | 1374 | - alias: iOS app notification action pressed1 1375 | initial_state: true 1376 | hide_entity: true 1377 | trigger: 1378 | platform: event 1379 | event_type: ios.notification_action_fired 1380 | event_data: 1381 | actionName: OPEN_FIRST 1382 | action: 1383 | service: input_boolean.turn_on 1384 | entity_id: input_boolean.result 1385 | 1386 | - alias: iOS app notification action pressed2 1387 | hide_entity: true 1388 | initial_state: true 1389 | trigger: 1390 | platform: event 1391 | event_type: ios.notification_action_fired 1392 | event_data: 1393 | actionName: OPEN_SECOND 1394 | action: 1395 | service: cover.close_cover 1396 | entity_id: cover.double 1397 | 1398 | - alias: iOS app notification action pressed3 1399 | hide_entity: true 1400 | initial_state: true 1401 | trigger: 1402 | platform: event 1403 | event_type: ios.notification_action_fired 1404 | event_data: 1405 | actionName: OPEN_THIRD 1406 | action: 1407 | service: cover.close_cover 1408 | entity_id: cover.test 1409 | 1410 | - alias: iOS app AN Game WIN 1411 | initial_state: true 1412 | hide_entity: true 1413 | trigger: 1414 | platform: event 1415 | event_type: ios.notification_action_fired 1416 | event_data: 1417 | actionName: WIN 1418 | action: 1419 | service: input_select.select_option 1420 | data: 1421 | entity_id: input_select.holiday_led_effect 1422 | option: Touchdown 1423 | 1424 | - alias: iOS app AN Game LOSS 1425 | initial_state: true 1426 | hide_entity: true 1427 | trigger: 1428 | platform: event 1429 | event_type: ios.notification_action_fired 1430 | event_data: 1431 | actionName: LOSS 1432 | action: 1433 | - service: input_select.select_option 1434 | data: 1435 | entity_id: input_select.holiday_led_effect 1436 | option: Solid 1437 | - service: light.turn_off 1438 | entity_id: light.holiday_lights 1439 | 1440 | ########### HASS Themes ############ old 1441 | # - alias: HASS_theme 1442 | # initial_state: true 1443 | # hide_entity: true 1444 | # trigger: 1445 | # - platform: state 1446 | # entity_id: input_select.hass_theme 1447 | # action: 1448 | # - service: frontend.set_theme 1449 | # data_template: 1450 | # name: '{{ states.input_select.hass_theme.state }}' 1451 | # - alias: 'Set Spotify Volume' 1452 | # hide_entity: true 1453 | # trigger: 1454 | # - platform: state 1455 | # entity_id: input_number.spotify_volume 1456 | # action: 1457 | # - service: media_player.volume_set 1458 | # data_template: 1459 | # entity_id: media_player.spotify 1460 | # volume_level: '{{ states.input_number.spotify_volume.state }}' 1461 | 1462 | # car sensor is connected and the garage door is closed 1463 | # - alias: CarPresenceJanis_ON 1464 | # trigger: 1465 | # platform: state 1466 | # entity_id: binary_sensor.CarPresenceJanis 1467 | # to: on 1468 | # condition: 1469 | # - condition: state 1470 | # entity_id: cover.double 1471 | # state: closed 1472 | # action: 1473 | # - service: cover.open_cover 1474 | # entity_id: cover.double 1475 | 1476 | # # car sensor is disconnected for one minute and the garage door is open 1477 | # - alias: CarPresenceJanis_OFF 1478 | # trigger: 1479 | # platform: state 1480 | # entity_id: binary_sensor.CarPresenceJanis 1481 | # to: off 1482 | # for: 1483 | # minutes: 1 1484 | # condition: 1485 | # - condition: state 1486 | # entity_id: cover.double 1487 | # state: open 1488 | # action: 1489 | # - service: cover.close_cover 1490 | # entity_id: cover.double 1491 | 1492 | 1493 | ############### -------------------------------------------------------------------------------- /configuration.yaml: -------------------------------------------------------------------------------- 1 | homeassistant: 2 | # Name of the location where Home Assistant is running 3 | name: Home 4 | # Location required to calculate the time the sun rises and sets 5 | latitude: !secret lat 6 | longitude: !secret long 7 | # Impacts weather/sunrise data (altitude above sea level in meters) 8 | elevation: 1556 9 | # metric for Metric, imperial for Imperial 10 | unit_system: imperial 11 | # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones 12 | time_zone: America/Denver 13 | # UI 14 | customize: !include customize.yaml 15 | weather: 16 | - platform: darksky 17 | api_key: !secret darksky 18 | 19 | panel_iframe: 20 | tasmoadmin: 21 | title: 'TasmoAdmin' 22 | icon: 'mdi:robot' 23 | url: 'http://192.168.1.71:9541/' 24 | # ide: 25 | # title: 'IDE' 26 | # icon: 'mdi:bomb' 27 | # url: 'http://192.168.1.71:8321/' 28 | nodered: 29 | title: 'Node-Red' 30 | icon: 'mdi:shuffle-variant' 31 | url: 'http://192.168.1.71:1880/' 32 | influxdb: 33 | title: InfluxDB 34 | icon: mdi:chart-areaspline 35 | url: http://192.168.1.71:8888 36 | # panel_custom: 37 | # - name: floorplan 38 | # sidebar_title: Floorplan 39 | # sidebar_icon: mdi:home 40 | # url_path: floorplan 41 | # config: !include floorplan.yaml 42 | 43 | zone: !include zones.yaml 44 | 45 | ###################################### 46 | 47 | mqtt: 48 | broker: 192.168.1.71 49 | port: 1883 50 | client_id: home-assistant-1 51 | username: !secret mqtt_user 52 | password: !secret mqtt_pw 53 | discovery: true 54 | discovery_prefix: homeassistant 55 | 56 | ################################################### 57 | ##### OctoPrint ##### 58 | ################################################### 59 | 60 | #### Octoprint Server #### 61 | octoprint: 62 | host: 192.168.1.17 63 | api_key: !secret octopi_key 64 | ################################################### 65 | ##### Web Camera ##### 66 | ################################################### 67 | ffmpeg: 68 | 69 | camera: 70 | # - platform: generic 71 | # name: Friends Around the World 72 | # still_image_url: https://www.google.com/maps/d/embed?mid=1sj3geKvWxU39VYUU5OSnp0_HaKJrqcwa 73 | # limit_refresh_to_url_change: true 74 | - platform: foscam 75 | ip: 192.168.1.38 76 | username: !secret foscam_user 77 | password: !secret foscam_pw 78 | # - platform: ring 79 | - platform: mjpeg 80 | mjpeg_url: http://192.168.1.17:8080/?action=stream/ 81 | name: _OctoPrint 82 | - platform: amcrest 83 | # - platform: arlo 84 | # - platform: ffmpeg 85 | # input: 86 | amcrest: 87 | - host: 192.168.1.38 88 | username: admin 89 | password: !secret foscam_pw 90 | 91 | ################################################# 92 | ##### Konnected Alarm ########################### 93 | ################################################# 94 | konnected: 95 | access_token: !secret konnected_token 96 | api_host: http://192.168.1.71:8123 97 | devices: 98 | - id: dc4f220fb4c4 99 | binary_sensors: 100 | - zone: 1 101 | type: door 102 | name: Front Door 103 | - zone: 2 104 | type: door 105 | name: Garage Entry 106 | - zone: 3 107 | type: door 108 | name: Kitchen Door 109 | - zone: 4 110 | type: window 111 | name: Kitchen Windows 112 | - zone: 5 113 | type: window 114 | name: Front Windows 115 | - zone: 6 116 | type: window 117 | name: Master Bath 118 | - id: dc4f220fb350 119 | binary_sensors: 120 | - zone: 1 121 | type: window 122 | name: Master Bedroom 123 | - zone: 2 124 | type: window 125 | name: Theater Windows 126 | - zone: 3 127 | type: door 128 | name: Basement Doors 129 | - zone: 4 130 | type: window 131 | name: Hafens Room 132 | - zone: 5 133 | type: window 134 | name: Grandmas Room 135 | - zone: 6 136 | type: window 137 | name: Gym Window 138 | 139 | alarm_control_panel: 140 | - platform: manual 141 | name: Alarm 142 | code: !secret alarm_code 143 | trigger_time: 300 144 | disarmed: 145 | trigger_time: 0 146 | armed_home: 147 | delay_time: 0 148 | pending_time: 0 149 | armed_away: 150 | delay_time: 60 151 | pending_time: 30 152 | triggered: 153 | pending_time: 0 154 | 155 | 156 | ####################################### 157 | ############## Holiday Outside Lights ###### 158 | ####################################### 159 | light: 160 | - platform: mqtt 161 | name: "Boys Closet" #B1 in the closet 162 | command_topic: "cmnd/Boys_Closet/power" 163 | state_topic: "stat/Boys_Closet/POWER" 164 | rgb_state_topic: "stat/Boys_Closet/color" 165 | rgb_command_topic: "cmnd/Boys_Closet/color" 166 | brightness_state_topic: "stat/Boys_Closet/dimmer" 167 | brightness_command_topic: "cmnd/Boys_Closet/dimmer" 168 | color_temp_state_topic: "stat/Boys_Closet/CT" 169 | color_temp_command_topic: "cmnd/Boys_Closet/CT" 170 | qos: 1 171 | payload_on: "ON" 172 | payload_off: "OFF" 173 | retain: false 174 | - platform: mqtt 175 | name: "Holiday Lights" 176 | command_topic: "bruh/mqttstrip/setpower" 177 | state_topic: "bruh/mqttstrip/setpowerpub" 178 | rgb_state_topic: "bruh/mqttstrip/setcolorpub" 179 | rgb_command_topic: "bruh/mqttstrip/setcolor" 180 | brightness_state_topic: "bruh/mqttstrip/setbrightnesspub" 181 | brightness_command_topic: "bruh/mqttstrip/setbrightness" 182 | optimistic: false 183 | 184 | - platform: mqtt 185 | name: "Side Lights" 186 | command_topic: "bruh/mqttstripSide/setpower" 187 | state_topic: "bruh/mqttstripSide/setpowerpub" 188 | rgb_state_topic: "bruh/mqttstripSide/setcolorpub" 189 | rgb_command_topic: "bruh/mqttstripSide/setcolor" 190 | brightness_state_topic: "bruh/mqttstripSide/setbrightnesspub" 191 | brightness_command_topic: "bruh/mqttstripSide/setbrightness" 192 | optimistic: false 193 | 194 | - platform: mqtt 195 | name: "Office Test Lights" 196 | command_topic: "bruh/mqttstripTEST/setpower" 197 | state_topic: "bruh/mqttstripTEST/setpowerpub" 198 | rgb_state_topic: "bruh/mqttstripTEST/setcolorpub" 199 | rgb_command_topic: "bruh/mqttstripTEST/setcolor" 200 | brightness_state_topic: "bruh/mqttstripTEST/setbrightnesspub" 201 | brightness_command_topic: "bruh/mqttstripTEST/setbrightness" 202 | optimistic: false 203 | 204 | - platform: mqtt 205 | name: "Tree Lights" 206 | command_topic: "bruh/mqttstripTree/setpower" 207 | state_topic: "bruh/mqttstripTree/setpowerpub" 208 | rgb_state_topic: "bruh/mqttstripTree/setcolorpub" 209 | rgb_command_topic: "bruh/mqttstripTree/setcolor" 210 | brightness_state_topic: "bruh/mqttstripTree/setbrightnesspub" 211 | brightness_command_topic: "bruh/mqttstripTree/setbrightness" 212 | optimistic: false 213 | 214 | - platform: mqtt 215 | name: "Magic Box" 216 | command_topic: "bruh/mqttstripBox/setpower" 217 | state_topic: "bruh/mqttstripBox/setpowerpub" 218 | rgb_state_topic: "bruh/mqttstripBox/setcolorpub" 219 | rgb_command_topic: "bruh/mqttstripBox/setcolor" 220 | brightness_state_topic: "bruh/mqttstripBox/setbrightnesspub" 221 | brightness_command_topic: "bruh/mqttstripBox/setbrightness" 222 | optimistic: false 223 | 224 | input_select: 225 | desk_leds: 226 | name: Desk LEDs 227 | options: 228 | - "Blue" 229 | - "Maize" 230 | - "Green" 231 | - "Red" 232 | - "Smooth" 233 | #input_select: 234 | projector_input: 235 | name: Projector Input 236 | options: 237 | - "Roku" #VCR 238 | - "Cable" #CBL 239 | - "DVD" #Game 240 | - "extra" #BD 241 | holiday_led_effect: 242 | name: Holiday LED Effect 243 | options: 244 | - "Christmas" 245 | - "Candy Cane" 246 | - "Holly Jolly" 247 | - "Valentine" 248 | - "Lovey Day" 249 | - "St Patty" 250 | - "Easter" 251 | - "USA" 252 | - "Independence" 253 | - "Go Blue" 254 | - "Hail" 255 | - "Touchdown" 256 | - "Halloween" 257 | - "Punkin" 258 | - "Thanksgiving" 259 | - "Turkey Day" 260 | - "BPM" 261 | - "Confetti" 262 | - "Cyclon Rainbow" 263 | - "Dots" 264 | - "Fire" 265 | - "Glitter" 266 | - "Juggle" 267 | - "Lightning" 268 | - "Police All" 269 | - "Police One" 270 | - "Rainbow" 271 | - "Rainbow with Glitter" 272 | - "Ripple" 273 | - "Sinelon" 274 | - "Solid" 275 | - "Twinkle" 276 | initial: "Solid" 277 | 278 | side_led_effect: 279 | name: Side LED Effect 280 | options: 281 | - "Christmas" 282 | - "Candy Cane" 283 | - "Holly Jolly" 284 | - "Valentine" 285 | - "Lovey Day" 286 | - "St Patty" 287 | - "Easter" 288 | - "USA" 289 | - "Independence" 290 | - "Go Blue" 291 | - "Hail" 292 | - "Touchdown" 293 | - "Halloween" 294 | - "Punkin" 295 | - "Thanksgiving" 296 | - "Turkey Day" 297 | - "BPM" 298 | - "Confetti" 299 | - "Cyclon Rainbow" 300 | - "Dots" 301 | - "Fire" 302 | - "Glitter" 303 | - "Juggle" 304 | - "Lightning" 305 | - "Police All" 306 | - "Police One" 307 | - "Rainbow" 308 | - "Rainbow with Glitter" 309 | - "Ripple" 310 | - "Sinelon" 311 | - "Solid" 312 | - "Twinkle" 313 | initial: "Solid" 314 | 315 | all_leds: 316 | name: All LEDs 317 | options: 318 | - "Christmas" 319 | - "Candy Cane" 320 | - "Holly Jolly" 321 | - "Valentine" 322 | - "Lovey Day" 323 | - "St Patty" 324 | - "Easter" 325 | - "USA" 326 | - "Independence" 327 | - "Go Blue" 328 | - "Hail" 329 | - "Touchdown" 330 | - "Halloween" 331 | - "Punkin" 332 | - "Thanksgiving" 333 | - "Turkey Day" 334 | - "BPM" 335 | - "Confetti" 336 | - "Cyclon Rainbow" 337 | - "Dots" 338 | - "Fire" 339 | - "Glitter" 340 | - "Juggle" 341 | - "Lightning" 342 | - "Police All" 343 | - "Police One" 344 | - "Rainbow" 345 | - "Rainbow with Glitter" 346 | - "Ripple" 347 | - "Sinelon" 348 | - "Solid" 349 | - "Twinkle" 350 | initial: "Solid" 351 | 352 | office_test_led_effect: 353 | name: Office Test LED Effect 354 | options: 355 | - "Christmas" 356 | - "Candy Cane" 357 | - "Holly Jolly" 358 | - "Valentine" 359 | - "Lovey Day" 360 | - "St Patty" 361 | - "Easter" 362 | - "USA" 363 | - "Independence" 364 | - "Go Blue" 365 | - "Hail" 366 | - "Touchdown" 367 | - "Halloween" 368 | - "Punkin" 369 | - "Thanksgiving" 370 | - "Turkey Day" 371 | - "BPM" 372 | - "Confetti" 373 | - "Cyclon Rainbow" 374 | - "Dots" 375 | - "Fire" 376 | - "Glitter" 377 | - "Juggle" 378 | - "Lightning" 379 | - "Police All" 380 | - "Police One" 381 | - "Rainbow" 382 | - "Rainbow with Glitter" 383 | - "Ripple" 384 | - "Sinelon" 385 | - "Solid" 386 | - "Twinkle" 387 | initial: "Solid" 388 | 389 | tree_led_effect: 390 | name: Tree LED Effect 391 | options: 392 | - "Christmas" 393 | - "Candy Cane" 394 | - "Holly Jolly" 395 | - "Valentine" 396 | - "Lovey Day" 397 | - "St Patty" 398 | - "Easter" 399 | - "USA" 400 | - "Independence" 401 | - "Go Blue" 402 | - "Hail" 403 | - "Touchdown" 404 | - "Halloween" 405 | - "Punkin" 406 | - "Thanksgiving" 407 | - "Turkey Day" 408 | - "BPM" 409 | - "Confetti" 410 | - "Cyclon Rainbow" 411 | - "Dots" 412 | - "Fire" 413 | - "Glitter" 414 | - "Juggle" 415 | - "Lightning" 416 | - "Police All" 417 | - "Police One" 418 | - "Rainbow" 419 | - "Rainbow with Glitter" 420 | - "Ripple" 421 | - "Sinelon" 422 | - "Solid" 423 | - "Twinkle" 424 | initial: "Solid" 425 | 426 | box_led_effect: 427 | name: Magic Box Effect 428 | options: 429 | - "Christmas" 430 | - "Candy Cane" 431 | - "Holly Jolly" 432 | - "Valentine" 433 | - "Lovey Day" 434 | - "St Patty" 435 | - "Easter" 436 | - "USA" 437 | - "Independence" 438 | - "Go Blue" 439 | - "Hail" 440 | - "Touchdown" 441 | - "Halloween" 442 | - "Punkin" 443 | - "Thanksgiving" 444 | - "Turkey Day" 445 | - "BPM" 446 | - "Confetti" 447 | - "Cyclon Rainbow" 448 | - "Dots" 449 | - "Fire" 450 | - "Glitter" 451 | - "Juggle" 452 | - "Lightning" 453 | - "Police All" 454 | - "Police One" 455 | - "Rainbow" 456 | - "Rainbow with Glitter" 457 | - "Ripple" 458 | - "Sinelon" 459 | - "Solid" 460 | - "Twinkle" 461 | initial: "Rainbow" 462 | 463 | # hass_theme: 464 | # name: HASS themes 465 | # options: 466 | # - default 467 | # - solarized 468 | # - PmxMononight 469 | # - wood 470 | # - Christmas 471 | # - Tester 472 | # initial: wood 473 | # icon: mdi:theme-light-dark 474 | 475 | # spotify_playlist: 476 | # name: 'Playlist:' 477 | # options: 478 | # - Piano Guys 479 | # - Kidz Bop 480 | # - LDS Music 481 | # - Broadway 482 | # - Hair Bands 483 | # - Elvis 484 | # - MJ 485 | # - Metallica 486 | # - Country 487 | # - Daddy 488 | # icon: mdi:spotify 489 | # spotify_source: 490 | # name: 'Source:' 491 | # options: 492 | # - AudioCast 493 | # initial: AudioCast 494 | # icon: mdi:speaker-wireless 495 | 496 | input_number: 497 | # spotify_volume: 498 | # name: Volume 499 | # icon: mdi:volume-high 500 | # min: 0 501 | # max: 1 502 | # step: 0.05 503 | animation_speed: 504 | name: Animation Speed 505 | initial: 150 506 | min: 1 507 | max: 150 508 | step: 10 509 | all_animation_speed: 510 | name: All Animation Speed 511 | initial: 150 512 | min: 1 513 | max: 150 514 | step: 10 515 | side_animation_speed: 516 | name: Side Animation Speed 517 | initial: 150 518 | min: 1 519 | max: 150 520 | step: 10 521 | test_animation_speed: 522 | name: Test Animation Speed 523 | initial: 150 524 | min: 1 525 | max: 150 526 | step: 10 527 | tree_animation_speed: 528 | name: Tree Animation Speed 529 | initial: 150 530 | min: 1 531 | max: 150 532 | step: 10 533 | box_animation_speed: 534 | name: Box Animation Speed 535 | initial: 150 536 | min: 1 537 | max: 150 538 | step: 10 539 | 540 | # Enables the frontend 541 | frontend: 542 | themes: !include_dir_merge_named themes/ 543 | # extra_html_url: 544 | # - /local/custom_ui/state-card-floorplan.html 545 | 546 | http: 547 | # Uncomment this to add a password (recommended!) 548 | api_password: !secret http_password 549 | # Uncomment this if you are using SSL or running in Docker etc 550 | base_url: !secret http_url 551 | 552 | # Checks for available updates 553 | updater: 554 | 555 | # Blink security camera system 556 | blink: 557 | username: !secret blink_user 558 | password: !secret blink_pw 559 | 560 | # Discover some devices automatically 561 | discovery: 562 | 563 | # Allows you to issue voice commands from the frontend in enabled browsers 564 | conversation: 565 | 566 | # Enables support for tracking state changes over time. 567 | history: 568 | 569 | history_graph: 570 | gr1: 571 | name: Xbox 572 | entities: 573 | - sensor.i_am_zerp 574 | - sensor.bearbait16 575 | - sensor.dr_zzs 576 | hours_to_show: 168 577 | refresh: 3600 578 | # View all events in a logbook 579 | logbook: 580 | 581 | # Track the sun 582 | sun: 583 | 584 | # Weather Prediction 585 | ################################################### 586 | ##### Sensors ##### 587 | ################################################### 588 | 589 | sensor: 590 | - platform: min_max 591 | name: "Average Upstairs Temp" 592 | type: "mean" 593 | round_digits: 1 594 | entity_ids: 595 | - sensor.blink_toy_room_temperature 596 | - sensor.blink_mountain_room_temperature 597 | - sensor.upstairs_temp 598 | - sensor.boys_room_temp 599 | - sensor.girls_room_temp 600 | - platform: min_max 601 | name: "Average Kids Temp" 602 | type: "mean" 603 | round_digits: 1 604 | entity_ids: 605 | - sensor.boys_room_temp 606 | - sensor.girls_room_temp 607 | - sensor.blink_mountain_room_temperature 608 | - platform: min_max 609 | name: "Average Main Temp" 610 | type: "mean" 611 | round_digits: 1 612 | entity_ids: 613 | - sensor.master_bedroom_temp 614 | - sensor.blink_piano_room_temperature 615 | - sensor.kitchen_temp 616 | - platform: mqtt 617 | state_topic: 'tele/masterBR/SENSOR' 618 | name: 'Master Bedroom Temp' #AM2301 619 | unit_of_measurement: '°F' 620 | value_template: '{{ value_json.AM2301.Temperature }}' 621 | - platform: mqtt 622 | state_topic: 'tele/GarageLights/SENSOR' 623 | name: 'Kitchen Temp' #AM2301 624 | unit_of_measurement: '°F' 625 | value_template: '{{ value_json.AM2301.Temperature }}' 626 | - platform: mqtt 627 | state_topic: 'tele/boys/SENSOR' 628 | name: 'Boys Room Temp' #AM2301 629 | unit_of_measurement: '°F' 630 | value_template: '{{ value_json.AM2301.Temperature }}' 631 | - platform: mqtt 632 | state_topic: 'tele/T1_US/SENSOR' 633 | name: 'Girls Room Temp' #AM2301 634 | unit_of_measurement: '°F' 635 | value_template: '{{ value_json.AM2301.Temperature }}' 636 | - platform: mqtt 637 | state_topic: 'tele/officecrown/SENSOR' 638 | name: 'Office Temp' #AM2301 639 | unit_of_measurement: '°F' 640 | value_template: '{{ value_json.AM2301.Temperature }}' 641 | - platform: mqtt 642 | state_topic: 'tele/ThermoZztat/SENSOR' 643 | name: 'Upstairs Temp' #AM2301 644 | unit_of_measurement: '°F' 645 | value_template: '{{ value_json.AM2301.Temperature }}' 646 | - platform: mqtt 647 | state_topic: 'tele/ThermoZztat/SENSOR' 648 | name: 'Upstairs Humidity' 649 | unit_of_measurement: '%' 650 | value_template: '{{ value_json.AM2301.Humidity }}' 651 | 652 | # - platform: mqtt 653 | # name: "Sub Count" 654 | # state_topic: "youtubesubs/number" 655 | # - platform: mqtt 656 | # name: "Subs New" 657 | # state_topic: "youtubesubs/change" 658 | 659 | - platform: pvoutput 660 | system_id: 61105 661 | api_key: !secret Solar_API 662 | scan_interval: 150 663 | - platform: template 664 | sensors: 665 | # power_consumption: 666 | # value_template: '{% if is_state_attr("sensor.pvoutput", "power_consumption", "NaN") %}0{% else %}{{ states.sensor.pvoutput.attributes.power_consumption }}{% endif %}' 667 | # friendly_name: 'Using' 668 | # unit_of_measurement: 'Watt' 669 | # energy_consumption: 670 | # value_template: '{{ "%0.1f"|format(states.sensor.pvoutput.attributes.energy_consumption|float/1000) }}' 671 | # friendly_name: 'Used' 672 | # unit_of_measurement: 'kWh' 673 | power_generation: 674 | value_template: '{% if is_state_attr("sensor.pvoutput", "power_generation", "NaN") %}0{% else %}{{ states.sensor.pvoutput.attributes.power_generation }}{% endif %}' 675 | friendly_name: 'Generating' 676 | unit_of_measurement: 'Watt' 677 | energy_generation: 678 | value_template: '{% if is_state_attr("sensor.pvoutput", "energy_generation", "NaN") %}0{% else %}{{ "%0.2f"|format(states.sensor.pvoutput.attributes.energy_generation|float/1000) }}{% endif %}' 679 | friendly_name: 'Generated' 680 | unit_of_measurement: 'kWh' 681 | 682 | - platform: socialblade 683 | channel_id: !secret socialblade 684 | - platform: google_wifi 685 | host: 192.168.1.1 686 | name: Internet 687 | - platform: mqtt 688 | name: POW Current 689 | state_topic: "stat/Taz_5/STATUS10" 690 | value_template: "{{ value_json.StatusSNS.ENERGY.Current }}" 691 | unit_of_measurement: 'amps' 692 | - platform: mqtt 693 | name: POW Power 694 | state_topic: "stat/Taz_5/STATUS10" 695 | value_template: "{{ value_json.StatusSNS.ENERGY.Power }}" 696 | unit_of_measurement: 'watts' 697 | - platform: mqtt 698 | name: POW Voltage 699 | state_topic: "stat/Taz_5/STATUS10" 700 | value_template: "{{ value_json.StatusSNS.ENERGY.Voltage }}" 701 | unit_of_measurement: 'volts' 702 | - platform: history_stats 703 | name: Zach Xbox 704 | entity_id: sensor.i_am_zerp 705 | state: 'Online' 706 | type: time 707 | start: '{{ as_timestamp( now().replace(hour=0).replace(minute=0).replace(second=0) ) - now().weekday() * 86400 }}' 708 | end: '{{ now() }}' 709 | - platform: history_stats 710 | name: Jackson Xbox 711 | entity_id: sensor.bearbait16 712 | state: 'Online' 713 | type: time 714 | start: '{{ as_timestamp( now().replace(hour=0).replace(minute=0).replace(second=0) ) - now().weekday() * 86400 }}' 715 | end: '{{ now() }}' 716 | - platform: history_stats 717 | name: DrZzs Xbox 718 | entity_id: sensor.dr_zzs 719 | state: 'Online' 720 | type: time 721 | start: '{{ as_timestamp( now().replace(hour=0).replace(minute=0).replace(second=0) ) - now().weekday() * 86400 }}' 722 | end: '{{ now() }}' 723 | - platform: history_stats 724 | name: Work Week 725 | entity_id: device_tracker.justin_iphone7 726 | state: 'Work' 727 | type: time 728 | end: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}' 729 | duration: 730 | days: 8 731 | - platform: history_stats 732 | name: Work Month 733 | entity_id: device_tracker.justin_iphone7 734 | state: 'Work' 735 | type: time 736 | end: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}' 737 | duration: 738 | days: 30 739 | 740 | - platform: xbox_live 741 | api_key: !secret xboxapi_token 742 | xuid: 743 | - !secret DrZzs 744 | - !secret IROTRAS 745 | - !secret Zerp 746 | - !secret BearBait 747 | - !secret BlueMan 748 | 749 | - platform: statistics 750 | name: Leaf Watts Added 751 | entity_id: sensor.adensville_energy_added 752 | value_template: '{{ (states("sensor.adensville_energy_added") | int / 1000) }}' 753 | 754 | - platform: ring 755 | - platform: time_date 756 | display_options: 757 | - 'date_time' 758 | # Weather 759 | - platform: yr 760 | monitored_conditions: 761 | - temperature 762 | - symbol 763 | 764 | #### Templates #### 765 | - platform: template 766 | sensors: 767 | # 3D Printer sensors 768 | # hotend: 769 | # friendly_name: 'Hotend' 770 | # value_template: '{{ ((states.sensor.octoprint_actual_tool0_temp.state | float-32) | float*(5/9)) | round(1) }}' 771 | # # NOT WORKING - unit_of_measurement: "°C" 772 | # bed: 773 | # friendly_name: "Bed" 774 | # value_template: '{{ ((states.sensor.octoprint_actual_bed_temp.state | float-32) | float*(5/9)) | round(1) }}' 775 | # # NOT WORKING - unit_of_measurement: "°C" 776 | printing_status: 777 | friendly_name: 'Printing Status' 778 | value_template: '{{states.binary_sensor.octoprint_printing.state}}' 779 | icon_template: '{% if is_state("binary_sensor.octoprint_printing", "off") %}mdi:sleep{% else %}mdi:printer-3d{% endif %}' 780 | # printing_error_status: 781 | # friendly_name: 'Printing Error Status' 782 | # value_template: '{{states.binary_sensor.octoprint_printing_error.state}}' 783 | # icon_template: '{% if is_state("binary_sensor.octoprint_printing_error", "off") %}mdi:thumb-up-outline{% else %}mdi:thumb-down{% endif %}' 784 | 785 | #OctoPrint 786 | - platform: octoprint 787 | name: OctoPrint 788 | monitored_conditions: 789 | - Current State 790 | # - Temperatures 791 | - Job Percentage 792 | 793 | # Time and Date 794 | - platform: time_date 795 | display_options: 796 | #- 'time' 797 | #- 'date' 798 | #- 'beat' 799 | 800 | ################################################### 801 | ##### Binary Sensors ##### 802 | ################################################### 803 | 804 | binary_sensor: 805 | - platform: mqtt 806 | name: "Boys Toilet" 807 | state_topic: "tele/RF_Bridge/RESULT" 808 | value_template: '{{value_json.RfReceived.Data}}' 809 | payload_on: "0F800E" 810 | payload_off: "0F800A" 811 | optimistic: false 812 | qos: 1 813 | retain: false 814 | - platform: mqtt 815 | name: "Main Toilet" 816 | state_topic: "tele/RF_Bridge/RESULT" 817 | value_template: '{{value_json.RfReceived.Data}}' 818 | payload_on: "F7EF0E" 819 | payload_off: "F7EF0A" 820 | optimistic: false 821 | qos: 1 822 | retain: false 823 | - platform: mqtt 824 | name: "Master Toilet" 825 | state_topic: "tele/RF_Bridge/RESULT" 826 | value_template: '{{value_json.RfReceived.Data}}' 827 | payload_on: "0DC30E" 828 | payload_off: "0DC30A" 829 | optimistic: false 830 | qos: 1 831 | retain: false 832 | - platform: mqtt 833 | state_topic: "tele/RF_Bridge/RESULT" 834 | name: 'Garage Motion' 835 | value_template: '{{value_json.RfReceived.Data}}' 836 | payload_on: 'D54C1E' 837 | payload_off: 'D54C1Eoff' 838 | device_class: motion 839 | optimistic: false 840 | qos: 1 841 | retain: false 842 | - platform: mqtt 843 | name: "Garage Fridge" 844 | state_topic: "tele/RF_Bridge/RESULT" 845 | value_template: '{{value_json.RfReceived.Data}}' 846 | payload_on: "DF000A" 847 | payload_off: "DF000E" 848 | device_class: Cold 849 | optimistic: false 850 | qos: 1 851 | retain: false 852 | - platform: mqtt 853 | name: "Shop Door" 854 | state_topic: "tele/RF_Bridge/RESULT" 855 | value_template: '{{value_json.RfReceived.Data}}' 856 | payload_on: "F8030A" 857 | payload_off: "F8030E" 858 | device_class: Door 859 | optimistic: false 860 | qos: 1 861 | retain: false 862 | - platform: mqtt 863 | name: "Basment Water" 864 | state_topic: "tele/RF_Bridge/RESULT" 865 | value_template: '{{value_json.RfReceived.Data}}' 866 | payload_on: "84B90E" 867 | device_class: Moisture 868 | optimistic: false 869 | qos: 1 870 | retain: false 871 | 872 | - platform: mqtt 873 | name: "Office Wand" 874 | state_topic: "tele/RF_Bridge/RESULT" 875 | value_template: '{{value_json.RfReceived.Data}}' 876 | payload_on: "D31421" 877 | payload_off: "D31421off" 878 | qos: 1 879 | retain: false 880 | - platform: mqtt 881 | name: "Office Book" 882 | state_topic: "tele/RF_Bridge/RESULT" 883 | value_template: '{{value_json.RfReceived.Data}}' 884 | payload_on: "C7C2A1" 885 | payload_off: "C7C2A19off" 886 | qos: 1 887 | retain: false 888 | 889 | # - platform: mqtt 890 | # state_topic: dummy/floorplan/sensor 891 | # name: Floorplan 892 | - platform: ring 893 | - platform: octoprint 894 | monitored_conditions: 895 | - Printing 896 | - Printing Error 897 | 898 | ######################################### 899 | ################ Sonoffs & Switches ######## 900 | ######################################### 901 | switch: 902 | - platform: mqtt 903 | name: "Master Lights" 904 | command_topic: "cmnd/Master_Lights/power3" 905 | state_topic: "stat/Master_Lights/POWER3" 906 | qos: 1 907 | payload_on: "ON" 908 | payload_off: "OFF" 909 | retain: false 910 | - platform: mqtt 911 | name: "Master Fan" 912 | command_topic: "cmnd/Master_Lights/power2" 913 | state_topic: "stat/Master_Lights/POWER2" 914 | qos: 1 915 | payload_on: "ON" 916 | payload_off: "OFF" 917 | retain: false 918 | - platform: mqtt 919 | name: "Master Fire" 920 | command_topic: "cmnd/Master_Lights/power1" 921 | state_topic: "stat/Master_Lights/POWER1" 922 | qos: 1 923 | payload_on: "ON" 924 | payload_off: "OFF" 925 | retain: false 926 | - platform: mqtt 927 | name: "Boys Bathroom Lock" 928 | command_topic: "cmnd/Boys_Bathroom_Lock/power" 929 | state_topic: "stat/Boys_Bathroom_Lock/POWER" 930 | qos: 1 931 | payload_on: "ON" 932 | payload_off: "OFF" 933 | retain: false 934 | - platform: mqtt 935 | name: "Upstairs Fan" 936 | command_topic: "cmnd/ThermoZztat/POWER1" 937 | state_topic: "stat/ThermoZztat/POWER1" 938 | qos: 1 939 | payload_on: "ON" 940 | payload_off: "OFF" 941 | retain: false 942 | - platform: mqtt 943 | name: "Upstairs AC" 944 | command_topic: "cmnd/ThermoZztat/POWER2" 945 | state_topic: "stat/ThermoZztat/POWER2" 946 | qos: 1 947 | payload_on: "ON" 948 | payload_off: "OFF" 949 | retain: false 950 | - platform: mqtt 951 | name: "Upstairs Furnace" 952 | command_topic: "cmnd/ThermoZztat/POWER3" 953 | state_topic: "stat/ThermoZztat/POWER3" 954 | qos: 1 955 | payload_on: "ON" 956 | payload_off: "OFF" 957 | retain: false 958 | - platform: mqtt 959 | name: "Kids Bedroom Heat" 960 | command_topic: "cmnd/Radiant_Heat/POWER7" 961 | state_topic: "stat/Radiant_Heat/POWER7" 962 | qos: 1 963 | payload_on: "ON" 964 | payload_off: "OFF" 965 | retain: false 966 | - platform: mqtt 967 | name: "Toy Room Heat" 968 | command_topic: "cmnd/Radiant_Heat/POWER6" 969 | state_topic: "stat/Radiant_Heat/POWER6" 970 | qos: 1 971 | payload_on: "ON" 972 | payload_off: "OFF" 973 | retain: false 974 | - platform: mqtt 975 | name: "Main Floor Fan" 976 | command_topic: "cmnd/MainAC/POWER1" 977 | state_topic: "stat/MainAC/POWER1" 978 | qos: 1 979 | payload_on: "ON" 980 | payload_off: "OFF" 981 | retain: false 982 | - platform: mqtt 983 | name: "Main Floor AC" 984 | command_topic: "cmnd/MainAC/POWER2" 985 | state_topic: "stat/MainAC/POWER2" 986 | qos: 1 987 | payload_on: "ON" 988 | payload_off: "OFF" 989 | retain: false 990 | - platform: mqtt 991 | name: "Main Floor Heat" 992 | command_topic: "cmnd/MainAC/POWER3" 993 | state_topic: "stat/MainAC/POWER3" 994 | qos: 1 995 | payload_on: "ON" 996 | payload_off: "OFF" 997 | retain: false 998 | - platform: mqtt 999 | name: "Master Bedroom Heat" 1000 | command_topic: "cmnd/Radiant_Heat/POWER1" 1001 | state_topic: "stat/Radiant_Heat/POWER1" 1002 | qos: 1 1003 | payload_on: "ON" 1004 | payload_off: "OFF" 1005 | retain: false 1006 | - platform: mqtt 1007 | name: "Kitchen Heat" 1008 | command_topic: "cmnd/Radiant_Heat/POWER3" 1009 | state_topic: "stat/Radiant_Heat/POWER3" 1010 | qos: 1 1011 | payload_on: "ON" 1012 | payload_off: "OFF" 1013 | retain: false 1014 | - platform: mqtt 1015 | name: "Entryway Heat" 1016 | command_topic: "cmnd/Radiant_Heat/POWER2" 1017 | state_topic: "stat/Radiant_Heat/POWER2" 1018 | qos: 1 1019 | payload_on: "ON" 1020 | payload_off: "OFF" 1021 | retain: false 1022 | - platform: mqtt 1023 | name: "Guest Bedroom Heat" 1024 | command_topic: "cmnd/Radiant_Heat/POWER5" 1025 | state_topic: "stat/Radiant_Heat/POWER5" 1026 | qos: 1 1027 | payload_on: "ON" 1028 | payload_off: "OFF" 1029 | retain: false 1030 | - platform: mqtt 1031 | name: "Theater Room Heat" 1032 | command_topic: "cmnd/Radiant_Heat/POWER4" 1033 | state_topic: "stat/Radiant_Heat/POWER4" 1034 | qos: 1 1035 | payload_on: "ON" 1036 | payload_off: "OFF" 1037 | retain: false 1038 | # - platform: mqtt 1039 | # name: UK_1 1040 | # command_topic: "cmnd/UK_1/power" 1041 | # state_topic: "stat/UK_1/POWER" 1042 | # qos: 1 1043 | # payload_on: "ON" 1044 | # payload_off: "OFF" 1045 | # retain: false 1046 | - platform: mqtt 1047 | name: "Office Lock" 1048 | command_topic: "cmnd/officelock/power" 1049 | state_topic: "stat/officelock/POWER" 1050 | qos: 1 1051 | payload_on: "ON" 1052 | payload_off: "OFF" 1053 | retain: false 1054 | # - platform: mqtt 1055 | # name: "Shop Lock" 1056 | # command_topic: "cmnd/shoplock/power" 1057 | # state_topic: "stat/shoplock/POWER" 1058 | # qos: 1 1059 | # payload_on: "ON" 1060 | # payload_off: "OFF" 1061 | # retain: false 1062 | # - platform: mqtt 1063 | # name: "Garage Lights" 1064 | # command_topic: "cmnd/GarageLights/power" 1065 | # state_topic: "stat/GarageLights/POWER" 1066 | # qos: 1 1067 | # payload_on: "ON" 1068 | # payload_off: "OFF" 1069 | # retain: false 1070 | - platform: mqtt 1071 | name: "Boys Shower" 1072 | command_topic: "cmnd/zzboysshower/power" 1073 | state_topic: "stat/zzboysshower/POWER" 1074 | qos: 1 1075 | payload_on: "ON" 1076 | payload_off: "OFF" 1077 | retain: false 1078 | - platform: mqtt 1079 | name: "Back Porch" 1080 | command_topic: "cmnd/sonoff/power" 1081 | state_topic: "stat/sonoff/POWER" 1082 | qos: 1 1083 | payload_on: "ON" 1084 | payload_off: "OFF" 1085 | retain: false 1086 | - platform: mqtt 1087 | name: "Front Porch" 1088 | command_topic: "cmnd/sonoff1/power" 1089 | state_topic: "stat/sonoff1/POWER" 1090 | qos: 1 1091 | payload_on: "ON" 1092 | payload_off: "OFF" 1093 | retain: false 1094 | - platform: mqtt 1095 | name: "Office Light" 1096 | command_topic: "cmnd/office_light/power" 1097 | state_topic: "stat/office_light/POWER" 1098 | qos: 1 1099 | payload_on: "ON" 1100 | payload_off: "OFF" 1101 | retain: false 1102 | - platform: mqtt 1103 | name: "Theater" 1104 | command_topic: "cmnd/ZzTheater/power" 1105 | state_topic: "stat/ZzTheater/POWER" 1106 | qos: 1 1107 | payload_on: "ON" 1108 | payload_off: "OFF" 1109 | retain: false 1110 | - platform: mqtt 1111 | name: "Toy Room" 1112 | command_topic: "cmnd/sonoff4/power" 1113 | state_topic: "stat/sonoff4/POWER" 1114 | qos: 1 1115 | payload_on: "ON" 1116 | payload_off: "OFF" 1117 | retain: false 1118 | - platform: mqtt 1119 | name: "Side Porch" 1120 | command_topic: "cmnd/sonoff5/power" 1121 | state_topic: "stat/sonoff5/POWER" 1122 | qos: 1 1123 | payload_on: "ON" 1124 | payload_off: "OFF" 1125 | retain: false 1126 | - platform: mqtt 1127 | name: "Office Fan" 1128 | command_topic: "cmnd/sonoff6/power" 1129 | state_topic: "stat/sonoff6/POWER" 1130 | qos: 1 1131 | payload_on: "ON" 1132 | payload_off: "OFF" 1133 | retain: false 1134 | - platform: mqtt 1135 | name: "Office Wall" 1136 | command_topic: "cmnd/sonoff9/power" 1137 | state_topic: "stat/sonoff9/POWER" 1138 | qos: 1 1139 | payload_on: "ON" 1140 | payload_off: "OFF" 1141 | retain: false 1142 | - platform: mqtt 1143 | name: "Upstairs Hall" 1144 | command_topic: "cmnd/sonoff10/power" 1145 | state_topic: "stat/sonoff10/POWER" 1146 | qos: 1 1147 | payload_on: "ON" 1148 | payload_off: "OFF" 1149 | retain: false 1150 | - platform: mqtt 1151 | name: "Sonoff 11" 1152 | command_topic: "cmnd/sonoff11/power" 1153 | state_topic: "stat/sonoff11/POWER" 1154 | qos: 1 1155 | payload_on: "ON" 1156 | payload_off: "OFF" 1157 | hidden: true 1158 | retain: false 1159 | - platform: mqtt 1160 | name: "Sonoff 12" 1161 | command_topic: "cmnd/sonoff12/power" 1162 | state_topic: "stat/sonoff12/POWER1" 1163 | qos: 1 1164 | payload_on: "ON" 1165 | payload_off: "OFF" 1166 | hidden: true 1167 | retain: false 1168 | - platform: mqtt 1169 | name: "Office Crown" 1170 | command_topic: "cmnd/sonoffsv2/POWER1" 1171 | state_topic: "stat/sonoffsv2/POWER" 1172 | qos: 1 1173 | payload_on: "ON" 1174 | payload_off: "OFF" 1175 | retain: false 1176 | - platform: mqtt 1177 | name: "Master Crown" 1178 | command_topic: "cmnd/sonoffsv1/power" 1179 | state_topic: "stat/sonoffsv1/POWER" 1180 | qos: 1 1181 | payload_on: "ON" 1182 | payload_off: "OFF" 1183 | retain: false 1184 | - platform: mqtt 1185 | name: "Boys Bathroom" 1186 | command_topic: "cmnd/sonoff15/power" 1187 | state_topic: "stat/sonoff15/POWER" 1188 | qos: 1 1189 | payload_on: "ON" 1190 | payload_off: "OFF" 1191 | retain: false 1192 | 1193 | - platform: broadlink 1194 | host: 192.168.1.62 1195 | mac: '78:0f:77:5a:b5:2a' 1196 | type: rm_mini 1197 | switches: 1198 | office_tv: 1199 | friendly_name: "Office TV" 1200 | command_on: 'JgCAAQABJ5YRFBEUEjkRFBEUERQSFBEUETkROREUEjkRORE5ETkROREUEhQRFBE5ERQSFBEUERQRORE5EjkRFBE5ETkRORE5EgAFEgABKEsSAAxSAAEnTBEADFMAASdMEQAMUgABKEsSAAxSAAEnTBEADFIAASdMEQAMUgABKEwRAAxSAAEnTBEADFIAAShLEgAMUgABJ0wRAAxTAAEnTBEADFIAASdMEQAMUwABJ0wRAAxTAAEnTBEADFMAASdMEQAMUwABJ0wRAAxTAAEnTBEADFMAAShLEQAMUwABKEsSAAxSAAEoSxIADFIAAShMEQAMUgABKEsSAAxSAAEoSxIADFIAASdMEQAMUgABKEwRAAxSAAEnTBEADFMAASdMEQAMUgABKEsSAAxSAAEnTBEADFMAASdMEQAMUwABJ0wRAAxSAAEoTBEADFIAASdMEQAMUwABJ0wRAAxTAAEnTBEADFIAAShMEQAMUgABKEsSAAxSAAEnTBEADFMAAShMEQANBQAAAAAAAAAA' 1201 | command_off: 'JgCAAQABJ5YRFBEUEjkRFBEUERQSFBEUETkROREUEjkRORE5ETkROREUEhQRFBE5ERQSFBEUERQRORE5EjkRFBE5ETkRORE5EgAFEgABKEsSAAxSAAEnTBEADFMAASdMEQAMUgABKEsSAAxSAAEnTBEADFIAASdMEQAMUgABKEwRAAxSAAEnTBEADFIAAShLEgAMUgABJ0wRAAxTAAEnTBEADFIAASdMEQAMUwABJ0wRAAxTAAEnTBEADFMAASdMEQAMUwABJ0wRAAxTAAEnTBEADFMAAShLEQAMUwABKEsSAAxSAAEoSxIADFIAAShMEQAMUgABKEsSAAxSAAEoSxIADFIAASdMEQAMUgABKEwRAAxSAAEnTBEADFMAASdMEQAMUgABKEsSAAxSAAEnTBEADFMAASdMEQAMUwABJ0wRAAxSAAEoTBEADFIAASdMEQAMUwABJ0wRAAxTAAEnTBEADFIAAShMEQAMUgABKEsSAAxSAAEnTBEADFMAAShMEQANBQAAAAAAAAAA' 1202 | office_tv_vol: 1203 | friendly_name: "Office TV Vol" 1204 | command_on: 'JgDgAAABKZQTEhQSEzcTEhMSExMTEhMSEzcTNxQSEzcTNxM3EzcTOBMSEzcTEhMSFBITEhMSExIUNxMSEzcTNxM3FDcTNxM3EwAFEQABKUoTAAxSAAEpShMADFEAASpKEwAMUQABKUoTAAxRAAEqSRQADFEAASlKEwAMUQABKkoTAAxRAAEpShMADFEAASlKEwAMUgABJ0wRAAxTAAEnTBEADFMAAShLEgAMUgABKEsSAAxSAAEoSxIADFIAASpKEwAMUAABKkoTAAxQAAEoSxMADFEAASdMEwAMUQABJ0wRAA0FAAAAAAAAAAA=' 1205 | command_off: 'JgDQAAABKpMUERQSEzcTEhMSFBITEhMSEzcUNhQSEzcTNxM3FDYUNxM3EzcTEhQRFBITEhMSFBEUEhMSEzcTNxQ2FDcTNxM3EwAFEQABKEsSAAxTAAEoSxMADFEAASpKEwAMUQABKkoTAAxRAAEpShMADFEAASpKEwAMUQABKUoTAAxRAAEqShMADFEAASpJFAAMUQABKUoTAAxRAAEqSRQADFEAASlKEwAMUQABKkoTAAxRAAEnTBEADFMAAShLEQAMVAABKUoRAAxTAAEoTBEADQUAAAAAAAAAAA==' 1206 | office_tv_mute: 1207 | friendly_name: "Office TV Mute/Input" 1208 | command_on: 'JgCQAQABKpMUEhMSEzcTEhQSExITEhMSFDYUNxMSEzcTNxQ2FDcTNxM3EzcUNhQ3ExITNxMSFBEUEhMSExIUERQ3ExITNxM3EwAFEQABKkkUAAxRAAEpShMADFEAASpJFAAMUQABKUoTAAxRAAEqSRQADFEAASlKEwAMUQABKkkUAAxQAAEqShMADFEAASlKEwAMUQABKUoTAAxRAAEqSRMADFEAASpJEwAMUQABKkkTAAxRAAEpShMADFEAASlKEwAMUQABKUoTAAxRAAEpShMADFEAASlKEwAMUQABKUoTAAxQAAEqSRQADFAAASlKEwAMUQABKkkUAAxQAAEqSRMADFEAASlKFAAMUAABKUoTAAxRAAEpShMADFAAASpJFAAMUAABKkoTAAxQAAEqSRQADFAAASpJFAAMUAABKkkUAAxQAAEpShMADFEAASlKEwAMUQABKUoTAAxQAAEqShMADFAAASpJEwAMUQABKUoTAAxRAAEpShMADFEAASlKEwAMUQABKkoTAAxRAAEpShMADQUAAAAAAAAAAA==' 1209 | command_off: 'JgAoAQABKpMUEhMSEzcTEhQRFBITEhMSFDYUNhQSEzcTNxM3FDYUNhQ3ExITEhQ2FBITEhMSFBEUEhM3EzcTEhQ2FDYUNxM3EwAFEQABKUoTAAxRAAEqSRMADFEAASlKEwAMUQABKkkTAAxRAAEqSRQADFAAASpJFAAMUAABKEwRAAxTAAEpShEADFMAASlKEwAMUQABKEsSAAxTAAEnTBEADFMAASdMEQAMUwABKEwRAAxTAAEnTBEADFQAASdMEQAMUwABJ0wRAAxTAAEoTBEADFMAASdMEgAMUgABKEwRAAxTAAEnTBEADFQAASdMEQAMUwABJ0wRAAxTAAEoSxIADFIAAShLEgAMUwABJ0wRAAxTAAEnTBEADFMAAShLEgAMUgABJ0wRAA0F' 1210 | desk_leds: 1211 | friendly_name: "Desk LEDs" 1212 | command_on: 'JgBgAQABKpURFBITEBURFBITERUQFBIUEDoSOBI4EDoSOBI4ETkSOBI4ERUQORE5ExMQFREUERQQFRI4EBUSExE6ETgRORM4EQAFIAABKksSAAxWAAEqShMADFYAASpKEwAMVgABKksSAAxWAAEqSxIADFYAAStJEgAMVwABKkoTAAxVAAErSRQADFUAASpKEwAMVQABKkoTAAxVAAEqSRMADFYAASlKEwAMVQABKkoTAAxVAAEqSRQADFUAASpJEwAMVQABKkoTAAxVAAEqSRQADFQAAStJEwAMVQABKkoTAAxVAAEqSRMADFUAASpJFAAMVAABKkoTAAxVAAEqSRMADFUAASpJFAAMVAABKkoTAAxVAAEpShMADFUAASpJEwAMVQABKkkUAAxVAAEpShMADFUAAShLEwAMVQABKkkUAAxUAAEqShMADFUAAShLEwAMVQABKEsUAAxVAAEqSRMADQUAAAAAAAAAAA==' 1213 | command_off: 'JgD4AgABKZURExITERURExIUEBURFBITEDoRORI4EDoSOBI4EDoSOBI4EDoSOBI4EDoSExEVERMSExEVERMSFBAVETkQORM4EQAFIAABKUsSAAxWAAEoSxIADFYAASlLEgAMVgABKUoTAAxVAAEpSxIADFYAASpKEgAMVgABKUsSAAxWAAEpShMADFUAASpKEgAMVgABKUoTAAxVAAEqShMADFUAASpKEwAMVQABKkoTAAxVAAEpTBIADFUAASpKEwAMVQABKkoTAAxVAAEqShMADFUAASpKEwAMVQABKkoTAAxVAAEqShMADFUAASpKEwAMVQABKkoTAAxVAAEqShMADFUAASpKEwAMVQABKkoSAAxWAAEpSxIADFYAASlLEgAMVQABKksSAAxVAAEqShMADFUAASpKEwAMVQABKkoTAAxVAAEqShIADFYAASpKEgAMVgABKkoSAAxWAAEpSxIADFYAASlLEgAMVgABKUsSAAxWAAEpSxIADFUAASpKEwAMVQABKkoTAAxVAAEpSxMADFUAASpKEwAMVQABKkoSAAxWAAEpSxIADFUAASpLEgAMVQABKkoTAAxVAAEqShIADFYAASpKEgAMVgABKkoSAAxWAAEpSxIADFYAASlLEgAMVQABKkoTAAxVAAEpSxIADFYAASlKEwAMVQABKkoSAAxWAAEpSxIADFUAASpKEgAMVgABKUoTAAxVAAEpShMADFUAASlLEgAMVQABKUsSAAxVAAEpSxIADFYAASlKEgAMVgABKUsSAAxVAAEpSxIADFYAASlKEwAMVQABKUsSAAxVAAEpSxEADFcAAShLEwAMVQABKkoRAAxWAAErSRIADFYAASpJFAAMVAABKkkUAAxUAAEqShMADFQAASpKEwAMVAABKkoTAAxUAAEqShIADFUAASpKEgAMVgABKUoTAAxVAAEpSxIADFUAAStJEwAMVQABKEsSAAxWAAEoTBEADFYAAStJEwAMVAABK0kUAAxUAAEqShIADQU=' 1214 | xbox_power: 1215 | friendly_name: "Xbox Power" 1216 | command_on: 'JgBQAAABKJQTEhMTExITEhQSExIUEhM3ExMTEhMSFDcTNxQSEzcTOBMSEzcUEhM3FBITNxMTExITNxQSEzcUEhM3ExMTNxM3FAAFngABKUoTAA0FAAAAAAAAAAA=' 1217 | command_off: 'JgBQAAABKJQTEhQSExIUEhMSFBITEhM3FBITEhQSEzcUNxMSEzgTNxM3FBITEhQ3ExITOBMSExIUEhM3FDcTEhM3FBITNxQ3EwAFnwABKUkTAA0FAAAAAAAAAAA=' 1218 | 1219 | - platform: broadlink 1220 | host: 192.168.1.66 1221 | mac: '78:0f:77:18:20:43' 1222 | type: rm2_pro_plus 1223 | switches: 1224 | tv: 1225 | friendly_name: "Projector" 1226 | command_on: 'JgC4AAABJJYQFBE5EBQQFRA5EDkRFBAVEDkQFBE5EDkQFRAUEDkRORAUETkQFBAVEBQRFBAVEBQQOhAUEDkRORA5EDkQORE5EAAFIwABJUsRAAxKAAElSxAADEwAASRMEAAMSwABJUsQAAxMAAEkTBAADEsAASVLEQAMSwABJEwQAAxLAAElSxEADEsAASRMEAAMSwABJUwQAAxLAAElSxAADEsAASVMEAAMSwABJUsRAAxLAAEkTBAADQU=' 1227 | command_off: 'JgDwAAABJZUQFRA5EBUQFBA5ETkQFBEUEDkQFRA5EDkQFRAUETkQORAUETkQORA5EBUUNRAVEBQRORAUEBUQFBE5EBQRORA5EAAFIQABJksRAAxKAAElSxAADEsAASVLEQAMSgABJUwQAAxLAAEkTBAADEsAASVLEQAMSgABJUwQAAxLAAEkTBAADEsAASVLEQAMSgABJUwQAAxLAAEkTBAADEsAASVLEQAMSgABJUwQAAxLAAEkTBAADEsAASVLEQAMSgABJUwQAAxLAAEkTBAADEsAASVLEQAMSgABJUwQAAxLAAEkTBAADEsAASVLEAANBQAAAAAAAAAA' 1228 | volume: 1229 | friendly_name: "Projector Volume" 1230 | command_on: "JgCEAxMSEjcTEhMSExETEhMSExEUNhMSEzYTNxM2FDYTNxM2EwAE9gABJpMTEhM2ExITEhM2ExITNxM2EzcTEhM2EzcTERM3EzcSEhMSEzcTERMSExITEhISExITNxMREzcTNhM3EzcTNhQ2EwAE9QABJpQTERM3ExITERM3ExITNhM3EzYTEhM3EzYTEhM2EzcTEhMSEjcTEhMSExETEhMSExITNhMSEzYTNxM3EzYTNxM2EwAE9gABJpMUERM2ExITEhM2ExITNxM2EzcTEhM2EzcTERM3EzcTERMSEzcTERQRExITEhMRExITNxMREzcTNxI3EzcTNhM3EwAE9QABJpQTERM3ExITEhM2ExITNhM3FDUTEhM3EzYUERQ2EjcUERQREzYUERMSExETEhMSExITNhMSEzYTNxQ2EzYUNhM2EwAE9gABJpMUERQ1ExITEhM2FBETNxQ1FDYUERM2EzcUEBM3EzcTERMSFDYTERMSFBETEhMRExITNxMREzcTNxI3EzcTNhQ2FAAE9AABJpQTERM3FBETERM3ExIUNRQ2FDUUERQ2EzYTEhM3EzYUERMSEzYUERQRExETEhQRExITNhQRFDUUNhQ2EzYUNhM2FAAE9QABJ5IUERM2ExIUERQ1FBETNxQ1FDYUERM2FDYTERQ2FDYTERQRFDYTERQRExITEhMRExIUNhMREzcTNxM2FDYTNhM3EwAE9QABJpQSEhM3ExISEhM3ExITNhM3EzYTEhM3EjcTEhM2EzcTEhMSEjcTEhMSEhITEhMSExISNxMSEzYTNxM3EjcTNxM2EwAE9gABJpMTEhM2ExITEhM2ExITNxM2EzcTEhI3EzcTERM3EzcSEhMSEzcSEhMSExITEhISExITNxISEzcTNhM3EzcSNxM3EwAE9QABJpQSEhM3ExISEhM3ExITNhM3EzYTEhM3EzYTEhM2EzcTEhMSEjcTEhMSEhITEhMSExITNhMSEzYTNxM2EzcTNxM2EwAE9AABKJMTEhM2ExITEhM2ExITNxM2EzcTEhI3EzcTERM3EzYTEhMSEzcSEhMSExITEhISExIUNhMREzcTNhQ2EzcSNxM3EwAE9QABJ5ITEhM3FBESEhM3ExITNhM3EzYTEhM3EzYUERQ1FDYUERQQFDYUERQREhITEhMSExETNxMSEzYTNxM2EzcTNxI3EwANBQAAAAA=" 1231 | command_off: "JgCEAxI4EjcSExITEhISExITEhMSEhITEjgSNxI4EzYTNxM2EwAE9gABJpMTEhM3ExEUERM3ExEUNhM3EzYTEhM2FDYTEhM2EzcTEhM2EzcTERQRExITEhMRFBEUERMSEzYTNxM2FDYTNhQ2EwAE9QABJ5MTEhM2ExITEhM2ExITNxM2EzcTERQ2EzcTERM3EzYUERM3EzYTEhMSExITERMSExITEhMREzcTNhQ2EzcTNhM3EwAE9QABJpMUERM3ExITERM3ExITNhM3EzYTEhM3EzYTEhM2FDYTEhM2EzcTEhMRExITEhMSExETEhMSEzYTNxM3EzYTNxM2EwAE9gABJpMTEhM2ExITEhM2FBETNxM2EzcTEhM2EzcTEhM2EzcTERM3EzYUERMSExITERQRExITEhMREzcTNhQ2EzcTNhM3EwAE9QABJpQTERQ2ExITEhM2ExITNhM3EzYUERM3EzYTEhM3EzYTEhM2FDYTEhMSExETEhMSExITERMSEzcTNhM3EzYTNxM2FAAE9QABJpMTEhM3ExETEhM3ExETNxM2FDYTEhM2EzcTEhM2EzcTEhM2EzcTERMSExITEhMRExITEhMSEzYTNxM2EzcTNhQ2EwAE9QABJ5MTEhM2ExITEhM2ExITNxM2EzcTERM3EzYUERM3EzYTEhM3EzYTEhMSExEUERMSExITERQREzcTNhM3EzYUNhM3EwAE9QABJpMUERM3ExITERM3ExITNhM3EzYTEhM2FDYTEhM2FDYTEhM2EzcTEhMRExITEhMSExETEhMSEzYTNxM2FDYTNhQ2EwAE9gABJpMTEhM2ExITEhM2ExITNxM2EzcTEhM2EzcTERM3EzYUERM3EzYTEhMSExITERMSExITEhMREzcTNhQ2EzcTNhM3EwAE9QABJpMUERM3ExITERM3ExITNhM3EzYTEhM3EzYTEhM2FDYTEhM2EzcTEhMRFBETEhMSExETEhMSEzYUNhM3EzYTNxM2EwAE9gABJpMTEhM2FBETEhM2FBETNxM2EzcTEhM2EzcTEhM2EzcTERM3EzYUERMSExITERQRExITEhMRFDYTNxM2EzcTNhM3EwAE9QABJZUSExI3EhMSEhM3EhMSNxI4EjcTEhE5EjcSExE5ETgRFBE4ETkRFBEUERMRFBEUERQQFBEUETkROBE5ETgRORE4EQANBQAAAAA=" 1232 | 1233 | tuya: 1234 | username: !secret tuya_user 1235 | password: !secret tuya_pw 1236 | country_code: 1 1237 | 1238 | ######################################### 1239 | ########### Garage Door Controls ######### 1240 | ######################################### 1241 | 1242 | cover: 1243 | - platform: mqtt 1244 | name: "test" 1245 | state_topic: "cmnd/2/POWER2" 1246 | command_topic: "cmnd/sonoffSV04/POWER" 1247 | payload_open: "ON" 1248 | payload_close: "ON" 1249 | payload_stop: "ON" 1250 | state_open: "ON" 1251 | state_closed: "OFF" 1252 | optomistic: false 1253 | retain: false 1254 | - platform: mqtt 1255 | name: "double" 1256 | state_topic: "cmnd/gState/POWER2" 1257 | command_topic: "cmnd/JanisGarage/POWER" 1258 | payload_open: "ON" 1259 | payload_close: "ON" 1260 | payload_stop: "ON" 1261 | state_open: "ON" 1262 | state_closed: "OFF" 1263 | optomistic: false 1264 | retain: false 1265 | 1266 | ############################# 1267 | 1268 | # Text to speech 1269 | tts: 1270 | platform: google 1271 | 1272 | ios: 1273 | push: 1274 | categories: 1275 | - name: garage1 1276 | identifier: 'GARAGE1' 1277 | actions: 1278 | - identifier: 'CLOSE_JANIS' ## this must point to an action ## 1279 | title: 'Close Janis Garage Door' 1280 | - name: garage2 1281 | identifier: 'GARAGE2' 1282 | actions: 1283 | - identifier: 'CLOSE_JUSTIN' ## this must point to an action ## 1284 | title: 'Close Justin Garage Door' 1285 | - name: michigan 1286 | identifier: 'GAME' 1287 | actions: 1288 | - identifier: 'WIN' 1289 | title: 'They Won!' 1290 | - identifier: 'LOSS' 1291 | title: 'Not this time...' 1292 | - name: door 1293 | identifier: 'DOOR' 1294 | actions: 1295 | - identifier: 'OPEN_FIRST' ## these need to point to an action ## 1296 | title: 'Open First' 1297 | - identifier: 'OPEN_SECOND' 1298 | title: 'Open Second' 1299 | - identifier: 'OPEN_THIRD' 1300 | title: 'Open Third' 1301 | 1302 | ######################## 1303 | notify: 1304 | - name: Drzzs xbox 1305 | platform: rest 1306 | resource: https://xboxapi.com/v2/messages 1307 | method: POST_JSON 1308 | headers: 1309 | Content-Type: application/json 1310 | X-Auth: !secret xboxapi_token 1311 | data: 1312 | to: 1313 | - !secret DrZzs 1314 | ################################################### 1315 | ##### Input Boolean ##### 1316 | ################################################### 1317 | 1318 | input_boolean: 1319 | sunday_music: 1320 | name: Sunday Music 1321 | icon: mdi:music 1322 | rock_music: 1323 | name: Rock On 1324 | icon: mdi:guitar-electric 1325 | country_music: 1326 | name: Country 1327 | icon: mdi:guitar-acoustic 1328 | lindsay_music: 1329 | name: Lindsay 1330 | icon: mdi:play 1331 | kids_bop: 1332 | name: Kids Bop 1333 | icon: mdi:flower-tulip 1334 | receiver: 1335 | name: Projector Sound 1336 | icon: mdi:surround-sound 1337 | office_on: 1338 | name: I'm Home 1339 | initial: off 1340 | office_off: 1341 | name: Off to Bed 1342 | initial: off 1343 | garage_blink: 1344 | name: Garage Blink 1345 | test_trigger: 1346 | name: Trigger for the test ### Trigger for the alert ### 1347 | initial: off 1348 | icon: mdi:pot-mix 1349 | result: 1350 | name: Results switch ### condition for the alert ### 1351 | initial: off 1352 | icon: mdi:test-tube 1353 | goblue: 1354 | name: Go Blue! 1355 | initial: off 1356 | icon: mdi:football-helmet 1357 | garagetest: 1358 | name: Garage Test 1359 | initial: off 1360 | 1361 | # arlo: 1362 | # username: !secret arlo_user 1363 | # password: !secret arlo_pw 1364 | 1365 | juicenet: 1366 | access_token: !secret juicenet_token 1367 | 1368 | device_tracker: 1369 | - platform: owntracks_http 1370 | # - platform: google_maps 1371 | # username: DrZzs.HA@gmail.com 1372 | # password: !secret DrZ_gMap_PW 1373 | 1374 | media_player: 1375 | - platform: alexa 1376 | email: "jmcdonaz@umich.edu" 1377 | password: !secret alexa_pw 1378 | url: "amazon.com" 1379 | - platform: spotify 1380 | client_id: !secret spotify_id 1381 | client_secret: !secret spotify_secret 1382 | - platform: floorplan_speaker 1383 | name: my_html5_speakers 1384 | 1385 | influxdb: 1386 | host: a0d7b954-influxdb 1387 | port: 8086 1388 | database: homeassistant 1389 | username: homeassistant 1390 | password: !secret influx_pw 1391 | max_retries: 3 1392 | default_measurement: state 1393 | 1394 | group: !include groups.yaml 1395 | 1396 | script: !include scripts.yaml 1397 | 1398 | automation: !include automations.yaml 1399 | 1400 | ring: 1401 | username: !secret ring_user 1402 | password: !secret ring_pw 1403 | 1404 | cloud: 1405 | 1406 | config: 1407 | 1408 | climate: 1409 | - platform: generic_thermostat 1410 | name: Upstairs Heat 1411 | heater: switch.upstairs_furnace 1412 | target_sensor: sensor.average_upstairs_temp 1413 | min_temp: 40 1414 | max_temp: 90 1415 | min_cycle_duration: 1416 | minutes: 20 1417 | initial_operation_mode: "off" 1418 | target_temp: 72 1419 | away_temp: 60 1420 | cold_tolerance: 0.5 1421 | hot_tolerance: 0.5 1422 | - platform: generic_thermostat 1423 | name: Upstairs AC 1424 | heater: switch.upstairs_ac 1425 | target_sensor: sensor.average_upstairs_temp 1426 | min_temp: 40 1427 | max_temp: 90 1428 | initial_operation_mode: "off" 1429 | min_cycle_duration: 1430 | minutes: 20 1431 | target_temp: 74 1432 | away_temp: 80 1433 | cold_tolerance: 0.5 1434 | hot_tolerance: 0.5 1435 | ac_mode: true 1436 | 1437 | - platform: generic_thermostat 1438 | name: Kids Bedroom Heat 1439 | heater: switch.kids_bedroom_heat 1440 | target_sensor: sensor.average_kids_temp 1441 | min_temp: 40 1442 | max_temp: 90 1443 | min_cycle_duration: 1444 | minutes: 30 1445 | initial_operation_mode: "auto" 1446 | away_temp: 64 1447 | cold_tolerance: 0.5 1448 | hot_tolerance: 0.5 1449 | 1450 | - platform: generic_thermostat 1451 | name: Toy Room Heat 1452 | heater: switch.toy_room_heat 1453 | target_sensor: sensor.blink_toy_room_temperature 1454 | min_temp: 40 1455 | max_temp: 90 1456 | min_cycle_duration: 1457 | minutes: 30 1458 | initial_operation_mode: "auto" 1459 | away_temp: 64 1460 | cold_tolerance: 0.5 1461 | hot_tolerance: 0.5 1462 | - platform: generic_thermostat 1463 | name: Main Floor AC 1464 | heater: switch.main_floor_ac 1465 | target_sensor: sensor.average_main_temp 1466 | min_temp: 40 1467 | max_temp: 90 1468 | initial_operation_mode: "auto" 1469 | away_temp: 80 1470 | cold_tolerance: 0.5 1471 | hot_tolerance: 0.5 1472 | ac_mode: true 1473 | - platform: generic_thermostat 1474 | name: Main Floor Heat 1475 | heater: switch.main_floor_heat 1476 | target_sensor: sensor.average_main_temp 1477 | min_temp: 40 1478 | max_temp: 90 1479 | initial_operation_mode: "off" 1480 | away_temp: 50 1481 | cold_tolerance: 0.5 1482 | hot_tolerance: 0.5 1483 | - platform: generic_thermostat 1484 | name: Master Bedroom Heat 1485 | heater: switch.master_bedroom_heat 1486 | target_sensor: sensor.master_bedroom_temp 1487 | min_temp: 40 1488 | max_temp: 90 1489 | min_cycle_duration: 1490 | minutes: 30 1491 | initial_operation_mode: "auto" 1492 | away_temp: 64 1493 | cold_tolerance: 0.5 1494 | hot_tolerance: 0.5 1495 | - platform: generic_thermostat 1496 | name: Kitchen Heat 1497 | heater: switch.kitchen_heat 1498 | target_sensor: sensor.kitchen_temp 1499 | min_temp: 40 1500 | max_temp: 90 1501 | min_cycle_duration: 1502 | minutes: 30 1503 | initial_operation_mode: "auto" 1504 | away_temp: 64 1505 | cold_tolerance: 0.5 1506 | hot_tolerance: 0.5 1507 | - platform: generic_thermostat 1508 | name: Entryway Heat 1509 | heater: switch.entryway_heat 1510 | target_sensor: sensor.blink_piano_room_temperature 1511 | min_temp: 40 1512 | max_temp: 90 1513 | min_cycle_duration: 1514 | minutes: 30 1515 | initial_operation_mode: "auto" 1516 | away_temp: 64 1517 | cold_tolerance: 0.5 1518 | hot_tolerance: 0.5 1519 | - platform: generic_thermostat 1520 | name: Guest Bedroom Heat 1521 | heater: switch.guest_bedroom_heat 1522 | target_sensor: sensor.blink_basement_temperature 1523 | min_temp: 40 1524 | max_temp: 90 1525 | min_cycle_duration: 1526 | minutes: 30 1527 | initial_operation_mode: "auto" 1528 | away_temp: 64 1529 | cold_tolerance: 0.5 1530 | hot_tolerance: 0.5 1531 | - platform: generic_thermostat 1532 | name: Theater Room Heat 1533 | heater: switch.theater_room_heat 1534 | target_sensor: sensor.blink_basement_temperature 1535 | min_temp: 40 1536 | max_temp: 90 1537 | min_cycle_duration: 1538 | minutes: 30 1539 | initial_operation_mode: "auto" 1540 | away_temp: 64 1541 | cold_tolerance: 0.5 1542 | hot_tolerance: 0.5 1543 | 1544 | homekit: 1545 | auto_start: false 1546 | filter: 1547 | exclude_domains: 1548 | - automation 1549 | - input_boolean 1550 | - script 1551 | exclude_entities: 1552 | - sensor.octoprint_actual_bed_temp 1553 | - sensor.octoprint_actual_tool0_temp 1554 | - sensor.octoprint_job_percentage 1555 | - sensor.octoprint_target_bed_temp 1556 | - sensor.octoprint_target_tool0_temp 1557 | - sensor.ring_front_door_battery 1558 | - sensor.ring_front_door_last_activity 1559 | - sensor.ring_front_door_last_ding 1560 | - sensor.ring_front_door_last_motion 1561 | - sensor.ring_front_door_volume 1562 | - sensor.ring_front_door_wifi_signal_category 1563 | - sensor.ring_front_door_wifi_signal_strength 1564 | include_entities: 1565 | - binary_sensor.octoprint_printing 1566 | entity_config: 1567 | media_player.volumio_volumiohomelocal: 1568 | feature_list: 1569 | - feature: on_off 1570 | - feature: play_pause 1571 | - feature: play_stop 1572 | - feature: toggle_mute 1573 | switch.taz_5: 1574 | type: outlet 1575 | switch.garage_lights: 1576 | name: Garage LEDs 1577 | 1578 | recorder: 1579 | exclude: 1580 | domains: 1581 | - automation 1582 | - weblink 1583 | - updater 1584 | - group 1585 | - input_boolean 1586 | - input_number 1587 | - input_select 1588 | - media_player 1589 | - weather 1590 | - zone 1591 | entities: 1592 | - sun.sun 1593 | # purge_keep_days: 30 1594 | # purge_interval: 10 1595 | 1596 | -------------------------------------------------------------------------------- /ui-lovelace.yaml: -------------------------------------------------------------------------------- 1 | ## Lovelace UI ## 2 | resources: 3 | - url: /local/alarm_control_panel-card.js?v=2 4 | type: js 5 | - url: /local/thermostat-card.js?v=2 6 | type: module 7 | - url: /local/plan-coordinates.js?v=2 8 | type: js 9 | - url: /local/monster-card.js?v=2 10 | type: js 11 | - url: /local/gauge-card.js?v=2 12 | type: js 13 | - url: /local/audio-card.js?v=2 14 | type: js 15 | 16 | 17 | 18 | title: Adensville 19 | views: 20 | # The name of a view will be used as tab title. 21 | # Might be used for other things in the future. 22 | - title: Office 23 | icon: mdi:castle 24 | # Each view can have a different theme applied. Theme should be defined in the frontend. 25 | # The cards to show on this view. 26 | cards: 27 | # The entities card will take a list of entities and show their state. 28 | - type: entities 29 | # Title of the entities card 30 | title: Office 31 | # The entities here will be shown in the same order as specified. 32 | entities: 33 | - device_tracker.justin_iphone7 34 | - light.office_test_lights 35 | - switch.office_crown 36 | - switch.office_light 37 | - switch.office_wall 38 | - switch.office_fan 39 | - switch.office_lock 40 | - type: entity-filter 41 | entities: 42 | - device_tracker.jackson_iphone 43 | - device_tracker.janis7 44 | - device_tracker.justin_iphone7 45 | - device_tracker.zoes_ipod_touch 46 | - device_tracker.dawsons_ipod_touch 47 | state_filter: 48 | - home 49 | card: 50 | type: glance 51 | title: Who is Home? 52 | show_state: false 53 | show_name: false 54 | - type: entities 55 | entities: 56 | - climate.upstairs_ac 57 | - climate.upstairs_heat 58 | - switch.upstairs_ac 59 | - switch.upstairs_furnace 60 | - switch.upstairs_fan 61 | - type: entity-filter 62 | entities: 63 | - switch.back_porch 64 | - switch.boys_bathroom 65 | - switch.boys_shower 66 | - switch.front_porch 67 | - switch.garage_lights 68 | - switch.master_crown 69 | - switch.office_crown 70 | - switch.office_fan 71 | - switch.office_light 72 | - switch.office_wall 73 | - switch.side_porch 74 | - switch.taz_5 75 | - switch.theater 76 | - switch.toy_room 77 | - entity: switch.upstairs_hall 78 | name: Hall 79 | tap_action: toggle 80 | state_filter: 81 | - "on" 82 | card: 83 | type: glance 84 | column_width: 20% 85 | show_state: false 86 | - type: media-control 87 | entity: media_player.volumio_volumiohomelocal 88 | - type: custom:audio-card 89 | media_player: media_player.my_html5_speakers 90 | # setup: true 91 | devices: 92 | - 6fbc50-fbdc2c #my macbook 93 | - type: history-graph 94 | hours_to_show: 168 95 | refresh_interval: 3600 96 | entities: 97 | # - entity: sensor.drzzs_xbox 98 | # name: Xbox 99 | - sensor.work_week 100 | - type: map 101 | entities: 102 | - device_tracker.jackson_iphone 103 | - device_tracker.janis7 104 | - device_tracker.justin_iphone7 105 | - device_tracker.zoes_ipod_touch 106 | - device_tracker.dawsons_ipod_touch 107 | - zone.home 108 | - zone.work 109 | - type: weather-forecast 110 | entity: weather.dark_sky 111 | - type: custom:monster-card 112 | card: 113 | type: entities 114 | title: Lovely Beautifuls 115 | show_state: false 116 | column_width: 20% 117 | filter: 118 | include: 119 | - entity_id: "*girls*" 120 | exclude: 121 | - entity_id: "*BTN" 122 | - entity_id: "automation*" 123 | - type: custom:monster-card 124 | card: 125 | type: entities 126 | title: Strong Handsoms 127 | show_state: false 128 | column_width: 20% 129 | filter: 130 | include: 131 | - entity_id: "*boys*" 132 | - entity_id: "switch.10024200b4e62d51cd4b" 133 | exclude: 134 | - entity_id: "*BTN" 135 | - entity_id: "automation*" 136 | - type: custom:alarm_control_panel-card 137 | entity: alarm_control_panel.alarm 138 | title: Alarm System 139 | states: 140 | - arm_home 141 | - arm_away 142 | - type: entities 143 | title: Theater Room 144 | entities: 145 | - switch.theater 146 | - switch.tv 147 | - input_boolean.receiver 148 | - switch.volume 149 | - input_select.projector_input 150 | - media_player.theater 151 | - title: cameras 152 | icon: mdi:camera 153 | cards: 154 | - type: horizontal-stack 155 | cards: 156 | - type: picture-entity 157 | entity: switch.office_crown 158 | tap_action: toggle 159 | state_image: 160 | "on": /local/office.png 161 | "off": /local/office_off.png 162 | - type: picture-entity 163 | entity: switch.garage_lights 164 | tap_action: toggle 165 | camera_image: camera.garage 166 | - type: horizontal-stack 167 | cards: 168 | - type: custom:gauge-card 169 | title: Office Temp 170 | entity: sensor.blink_mountain_room_temperature 171 | scale: 40px 172 | min: 40 173 | max: 90 174 | severity: 175 | green: 50 176 | red: 80 177 | amber: 73 178 | 179 | - type: custom:gauge-card 180 | title: Toy Room Temp 181 | entity: sensor.blink_toy_room_temperature 182 | scale: 40px 183 | min: 40 184 | max: 90 185 | severity: 186 | green: 50 187 | red: 80 188 | amber: 73 189 | - type: custom:gauge-card 190 | title: Garage Temp 191 | entity: sensor.blink_garage_temperature 192 | scale: 40px 193 | min: 40 194 | max: 90 195 | severity: 196 | green: 50 197 | red: 80 198 | amber: 73 199 | - type: vertical-stack 200 | cards: 201 | - type: picture-glance 202 | image: /local/Rainbow.jpg 203 | title: Office 204 | entities: 205 | - device_tracker.justin_iphone7 206 | - entity: light.office_test_lights 207 | icon: mdi:football 208 | - entity: switch.office_crown 209 | icon: mdi:power 210 | - switch.office_light 211 | - switch.office_wall 212 | - switch.office_fan 213 | - switch.office_lock 214 | - type: iframe 215 | url: http://volumio-home.local/ 216 | aspect_ratio: 100% 217 | - title: floorplan 218 | icon: mdi:earth 219 | panel: true 220 | cards: 221 | - type: vertical-stack 222 | cards: 223 | - type: custom:plan-coordinates 224 | - type: picture-elements 225 | image: /local/HHC1.png 226 | elements: 227 | # - type: icon 228 | # tap_action: navigate 229 | # navigation_path: /lovelace/0 230 | # icon: mdi:death-star-variant 231 | # style: 232 | # top: 95% 233 | # left: 95% 234 | # color: cyan 235 | ############## Garage ############### 236 | - type: state-icon 237 | tap_action: toggle 238 | entity: switch.88800443bcddc2e42e95 239 | style: 240 | top: 36% 241 | left: 32% 242 | - type: image 243 | tap_action: toggle 244 | entity: switch.4336784084f3eb5d4b45 245 | state_image: 246 | "on": /local/fanY.gif 247 | "off": /local/fan.png 248 | style: 249 | top: 44% 250 | left: 24% 251 | width: 5% 252 | state_filter: 253 | "on": blur(2px) 254 | "off": hue-rotate(20deg) 255 | - type: image 256 | tap_action: toggle 257 | entity: switch.4336784084f3eb5cedea 258 | state_image: 259 | "on": /local/fanY.gif 260 | "off": /local/fan.png 261 | style: 262 | top: 40% 263 | left: 15% 264 | width: 5% 265 | state_filter: 266 | "on": blur(2px) 267 | "off": hue-rotate(20deg) 268 | - type: state-label 269 | entity: sensor.blink_garage_temperature 270 | style: 271 | top: 17% 272 | left: 25% 273 | font-weight: bold 274 | - type: state-icon 275 | tap_action: toggle 276 | entity: switch.side_porch 277 | style: 278 | top: 49% 279 | left: 20% 280 | - type: state-icon 281 | entity: binary_sensor.garage_fridge 282 | style: 283 | top: 44% 284 | left: 37% 285 | - type: state-icon 286 | entity: binary_sensor.garage_motion 287 | style: 288 | top: 43% 289 | left: 31% 290 | - type: state-icon 291 | tap_action: toggle 292 | entity: cover.double 293 | style: 294 | top: 20% 295 | left: 39% 296 | - type: state-icon 297 | tap_action: toggle 298 | entity: cover.test 299 | style: 300 | top: 23% 301 | left: 23% 302 | ############# Main Floor ############## 303 | - type: state-label 304 | entity: sensor.blink_piano_room_temperature 305 | style: 306 | top: 50% 307 | left: 53% 308 | font-weight: bold 309 | color: white 310 | - type: state-icon 311 | tap_action: toggle 312 | entity: switch.back_porch 313 | style: 314 | top: 82% 315 | left: 34% 316 | - type: state-icon 317 | tap_action: toggle 318 | entity: switch.front_porch 319 | style: 320 | top: 30% 321 | left: 62% 322 | - type: state-icon 323 | tap_action: toggle 324 | entity: switch.10024200b4e62d51d3d7 325 | style: 326 | top: 49% 327 | left: 44% 328 | - type: state-icon 329 | tap_action: toggle 330 | entity: switch.airfilter 331 | style: 332 | top: 48% 333 | left: 52% 334 | 335 | ############## Master Bedroom ############## 336 | - type: state-icon 337 | tap_action: toggle 338 | entity: switch.10024200b4e62d51d558 339 | style: 340 | top: 56% 341 | left: 74% 342 | - type: state-icon 343 | tap_action: toggle 344 | entity: switch.master_crown 345 | style: 346 | top: 93% 347 | left: 90% 348 | - type: image 349 | tap_action: toggle 350 | entity: switch.master_fan 351 | state_image: 352 | "on": /local/fanY.gif 353 | "off": /local/fan.png 354 | "unavailable": /local/fan.png 355 | style: 356 | top: 84% 357 | left: 87% 358 | width: 6% 359 | state_filter: 360 | "on": blur(2px) 361 | "off": hue-rotate(20deg) 362 | - type: state-icon 363 | tap_action: toggle 364 | entity: switch.master_light 365 | style: 366 | top: 82% 367 | left: 78% 368 | 369 | ########### 370 | ########### 371 | 372 | - title: Upstairs 373 | icon: mdi:home-heart 374 | panel: true 375 | cards: 376 | - type: vertical-stack 377 | cards: 378 | - type: custom:plan-coordinates 379 | - type: picture-elements 380 | image: /local/HHC_2b.png 381 | elements: 382 | ##### Toy Room ######## 383 | - type: image 384 | tap_action: toggle 385 | entity: switch.4336784084f3eb5d6215 386 | state_image: 387 | "on": /local/fanY.gif 388 | "off": /local/fan.png 389 | style: 390 | top: 13% 391 | left: 44% 392 | width: 4% 393 | state_filter: 394 | "on": blur(2px) 395 | "off": hue-rotate(20deg) 396 | - type: state-icon 397 | tap_action: toggle 398 | entity: switch.toy_room 399 | style: 400 | top: 27% 401 | left: 41% 402 | - type: state-label 403 | entity: sensor.blink_toy_room_temperature 404 | style: 405 | top: 14% 406 | left: 37% 407 | font-weight: bold 408 | - type: custom:thermostat-card 409 | entity: climate.toy_room_heat 410 | style: 411 | left: 53% 412 | top: 23% 413 | width: 13% 414 | ambient_temperature: sensor.blink_toy_room_temperature 415 | hightlight_tap: true 416 | no_card: true 417 | ##### Boys Room ######## 418 | - type: state-icon 419 | tap_action: toggle 420 | entity: switch.boys_bathroom_lock 421 | style: 422 | left: 47.5% 423 | top: 84.5% 424 | - type: image 425 | tap_action: toggle 426 | entity: switch.boys_fan 427 | state_image: 428 | "on": /local/fanY.gif 429 | "off": /local/fan.png 430 | "unavailable": /local/fan.png 431 | style: 432 | top: 48% 433 | left: 33% 434 | width: 5% 435 | state_filter: 436 | "on": blur(2px) 437 | "off": hue-rotate(20deg) 438 | - type: state-icon 439 | tap_action: toggle 440 | entity: switch.boys_fan_light 441 | style: 442 | top: 55% 443 | left: 33% 444 | - type: state-icon 445 | tap_action: toggle 446 | entity: switch.boys_light 447 | style: 448 | top: 47% 449 | left: 28% 450 | - type: state-icon 451 | tap_action: toggle 452 | entity: switch.10024200b4e62d51cd4b 453 | style: 454 | top: 82.5% 455 | left: 50.5% 456 | - type: state-icon 457 | tap_action: toggle 458 | entity: switch.boys_shower 459 | style: 460 | top: 90% 461 | left: 49% 462 | - type: state-icon 463 | tap_action: toggle 464 | entity: switch.boys_bathroom 465 | style: 466 | top: 77% 467 | left: 49% 468 | - type: state-label 469 | entity: sensor.boys_room_temp 470 | style: 471 | top: 37% 472 | left: 30% 473 | color: white 474 | font-weight: bold 475 | ##### Girls Room ######## 476 | - type: image 477 | tap_action: toggle 478 | entity: switch.girls_fan 479 | state_image: 480 | "on": /local/fanY.gif 481 | "off": /local/fan.png 482 | "unavailable": /local/fan.png 483 | style: 484 | top: 44% 485 | left: 60% 486 | width: 5% 487 | state_filter: 488 | "on": blur(2px) 489 | "off": hue-rotate(20deg) 490 | - type: state-icon 491 | tap_action: toggle 492 | entity: switch.girls_light 493 | style: 494 | top: 31% 495 | left: 54% 496 | - type: state-icon 497 | tap_action: toggle 498 | entity: switch.girls_wall 499 | style: 500 | top: 51% 501 | left: 60% 502 | - type: state-label 503 | entity: sensor.girls_room_temp 504 | style: 505 | top: 37% 506 | left: 60% 507 | color: white 508 | font-weight: bold 509 | ######### Hall ############ 510 | - type: state-icon 511 | tap_action: toggle 512 | entity: switch.upstairs_hall 513 | style: 514 | top: 61% 515 | left: 47% 516 | - type: state-label 517 | entity: sensor.upstairs_temp 518 | style: 519 | top: 53% 520 | left: 49% 521 | font-weight: bold 522 | - type: custom:thermostat-card 523 | entity: climate.upstairs_ac 524 | style: 525 | left: 63% 526 | top: 70% 527 | width: 15% 528 | ambient_temperature: sensor.average_upstairs_temp 529 | hightlight_tap: true 530 | no_card: true 531 | # - type: custom:thermostat-card 532 | # entity: climate.upstairs_heat 533 | # style: 534 | # left: 63% 535 | # top: 89% 536 | # width: 15% 537 | # ambient_temperature: sensor.average_upstairs_temp 538 | # hightlight_tap: true 539 | # no_card: true 540 | - type: custom:thermostat-card 541 | entity: climate.kids_bedroom_heat 542 | style: 543 | left: 20% 544 | top: 65% 545 | width: 13% 546 | ambient_temperature: sensor.average_kids_temp 547 | hightlight_tap: true 548 | no_card: true 549 | ########### Office ################# 550 | - type: state-label 551 | entity: sensor.blink_mountain_room_temperature 552 | style: 553 | top: 84% 554 | left: 24% 555 | color: white 556 | font-weight: bold 557 | - type: state-icon 558 | entity: sensor.printing_status 559 | style: 560 | top: 88% 561 | left: 43% 562 | - type: state-icon 563 | entity: sensor.octoprint_current_state 564 | style: 565 | top: 92% 566 | left: 43% 567 | - type: state-icon 568 | tap_action: toggle 569 | entity: switch.office_lock 570 | style: 571 | top: 73% 572 | left: 37% 573 | - type: state-icon 574 | tap_action: toggle 575 | entity: switch.office_light 576 | style: 577 | top: 78% 578 | left: 32% 579 | - type: state-icon 580 | tap_action: toggle 581 | entity: switch.office_crown 582 | style: 583 | top: 92% 584 | left: 26% 585 | - type: image 586 | tap_action: toggle 587 | entity: switch.office_fan 588 | state_image: 589 | "on": /local/fanY.gif 590 | "off": /local/fan.png 591 | style: 592 | top: 85% 593 | left: 32% 594 | width: 6% 595 | state_filter: 596 | "on": blur(2px) 597 | "off": hue-rotate(20deg) 598 | # - type: image 599 | # entity: light.office_test_lights 600 | # tap_action: call-service 601 | # service: input_select.select_option 602 | # service_data: 603 | # entity_id: input_select.office_test_led_effect 604 | # option: Hail 605 | # state_image: 606 | # "on": /local/hail_1.png 607 | # "off": /local/hail_2.png 608 | # style: 609 | # left: 56% 610 | # top: 90% 611 | # width: 4% 612 | - type: image 613 | entity: light.office_test_lights 614 | tap_action: call-service 615 | service: input_select.select_option 616 | service_data: 617 | entity_id: input_select.office_test_led_effect 618 | option: Hail 619 | state_image: 620 | "on": /local/hail_1.png 621 | "off": /local/hail_2.png 622 | style: 623 | left: 56% 624 | top: 90% 625 | width: 4% 626 | - type: image 627 | entity: device_tracker.justin_iphone7 628 | style: 629 | left: 31% 630 | top: 92% 631 | width: 5% 632 | state_image: 633 | "Home": /local/DrZzs_Emoji.png 634 | "Work": /local/money-bag.png 635 | "Away": /local/me_car.png 636 | 637 | 638 | 639 | 640 | 641 | 642 | 643 | 644 | 645 | 646 | 647 | 648 | 649 | 650 | 651 | 652 | 653 | 654 | 655 | --------------------------------------------------------------------------------