Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: entities
- entities:
- - name: Sensor
- entity: sensor.apc_carica_batterie
- tap_action:
- action: none
- card_mod:
- style:
- hui-generic-entity-row:
- $: |
- state-badge {
- color: goldenrod;
- }
- .info.text-content {
- font-size: 20px;
- color: gold !important;
- }
- .state {
- font-size: 18px;
- color: gold !important;
- }
- - entity: binary_sensor.pc_fabio
- name: Binary Sensor
- card_mod:
- style:
- hui-generic-entity-row:
- $: |
- state-badge {
- color: firebrick;
- }
- .info.text-content {
- font-size: 20px;
- color: lightcoral !important;
- }
- .state {
- font-size: 18px;
- color: lightsalmon !important;
- }
- - entity: switch.pc_fabio
- name: Switch
- card_mod:
- style:
- hui-generic-entity-row:
- $: |
- state-badge {
- color: deepskyblue;
- }
- .info.text-content {
- font-size: 20px;
- color: deepskyblue !important;
- }
- ha-entity-toggle:
- $: |
- ha-switch {
- --switch-checked-button-color: deepskyblue;
- --switch-checked-track-color: deepskyblue;
- }
- - entity: button.nas2_shutdown
- name: Button
- card_mod:
- style:
- mwc-button:
- $: |
- button {
- font-size: 14px !important;
- color: blue !important;
- }
- hui-generic-entity-row:
- $: |
- state-badge {
- color: tomato;
- }
- .info.text-content {
- font-size: 20px;
- color: tomato !important;
- }
- show_header_toggle: true
- title: Entities Colors
- card_mod:
- style: |
- ha-card .card-header .name {
- color: red;
- text-align: left;
- font-size: 35px;
- font-weight: 500;
- letter-spacing: 3px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement