Skip to content

Controll Pannel

Bellavista edited this page Apr 14, 2024 · 2 revisions

I use this controll pannell you are free to do what you want

image

type: entities
entities:
  - entity: sensor.honeyguaridan_s56_battery_level
    name: LIVELLO BATTERIA
  - entity: sensor.honeyguaridan_s56_error_code
    name: CODICE ERRORE
  - type: custom:fold-entity-row
    sync_issues: ignore
    padding: 2
    style:
      .: |
        #measure > div:nth-child(n+1) {
          margin-left: 0px;
          margin-right: 0px;
          margin-top: -5px;
          margin-bottom: 0px;
         }
    head:
      type: section
      label: IMPOSTAZIONI
    entities:
      - entity: number.honeyguaridan_s56_manual_feeding
        name: NUMERO DOSI
      - entity: number.honeyguaridan_s56_meal_log
        name: ULTIMA DOSE
        secondary_info: last-updated
      - entity: number.honeyguaridan_s56_vocal_message
        name: RIPETIZIONE MESSAGGI
      - entity: switch.honeyguaridan_s56_slow_feeding
        name: PAUSA TRA SOMMINISTRAZIONI
      - entity: switch.honeyguaridan_s56_hour_12_24
        name: ORARIO 12/24
      - entity: select.honeyguaridan_s56_app_style
        name: STILE APP
  - type: custom:fold-entity-row
    sync_issues: ignore
    padding: 2
    style:
      .: |
        #measure > div:nth-child(n+1) {
          margin-left: 0px;
          margin-right: 0px;
          margin-top: -5px;
          margin-bottom: 0px;
         }
    head:
      type: section
      label: CODICI PLANNING
    entities:
      - entity: sensor.honeyguaridan_s56_planning
        name: DA APP
        secondary_info: last-changed
      - entity: sensor.gatti_meal_plan_to_app
        name: DA LOCALE
        secondary_info: last-changed
title: INFO DISTRIBUTORE
show_header_toggle: false

image

