Logo Pastebin.fr
Pastebin

Retrouvez, créez et partagez vos snippets en temps réel.

PI

theme: Backend-selected
title: HOME.pi
visible:
  - user: USER_ID_1
  - user: USER_ID_2
badges:
  - type: entity
    show_name: false
    show_state: true
    show_icon: true
    entity: switch.sonoff_10004d908a
    icon: mdi:light-flood-down
    show_entity_picture: false
    state_content:
      - name
      - state
  - type: entity
    show_name: false
    show_state: true
    show_icon: true
    entity: light.ampoule_garage
    show_entity_picture: false
    state_content:
      - name
      - state
  - type: entity
    show_name: false
    show_state: true
    show_icon: true
    entity: light.lumi_lumi_light_aqcn02_light
    show_entity_picture: false
    state_content:
      - name
      - state
cards: []
type: sections
sections:
  - type: grid
    cards:
      - show_state: true
        show_name: true
        camera_view: auto
        type: picture-entity
        name: Caméra Jardin
        entity: camera.camera_exterieure

      - type: custom:apexcharts-card
        apex_config:
          chart:
            height: 180
          legend:
            show: false
        experimental:
          color_threshold: true
        graph_span: 24h
        show:
          last_updated: true
        header:
          standard_format: false
          show: true
          show_states: true
          colorize_states: true
          title: Température extérieure
        now:
          show: false
          color: red
          label: Now
        series:
          - entity: sensor.weather_station_outdoor_temperature
            name: " "
            type: line
            group_by:
              func: avg
              duration: 15m
            stroke_width: 2
            show:
              extremas: true
              header_color_threshold: true
            color_threshold:
              - value: 17
                color: olivedrab
      - type: custom:apexcharts-card
        apex_config:
          chart:
            height: 180
          legend:
            show: false
        experimental:
          color_threshold: true
        graph_span: 24h
        show:
          last_updated: true
        header:
          standard_format: false
          show: true
          show_states: true
          colorize_states: true
          title: Température intérieure
        now:
          show: false
          color: red
          label: Now
        series:
          - entity: sensor.weather_station_indoor_temperature
            name: " "
            type: line
            group_by:
              func: avg
              duration: 15m
            stroke_width: 2
            show:
              extremas: true
              header_color_threshold: true
            color_threshold:
              - value: 17
                color: darkgray

  - type: grid
    cards:
      - type: custom:clock-weather-card
        entity: weather.ma_ville
        title: null
        sun_entity: sun.sun
        temperature_sensor: sensor.weather_station_outdoor_temperature
        humidity_sensor: sensor.weather_station_outdoor_humidity
        weather_icon_type: line
        animated_icon: true
        forecast_rows: 2
        locale: fr
        time_pattern: HH:mm
        time_format: 24
        date_pattern: cccc, dd.MM.yy
        hide_today_section: false
        hide_forecast_section: true
        show_humidity: false
        hide_clock: false
        hide_date: false
        hourly_forecast: false
        use_browser_time: false
        time_zone: null
        show_decimal: false
        apparent_sensor: sensor.openweathermap_feels_like_temperature
        aqi_sensor: sensor.air_quality_index
      - type: glance
        show_name: true
        show_icon: true
        show_state: true
        columns: 2
        state_color: true
        entities:
          - entity: sensor.weather_station_outdoor_temperature
            name: Temp. extérieure
            icon: mdi:thermometer
          - entity: sensor.ma_ville_rain_chance
            name: Risque de pluie
            icon: mdi:weather-rainy
        card_mod:
          style: |
            ha-card {
              padding: 12px;
              --mdc-icon-size: 60px;
              --paper-item-icon-size: 60px;
            }

            ha-state-label-badge {
              --label-badge-text-color: var(--primary-text-color);
              --label-badge-size: 60px;
              --label-badge-font-size: 1.5em;
              --label-badge-red: none;
              --label-badge-background-color: none;
            }

            :host ::ng-deep .entity .info,
            :host ::ng-deep .entity .name,
            :host ::ng-deep .entity .state,
            :host ::ng-deep .entity .value {
              font-size: 2.3em !important;
              font-weight: 700 !important;
              color: #fff !important;
              line-height: 1.2 !important;
            }
      - type: markdown
        content: "  {{ state_attr('var.gemini_meteo','full_text') }}<sup> ({{ state_attr('var.gemini_meteo','updated') }})</sup>"
        grid_options:
          columns: 24
          rows: auto
      - type: custom:meteogram-card
        latitude: !secret home_latitude
        longitude: !secret home_longitude
        entity_id: weather.forecast_maison
        show_cloud_cover: true
        show_pressure: false
        show_weather_icons: true
        show_wind: false
        dense_weather_icons: true
        meteogram_hours: 12h
        aspect_ratio: "16:9"
        layout_mode: sections
        diagnostics: false
        display_mode: full
        styles:
          meteogram-label-font-size: 16px
          meteogram-grid-color: "#1976d2"
        grid_options:
          columns: full
          rows: 5
      - square: false
        type: grid
        columns: 1
        cards:
          - type: custom:clock-weather-card
            entity: weather.ma_ville
            title: null
            sun_entity: sun.sun
            temperature_sensor: sensor.weather_station_outdoor_temperature
            humidity_sensor: sensor.weather_station_outdoor_humidity
            weather_icon_type: line
            animated_icon: true
            forecast_rows: 5
            locale: fr
            time_pattern: HH:mm
            time_format: 24
            date_pattern: cccc, dd.MM.yy
            hide_today_section: true
            hide_forecast_section: false
            show_humidity: false
            hide_clock: false
            hide_date: false
            hourly_forecast: false
            use_browser_time: false
            time_zone: null
            show_decimal: false
            apparent_sensor: sensor.openweathermap_feels_like_temperature
            aqi_sensor: sensor.air_quality_index
            view_layout:
              column_span: 4
        grid_options:
          columns: 24
          rows: auto
      - show_current: false
        show_forecast: true
        type: weather-forecast
        entity: weather.ma_ville
        forecast_type: daily
        grid_options:
          columns: 24
          rows: 2
    column_span: 2

  - type: grid
    cards:
      - type: custom:horizon-card
        title: null
        moon: true
        refresh_period: 60
        fields:
          sunrise: true
          sunset: true
          dawn: false
          noon: false
          dusk: false
          azimuth: false
          sun_azimuth: false
          moon_azimuth: false
          elevation: false
          sun_elevation: false
          moon_elevation: false
          moonrise: false
          moonset: false
          moon_phase: false
        southern_flip: false
        moon_phase_rotation: -10
        language: fr
        time_format: language
        number_format: language
        time_zone: Europe/Paris
      - type: entities
        entities:
          - type: custom:template-entity-row
            entity: sensor.etat_seche_linge
            name: Sèche-linge
            icon: mdi:tumble-dryer
            state_color: true
            secondary: >
              Last: {{ relative_time(states.sensor.etat_seche_linge.last_changed) }}
          - type: custom:template-entity-row
            entity: sensor.etat_lave_linge
            name: Lave-linge
            icon: mdi:washing-machine
            state_color: true
            secondary: >
              Last: {{ relative_time(states.sensor.etat_lave_linge.last_changed) }}
          - type: custom:template-entity-row
            entity: sensor.etat_lave_vaisselle
            name: Lave-vaisselle
            icon: mdi:dishwasher
            state_color: true
            secondary: >
              Last: {{ relative_time(states.sensor.etat_lave_vaisselle.last_changed) }}
      - event_grouping: true
        drop_todayevents_from: "10:00:00"
        next_days: 2
        pattern:
          - icon: mdi:flower
            color: lime
            type: organic
          - icon: mdi:newspaper
            color: blue
            type: paper
          - icon: mdi:recycle-variant
            color: amber
            type: recycle
            label: Sortir poubelle jaune
            pattern: Sortir poubelle jaune
          - icon: mdi:trash-can-outline
            color: grey
            type: waste
            pattern: Sortir poubelle grise
            label: Sortir poubelle grise
          - icon: mdi:dump-truck
            color: purple
            type: others
        day_style: default
        day_style_format: yyyy.MM.dd
        card_style: card
        alignment_style: left
        color_mode: background
        items_per_row: 1
        refresh_rate: 60
        with_label: true
        layout: default
        type: custom:trash-card
        entities:
          - calendar.poubelles
        use_summary: false
        hide_time_range: true
      - type: tile
        grid_options:
          columns: 12
          rows: 1
        entity: sensor.travail_travel_time
        name: Trajet vers le boulot
        vertical: false
        features_position: bottom
      - type: markdown
        title: Actus France
        content: |
          {{ state_attr('var.synthese_actus','full_text') }}

          _(maj: {{ state_attr('var.synthese_actus','updated') }})_
      - type: custom:button-card
        icon: mdi:refresh
        show_name: false
        tap_action:
          action: call-service
          service: browser_mod.refresh
          service_data:
            browser_id: BROWSER_ID_A_REMPLACER
        grid_options:
          columns: 2
          rows: 1
        styles:
          card:
            - background: none
            - box-shadow: none
            - border: 0
            - padding: 0
            - width: auto
            - max-width: 56px
            - display: flex
            - align-items: center
            - justify-content: center
            - margin: auto
          icon:
            - width: 26px
            - height: 26px
            - color: var(--accent-color)
            - opacity: 0.8

max_columns: 5
icon: mdi:raspberry-pi
path: home_pi

Créé il y a 2 mois.

Rechercher un Pastebin

Aucun paste trouvé.