Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: custom:mod-card
- card:
- type: vertical-stack
- cards:
- - type: custom:mini-graph-card
- font_size: 70
- lower_bound: 0
- show:
- name: false
- state: false
- icon: false
- points_per_hour: 12
- hours_to_show: 6
- card_mod:
- style: |
- .graph__legend__item:nth-of-type(1) .ellipsis:after {
- content: ": {{states('sensor.pc_audio_default_device_volume')}}";
- }
- .graph__legend__item:nth-of-type(2) .ellipsis:after {
- content: ": {{states('sensor.pc_audio_peak_volume')}}";
- }
- entities:
- - entity: sensor.pc
- name: Set Volume
- - entity: sensor.pc_audio_peak_volume
- name: Actual Volume
- - type: conditional
- conditions:
- - condition: user
- users:
- - abcdef0123456789
- card:
- type: entities
- entities:
- - entity: switch.pc_admin_controls
- toggle: true
- - type: conditional
- conditions:
- - entity: switch.pc_admin_controls
- state_not: "off"
- card:
- type: grid
- columns: 4
- square: false
- cards:
- - type: button
- entity: button.pc_keypress_esc
- name: Esc
- icon: mdi:keyboard-esc
- tap_action:
- action: call-service
- service: button.press
- data:
- entity_id: button.pc_keypress_esc
- - type: button
- entity: button.pc_ctrlf4
- name: Ctrl+F4
- icon: mdi:tab-remove
- tap_action:
- action: call-service
- service: button.press
- data:
- entity_id: button.pc_ctrlf4
- - type: button
- entity: button.pc_altf4
- name: Alt+F4
- icon: mdi:window-close
- tap_action:
- action: call-service
- service: button.press
- data:
- entity_id: button.pc_altf4
- - type: button
- entity: button.pc_bash_lock
- name: Lock
- tap_action:
- action: call-service
- service: button.press
- data:
- entity_id: button.pc_bash_lock
- - type: horizontal-stack
- cards:
- - type: custom:mini-graph-card
- card_mod:
- style:
- .header.flex .icon ha-icon $: |
- ha-svg-icon {
- fill: deepskyblue;
- }
- .: |
- ha-card .states.flex::after {
- content: "{{ states('sensor.pc_temperature_coretemp_package_id_0') | int }}°C";
- }
- font_size: 70
- lower_bound: 0
- icon: si:intel
- entities:
- - entity: sensor.pc_cpu_usage
- name: CPU
- color: deepskyblue
- - type: custom:mini-graph-card
- card_mod:
- style:
- .header.flex .icon ha-icon $: |
- ha-svg-icon {
- fill: lawngreen;
- }
- .: |
- ha-card .states.flex::after {
- content: "{{ states('sensor.pc_temperature_amdgpu_edge') }}°C";
- }
- font_size: 70
- lower_bound: 0
- icon: si:amd
- entities:
- - entity: sensor.pc_gpu_amd_0
- name: GPU
- color: lawngreen
- - type: custom:mini-graph-card
- card_mod:
- style:
- .header.flex .icon ha-icon $: |
- ha-svg-icon {
- fill: lightgrey;
- }
- .: |
- ha-card .states.flex::after {
- content: "16GB";
- }
- font_size: 70
- lower_bound: 0
- decimals: 0
- icon: si:corsair
- entities:
- - entity: sensor.pc_memory_usage
- name: RAM
- color: lightgrey
- - type: horizontal-stack
- cards:
- - type: custom:mini-graph-card
- card_mod:
- style:
- .header.flex .icon ha-icon $: |
- ha-svg-icon {
- fill: #1528A0;
- }
- .: |
- ha-card {
- padding: 0px !important;
- }
- .header.flex {
- padding-bottom: 0px;
- padding-top: 16px;
- }
- .states.flex {
- padding-bottom: 0px;
- }
- font_size: 70
- line_width: 3
- lower_bound: 0
- upper_bound: 100
- entities:
- - entity: sensor.pc_disk_dev_nvme0n1p1
- name: System NVME
- color: "#1528A0"
- - entity: sensor.pc_disk_io_nvme0n1
- name: I/O
- - type: custom:mini-graph-card
- card_mod:
- style:
- .header.flex .icon ha-icon $: |
- ha-svg-icon {
- fill: #00529F;
- }
- .: |
- ha-card {
- padding: 0px !important;
- }
- .header.flex {
- padding-bottom: 0px;
- padding-top: 16px;
- }
- .states.flex {
- padding-bottom: 0px;
- }
- font_size: 70
- line_width: 3
- lower_bound: 0
- upper_bound: 100
- icon: si:westerndigital
- entities:
- - entity: sensor.pc_disk_dev_sda1
- name: Games HDD
- color: "#00529F"
- - entity: sensor.pc_disk_io_sda
- name: I/O
- - type: conditional
- conditions:
- - entity: switch.pc_admin_controls
- state_not: "off"
- card:
- type: entities
- entities:
- - entity: input_boolean.pc_power_options
- name: Power Options
- - type: conditional
- conditions:
- - entity: input_boolean.pc_power_options
- state_not: "off"
- card:
- type: grid
- columns: 4
- square: false
- cards:
- - type: button
- entity: button.pc_bash_log_out
- name: Log Out
- tap_action:
- action: call-service
- service: button.press
- data:
- entity_id: button.pc_bash_log_out
- - type: button
- entity: button.pc_suspend
- name: Suspend
- icon: mdi:power-sleep
- tap_action:
- action: call-service
- service: button.press
- data:
- entity_id: button.pc_suspend
- - type: button
- entity: button.pc_restart
- name: Restart
- icon: mdi:restart
- tap_action:
- action: call-service
- service: button.press
- data:
- entity_id: button.pc_restart
- - type: conditional
- conditions:
- - entity: switch.pc
- state_not: "off"
- card:
- type: button
- entity: switch.pc
- name: Shutdown
- icon: mdi:power-off
- tap_action:
- action: call-service
- service: switch.toggle
- data:
- entity_id: switch.pc
- - type: conditional
- conditions:
- - entity: switch.pc
- state_not: "on"
- card:
- type: button
- entity: switch.pc
- name: Start Up
- icon: mdi:power-on
- tap_action:
- action: call-service
- service: switch.toggle
- data:
- entity_id: switch.pc
- - type: custom:mod-card
- card_mod:
- style:
- hui-horizontal-stack-card$: |
- hui-entity-card {
- width: 180%;
- flex: auto !important;
- }
- hui-button-card {
- flex: auto !important;
- }
- card:
- type: horizontal-stack
- cards:
- - type: entity
- entity: sensor.pc_active_window
- name: Active Window
- card_mod:
- style: |
- .value {
- font-size: 12px !important;
- }
- .info {
- text-overflow: unset !important;
- white-space: unset !important;
- padding: 0px 16px 8px !important;
- line-height: 12px !important;
- }
- - type: button
- entity: button.pc_cyclewindows
- show_name: false
- icon: mdi:window-restore
- tap_action:
- action: call-service
- service: button.press
- data:
- entity_id: button.pc_cyclewindows
- - type: custom:mini-media-player
- entity: media_player.mqtt_media_player_pc_media_player
- name: Media
- artwork: cover
- hide:
- icon: true
- power: true
- jump: false
- shortcuts:
- columns: 3
- hide_when_off: true
- buttons:
- - name: Fullscreen
- type: service
- icon: mdi:fullscreen
- id: button.press
- data:
- entity_id: button.pc_ytfullscr
- - name: Captions
- type: service
- icon: mdi:closed-caption
- id: button.press
- data:
- entity_id: button.pc_ytsubs
- - name: Tidal
- type: service
- icon: si:tidal
- id: button.press
- data:
- entity_id: button.pc_exe_tidal
- - type: conditional
- conditions:
- - entity: select.pc_steam_game_select
- state_not:
- - Stopped
- - unavailable
- card:
- type: entity
- entity: select.pc_steam_game_select
- name: Now Playing on Steam
Advertisement
Add Comment
Please, Sign In to add comment