type: entities
entities:
  - entity: input_datetime.gatti_timer_2
    type: custom:multiple-entity-row
    show_state: false
    show_icon: true
    state_color: true
    name: ATTIVO
    secondary_info: last-changed
    entities:
      - entity: input_boolean.gatti_timer_1_attiva
        name: TIMER 1
        toggle: true
      - entity: input_boolean.gatti_timer_2_attiva
        name: TIMER 2
        toggle: true
      - entity: input_boolean.gatti_timer_3_attiva
        name: TIMER 3
        toggle: true
      - entity: input_boolean.gatti_timer_4_attiva
        name: TIMER 4
        toggle: true
      - entity: input_boolean.gatti_timer_5_attiva
        name: TIMER 5
        toggle: true
      - entity: input_boolean.gatti_timer_6_attiva
        name: TIMER 6
        toggle: true
    card_mod:
      style:
        hui-generic-entity-row:
          $: |
            state-badge  {
              display: true;
              margin-left: -10px;
              margin-right: 0px;
              margin-top: 0px;
              margin-bottom: -10px;
              }
            .info.pointer {
              text-overflow: unset !important;
              white-space: unset !important;
              font-size: 12px;
              line-height: 1.2;
              text-align: left;
              margin-left: 5px;
              margin-right: 5px;
              margin-top: 0px;
              margin-bottom: 0px;
            }
            .info.pointer .secondary {
               font-size: 10px;
            }
          .: |
            div.entity:nth-child(n+1) {
              line-height: 1.2;
              font-size: 12px;
              margin-left: 0px;
              margin-right: 0px;
              margin-top: 0px;
              margin-bottom: -5px;
             }
            div.entity:nth-child(n+1) span {
              font-size: 9px;
            }
            div.entity:nth-child(n+1) div {
              font-size: 11px;
              line-height: 1.2;
              margin-left: -4px;
              margin-right: 0px;
              margin-top: -5px;
              margin-bottom: 0px;
             }
  - entity: input_datetime.gatti_timer_1
    type: custom:multiple-entity-row
    show_state: false
    show_icon: true
    state_color: true
    name: PLANNING ORA
    secondary_info: last-changed
    entities:
      - entity: input_datetime.gatti_timer_1
        name: []
      - entity: input_datetime.gatti_timer_2
        name: []
      - entity: input_datetime.gatti_timer_3
        name: []
      - entity: input_datetime.gatti_timer_4
        name: []
      - entity: input_datetime.gatti_timer_5
        name: []
      - entity: input_datetime.gatti_timer_6
        name: []
    card_mod:
      style:
        hui-generic-entity-row:
          $: |
            state-badge  {
              display: true;
              margin-left: -10px;
              margin-right: 0px;
              margin-top: 0px;
              margin-bottom: 0px;
              }
            .info.pointer {
              text-overflow: unset !important;
              white-space: unset !important;
              font-size: 12px;
              line-height: 1.2;
              text-align: left;
              margin-left: 5px;
              margin-right: 5px;
              margin-top: 0px;
              margin-bottom: 0px;
            }
            .info.pointer .secondary {
               font-size: 10px;
            }
          .: |
            div.entity:nth-child(n+1) {
              width: 42px;
              line-height: 1.2;
              font-size: 12px;
              margin-left: 0px;
              margin-right: 0px;
              margin-top: 0px;
              margin-bottom: 0px;
             }
            div.entity:nth-child(n+1) span {
              font-size: 11px;
            }
            div.entity:nth-child(n+1) div {
              font-size: 12px;
              line-height: 1.2;
              margin-left: 0px;
              margin-right: 0px;
              margin-top: 0px;
              margin-bottom: 0px;
             }
  - entity: input_number.gatti_timer_1_porzione_cibo
    type: custom:multiple-entity-row
    show_state: false
    show_icon: true
    state_color: true
    name: PORZIONI CIBO
    secondary_info: last-changed
    entities:
      - entity: input_number.gatti_timer_1_porzione_cibo
        name: []
        format: precision0
      - entity: input_number.gatti_timer_2_porzione_cibo
        name: []
        format: precision0
      - entity: input_number.gatti_timer_3_porzione_cibo
        name: []
        format: precision0
      - entity: input_number.gatti_timer_4_porzione_cibo
        name: []
        format: precision0
      - entity: input_number.gatti_timer_5_porzione_cibo
        name: []
        format: precision0
      - entity: input_number.gatti_timer_6_porzione_cibo
        name: []
        format: precision0
    card_mod:
      style:
        hui-generic-entity-row:
          $: |
            state-badge  {
              display: true;
              margin-left: -10px;
              margin-right: 0px;
              margin-top: -20px;
              margin-bottom: -10px;
              }
            .info.pointer {
              text-overflow: unset !important;
              white-space: unset !important;
              font-size: 12px;
              line-height: 1.2;
              text-align: left;
              margin-left: 5px;
              margin-right: 5px;
              margin-top: 0px;
              margin-bottom: 0px;
            }
            .info.pointer .secondary {
               font-size: 10px;
            }
          .: |
            div.entity:nth-child(n+1) {
              width: 42px;
              line-height: 1.2;
              font-size: 12px;
              margin-left: 0px;
              margin-right: 0px;
              margin-top: 0px;
              margin-bottom: 0px;
             }
            div.entity:nth-child(n+1) span {
              font-size: 11px;
            }
            div.entity:nth-child(n+1) div {
              font-size: 12px;
              line-height: 1.2;
              margin-left: 0px;
              margin-right: 0px;
              margin-top: 0px;
              margin-bottom: 0px;
             }
card_mod:
  style: |
    ha-card {
      padding-top: 1px;
      padding-right: 5px;
      padding-bottom: 1px;
      padding-left: 5px;
      font-size: 11px;
    }
    .card-content {
      padding-top: 1px;
      padding-right: 5px;
      padding-bottom: 1px;
      padding-left: 5px;
    }
    .card-content div {
      margin-top: 0px !important;
      margin-bottom: 0px  !important;
      }

Clone this wiki locally