Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scripts til styring af Projektor, forstærker, Intel nuc osv fra tablet.
- alias: Tænd og se DR
- sequence:
- - action: switch.turn_on
- target:
- entity_id: switch.mediecenter
- data: {}
- - action: button.press
- target:
- entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
- data: {}
- - action: button.press
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
- - wait_for_trigger:
- - trigger: state
- entity_id:
- - sensor.mediestation_processactive
- to: "1"
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_epson_pc_input_ir_led_1
- - delay:
- hours: 0
- minutes: 0
- seconds: 2
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.mediestation_drtv
- - action: scene.turn_on
- metadata: {}
- data: {}
- target:
- entity_id: scene.dagligstue_2_film
- mode: restart
- alias: Tænd og se Netflix
- sequence:
- - action: switch.turn_on
- target:
- entity_id: switch.mediecenter
- data: {}
- - action: button.press
- target:
- entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
- data: {}
- - action: button.press
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
- - wait_for_trigger:
- - trigger: state
- entity_id:
- - sensor.mediestation_processactive
- to: "1"
- - delay:
- hours: 0
- minutes: 0
- seconds: 2
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.mediestation_netflix
- - action: scene.turn_on
- metadata: {}
- data: {}
- target:
- entity_id: scene.dagligstue_2_film
- mode: restart
- alias: Tænd og se Disney +
- sequence:
- - action: switch.turn_on
- target:
- entity_id: switch.mediecenter
- data: {}
- - action: button.press
- target:
- entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
- data: {}
- - action: button.press
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
- - wait_for_trigger:
- - trigger: state
- entity_id:
- - sensor.mediestation_processactive
- to: "1"
- - delay:
- hours: 0
- minutes: 0
- seconds: 2
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.mediestation_disney
- - action: scene.turn_on
- metadata: {}
- data: {}
- target:
- entity_id: scene.dagligstue_2_film
- mode: restart
- alias: Tænd og maximer Spotify
- sequence:
- - action: switch.turn_on
- target:
- entity_id: switch.mediecenter
- data: {}
- - action: button.press
- target:
- entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
- data: {}
- - action: button.press
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
- - wait_for_trigger:
- - trigger: state
- entity_id:
- - sensor.mediestation_processactive
- to: "1"
- - delay:
- hours: 0
- minutes: 0
- seconds: 2
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.mediestation_sendwindowtofront
- - action: scene.turn_on
- metadata: {}
- data: {}
- target:
- entity_id: scene.dagligstue_2_film
- mode: restart
- alias: Spil wii
- sequence:
- - action: button.press
- target:
- entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
- data: {}
- - action: button.press
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
- - delay:
- hours: 0
- minutes: 0
- seconds: 35
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_epson_video_input_ir_led_1
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
- mode: restart
- alias: Tænd og se DR Fra Wii
- sequence:
- - action: switch.turn_on
- target:
- entity_id: switch.mediecenter
- data: {}
- - action: button.press
- target:
- entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
- data: {}
- enabled: true
- - delay:
- hours: 0
- minutes: 0
- seconds: 2
- milliseconds: 0
- - action: button.press
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
- enabled: true
- - wait_for_trigger:
- - trigger: state
- entity_id:
- - sensor.mediestation_processactive
- to: "1"
- timeout:
- hours: 0
- minutes: 0
- seconds: 0
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_epson_pc_input_ir_led_1
- enabled: true
- - delay:
- hours: 0
- minutes: 0
- seconds: 2
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
- enabled: true
- - delay:
- hours: 0
- minutes: 0
- seconds: 3
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
- enabled: true
- - delay:
- hours: 0
- minutes: 0
- seconds: 3
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
- enabled: true
- - delay:
- hours: 0
- minutes: 0
- seconds: 3
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
- enabled: true
- - delay:
- hours: 0
- minutes: 0
- seconds: 2
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.mediestation_drtv
- enabled: true
- - action: scene.turn_on
- metadata: {}
- data: {}
- target:
- entity_id: scene.dagligstue_2_film
- mode: restart
- alias: Tænd og se Disney+ Fra Wii
- sequence:
- - action: switch.turn_on
- target:
- entity_id: switch.mediecenter
- data: {}
- - action: button.press
- target:
- entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
- data: {}
- enabled: true
- - delay:
- hours: 0
- minutes: 0
- seconds: 2
- milliseconds: 0
- - action: button.press
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
- enabled: true
- - wait_for_trigger:
- - trigger: state
- entity_id:
- - sensor.mediestation_processactive
- to: "1"
- timeout:
- hours: 0
- minutes: 0
- seconds: 0
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_epson_pc_input_ir_led_1
- enabled: true
- - delay:
- hours: 0
- minutes: 0
- seconds: 2
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
- enabled: true
- - delay:
- hours: 0
- minutes: 0
- seconds: 3
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
- enabled: true
- - delay:
- hours: 0
- minutes: 0
- seconds: 3
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
- enabled: true
- - delay:
- hours: 0
- minutes: 0
- seconds: 3
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
- enabled: true
- - delay:
- hours: 0
- minutes: 0
- seconds: 2
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- enabled: true
- target:
- entity_id: button.mediestation_disney
- - action: scene.turn_on
- metadata: {}
- data: {}
- target:
- entity_id: scene.dagligstue_2_film
- mode: restart
- icon: phu:disney-plus
- alias: Tænd og se Netflix Fra Wii
- sequence:
- - action: switch.turn_on
- target:
- entity_id: switch.mediecenter
- data: {}
- - action: button.press
- target:
- entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
- data: {}
- enabled: true
- - delay:
- hours: 0
- minutes: 0
- seconds: 2
- milliseconds: 0
- - action: button.press
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
- enabled: true
- - wait_for_trigger:
- - trigger: state
- entity_id:
- - sensor.mediestation_processactive
- to: "1"
- timeout:
- hours: 0
- minutes: 0
- seconds: 0
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_epson_pc_input_ir_led_1
- enabled: true
- - delay:
- hours: 0
- minutes: 0
- seconds: 2
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
- enabled: true
- - delay:
- hours: 0
- minutes: 0
- seconds: 3
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
- enabled: true
- - delay:
- hours: 0
- minutes: 0
- seconds: 3
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
- enabled: true
- - delay:
- hours: 0
- minutes: 0
- seconds: 3
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
- enabled: true
- - delay:
- hours: 0
- minutes: 0
- seconds: 2
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- enabled: true
- target:
- entity_id: button.mediestation_netflix
- - action: scene.turn_on
- metadata: {}
- data: {}
- target:
- entity_id: scene.dagligstue_2_film
- mode: restart
- icon: phu:netflix
- alias: Tænd og spil Spotify Fra Wii
- sequence:
- - action: switch.turn_on
- target:
- entity_id: switch.mediecenter
- data: {}
- - action: button.press
- target:
- entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
- data: {}
- - delay:
- hours: 0
- minutes: 0
- seconds: 1
- milliseconds: 0
- - action: button.press
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
- - wait_for_trigger:
- - trigger: state
- entity_id:
- - sensor.mediestation_processactive
- to: "1"
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_epson_pc_input_ir_led_1
- - delay:
- hours: 0
- minutes: 0
- seconds: 1
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
- - delay:
- hours: 0
- minutes: 0
- seconds: 3
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
- - delay:
- hours: 0
- minutes: 0
- seconds: 3
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
- - delay:
- hours: 0
- minutes: 0
- seconds: 3
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
- - delay:
- hours: 0
- minutes: 0
- seconds: 2
- milliseconds: 0
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.mediestation_sendwindowtofront
- mode: restart
- alias: Spil wii fra wii
- sequence:
- - action: button.press
- target:
- entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
- data: {}
- - action: button.press
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
- mode: restart
- icon: mdi:nintendo-wii
- alias: Sluk TV
- sequence:
- - action: button.press
- metadata: {}
- data: {}
- target:
- entity_id: button.mediestation_custom
- - delay:
- hours: 0
- minutes: 0
- seconds: 1
- milliseconds: 0
- - action: switch.turn_off
- target:
- entity_id:
- - switch.mediecenter
- data: {}
- - action: button.press
- target:
- entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
- data: {}
- - action: button.press
- data: {}
- target:
- entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
- - delay:
- hours: 0
- minutes: 0
- seconds: 3
- milliseconds: 0
- - action: button.press
- target:
- entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
- data: {}
- - action: scene.turn_on
- metadata: {}
- data: {}
- target:
- entity_id: scene.dagligstue_1_aften
- mode: restart
- icon: mdi:power-standby
- Dashboard på tablet:
- square: true
- type: grid
- cards:
- - type: horizontal-stack
- cards:
- - type: markdown
- content: >
- {{states('sensor.time') and as_timestamp(now()) |
- timestamp_custom('%H:%M')}}
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- text-align: center;
- padding: 20px;
- font-size: 150px;
- font-family: Bungee Spice;
- color: red;
- margin-top: 10px;
- }
- - square: true
- type: grid
- cards:
- - type: horizontal-stack
- cards:
- - type: conditional
- conditions:
- - condition: state
- entity: media_player.mediestation
- state: playing
- card:
- type: media-control
- entity: media_player.mediestation
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- height: 185px !important;
- margin-top: -1177px;
- }
- columns: 1
- - type: vertical-stack
- cards:
- - type: grid
- cards:
- - square: true
- type: grid
- cards:
- - type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se DR
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/DR.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_dr
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se Disney +
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/DR.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_dr
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se Netflix
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/DR.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_dr
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og maximer Spotify
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/DR.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_dr
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se DR Fra Wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/DR.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_dr_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se Disney + Fra Wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/DR.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_dr_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se Netflix + Fra Wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/DR.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_dr_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og spil Spotify Fra Wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/DR.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_dr_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Spil wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/DR.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_dr_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Spil wii fra wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/DR.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_dr_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se DR
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Disney+.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_disney
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se Disney +
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Disney+.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_disney
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se Netflix
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Disney+.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_disney
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og maximer Spotify
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Disney+.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_disney
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se DR Fra Wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Disney+.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_disney_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se Disney + Fra Wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Disney+.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_disney_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se Netflix + Fra Wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Disney+.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_disney_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og spil Spotify Fra Wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Disney+.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_disney_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Spil wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Disney+.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_disney_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Spil wii fra wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Disney+.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_disney_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se DR
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Netflix2.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_netflix
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se Disney +
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Netflix2.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_netflix
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se Netflix
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Netflix2.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_netflix
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og maximer Spotify
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Netflix2.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_netflix
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se DR Fra Wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Netflix2.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_netflix_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se Disney + Fra Wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Netflix2.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_netflix_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se Netflix + Fra Wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Netflix2.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_netflix_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og spil Spotify Fra Wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Netflix2.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_netflix_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Spil wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Netflix2.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_netflix_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Spil wii fra wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Netflix2.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_se_netflix_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- - type: horizontal-stack
- cards:
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se DR
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Spotify.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_maximer_spotify
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2205px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se Disney +
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Spotify.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_maximer_spotify
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2205px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se Netflix
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Spotify.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_maximer_spotify
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2205px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og maximer Spotify
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Spotify.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_maximer_spotify
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2205px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se DR Fra Wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Spotify.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_spil_spotify_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2205px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se Disney + Fra Wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Spotify.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_spil_spotify_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2205px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se Netflix + Fra Wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Spotify.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_spil_spotify_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2205px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og spil Spotify Fra Wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Spotify.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_spil_spotify_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2205px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Spil wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Spotify.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_spil_spotify_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2205px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Spil wii fra wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/Spotify.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.tand_og_spil_spotify_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2205px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se DR
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/wii.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.spil_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2205px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se Disney +
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/wii.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.spil_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2205px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se Netflix
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/wii.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.spil_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2205px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og maximer Spotify
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/wii.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.spil_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2205px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se DR Fra Wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/wii.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.spil_wii_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2205px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se Disney + Fra Wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/wii.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.spil_wii_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2205px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og se Netflix + Fra Wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/wii.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.spil_wii_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2205px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Tænd og spil Spotify Fra Wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/wii.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.spil_wii_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2205px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Spil wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/wii.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.spil_wii_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2205px;
- }
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.sidst_brugt_script
- state: Spil wii fra wii
- card:
- type: custom:button-card
- entity_picture: /local/Dashboard/remote/wii.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: script.turn_on
- service_data:
- entity_id: script.spil_wii_fra_wii
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2205px;
- }
- - type: custom:button-card
- entity_picture: /local/Dashboard/remote/Power1.png
- show_entity_picture: true
- show_name: false
- entity: script.sluk_tv
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2205px;
- }
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity_picture: /local/Dashboard/remote/Vol-.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: button.press
- service_data:
- entity_id: >-
- button.ir_transmitter_receiver_harman_kardon_volume_down_ir_led_1
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2135px;
- }
- - type: custom:button-card
- entity_picture: /local/Dashboard/remote/Vol+.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: button.press
- service_data:
- entity_id: >-
- button.ir_transmitter_receiver_harman_kardon_volume_up_ir_led_1
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2135px;
- }
- - type: custom:button-card
- entity_picture: /local/Dashboard/remote/mute.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: button.press
- service_data:
- entity_id: >-
- button.ir_transmitter_receiver_harman_kardon_mute_ir_led_1
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2135px;
- }
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity_picture: /local/Dashboard/remote/Input.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: button.press
- service_data:
- entity_id: >-
- button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2065px;
- }
- - type: custom:button-card
- entity_picture: /local/Dashboard/remote/Surround.png
- show_entity_picture: true
- show_name: false
- tap_action:
- action: call-service
- service: button.press
- service_data:
- entity_id: >-
- button.ir_transmitter_receiver_harman_kardon_surround_ir_led_1
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2065px;
- }
- - type: picture
- image: /local/Dashboard/1/blank.png
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2065px;
- }
- columns: 1
- - type: custom:week-planner-card
- calendars:
- - entity: calendar.t_xxxxxx_gmail_com
- - entity: calendar.famxxxxxxxxxxxxx_gmail_com
- days: "7"
- startingDay: monday
- startingDayOffset: 0
- hideWeekend: false
- noCardBackground: true
- compact: true
- weather:
- showCondition: true
- showTemperature: true
- showLowTemperature: false
- useTwiceDaily: false
- locale: da
- showLocation: false
- hidePastEvents: false
- hideDaysWithoutEvents: false
- hideTodayWithoutEvents: false
- combineSimilarEvents: false
- showLegend: false
- texts:
- today: null
- tomorrow: null
- noEvents: Ingen aftaler idag
- sunday: Søndag
- monday: Mandag
- tuesday: Tirsdag
- wednesday: Onsdag
- thursday: Torsdag
- friday: Fredag
- saturday: Lørdag
- dayFormat: >-
- '<span
- style="font size=1px; class="number">'cccc'</span> '
- '<span style="color:#dff705; font-size:17px; font-weight:bold;
- class="number">'d.'</span> ' '<span style="color:#dff705;
- font-size:12px; font-weight:bold;
- class="number">'LLLL'</span> '
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- overflow: hidden;
- .container .date {
- display: flex;
- flex-direction: column;
- }
- .day.today {
- .event.past {
- color: green;
- opacity: .3;
- font-weight: thin;
- font-size: 8px !important
- font-weight: bold;
- }
- .event.ongoing {
- color: #f50ced;
- font-size: 17px !important;
- font-weight: bold;
- }
- .event.future {
- color: #f70505;
- font-size: 10px !important;
- font-weight: bold;
- }
- }
- .day.future {
- .event.future {
- font-size: 15px !important;
- color: #f70505;
- font-weight: bold;
- }
- .event.fullday {
- color: #05dff7;
- font-size: 16px !important;
- font-weight: bold;
- }
- }
- - type: todo-list
- entity: todo.liste_tilhorende_thomas
- card_mod:
- style: |
- ha-card {
- background: none;
- border: none;
- margin-top: -2275px;
- }
- columns: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement