{"id":885,"date":"2026-04-28T16:15:00","date_gmt":"2026-04-28T14:15:00","guid":{"rendered":"https:\/\/monservice.ovh\/soldom\/?p=885"},"modified":"2026-08-22T22:29:04","modified_gmt":"2026-08-22T20:29:04","slug":"home-assistant-enregistrer-valeur-max-capteur","status":"publish","type":"post","link":"https:\/\/solaire-domotique.fr\/index.php\/2026\/04\/28\/home-assistant-enregistrer-valeur-max-capteur\/","title":{"rendered":"Home Assistant : Enregistrer Valeur Max Capteur"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"885\" class=\"elementor elementor-885\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f40291b e-con e-atomic-element e-flexbox-base e-default-div e-bda9a03 \" data-id=\"f40291b\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"f40291b\">\n    \t\t<div class=\"elementor-element elementor-element-e03e749 elementor-widget elementor-widget-html\" data-id=\"e03e749\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<style>\r\n\r\n\/* =========================================================\r\n   SOLAIRE DOMOTIQUE\r\n   ARTICLE HOME ASSISTANT\r\n========================================================= *\/\r\n\r\nhtml,\r\nbody {\r\n    margin: 0 !important;\r\n    padding: 0 !important;\r\n    background: #080b12 !important;\r\n}\r\n\r\n.ha-page {\r\n\r\n    width: 100vw !important;\r\n    max-width: none !important;\r\n\r\n    margin-left: calc(50% - 50vw) !important;\r\n    margin-right: calc(50% - 50vw) !important;\r\n\r\n    --bg: #080b12;\r\n    --bg2: #0d121c;\r\n\r\n    --card: #111824;\r\n    --card-hover: #172131;\r\n\r\n    --text: #f4f7fb;\r\n    --muted: #9ba8ba;\r\n\r\n    --accent: #43d9ff;\r\n    --accent2: #7c5cff;\r\n\r\n    --border: rgba(255,255,255,.08);\r\n\r\n    color: var(--text);\r\n\r\n    background: var(--bg);\r\n\r\n    font-family:\r\n        Arial,\r\n        Helvetica,\r\n        sans-serif;\r\n\r\n    line-height: 1.6;\r\n\r\n    overflow: hidden;\r\n}\r\n\r\n\r\n\/* =========================================================\r\n   RESET\r\n========================================================= *\/\r\n\r\n.ha-page *,\r\n.ha-page *::before,\r\n.ha-page *::after {\r\n\r\n    box-sizing: border-box;\r\n}\r\n\r\n\r\n.ha-page a {\r\n\r\n    text-decoration: none !important;\r\n}\r\n\r\n\r\n\/* =========================================================\r\n   CONTENEUR LARGE\r\n========================================================= *\/\r\n\r\n.ha-container {\r\n\r\n    width: min(1450px, 94%);\r\n\r\n    margin-left: auto;\r\n    margin-right: auto;\r\n}\r\n\r\n\r\n\/* =========================================================\r\n   HERO\r\n========================================================= *\/\r\n\r\n.ha-hero {\r\n\r\n    position: relative;\r\n\r\n    padding:\r\n        100px 0 80px;\r\n\r\n    background:\r\n\r\n        radial-gradient(\r\n            circle at 80% 25%,\r\n            rgba(67,217,255,.14),\r\n            transparent 32%\r\n        ),\r\n\r\n        radial-gradient(\r\n            circle at 20% 70%,\r\n            rgba(124,92,255,.12),\r\n            transparent 35%\r\n        ),\r\n\r\n        linear-gradient(\r\n            135deg,\r\n            #080b12,\r\n            #0c111b 55%,\r\n            #080b12\r\n        );\r\n\r\n    border-bottom:\r\n        1px solid\r\n        rgba(255,255,255,.05);\r\n}\r\n\r\n\r\n\/* =========================================================\r\n   GRILLE\r\n========================================================= *\/\r\n\r\n.ha-grid {\r\n\r\n    position: absolute;\r\n\r\n    inset: 0;\r\n\r\n    opacity: .16;\r\n\r\n    background-image:\r\n\r\n        linear-gradient(\r\n            rgba(255,255,255,.05) 1px,\r\n            transparent 1px\r\n        ),\r\n\r\n        linear-gradient(\r\n            90deg,\r\n            rgba(255,255,255,.05) 1px,\r\n            transparent 1px\r\n        );\r\n\r\n    background-size:\r\n        45px 45px;\r\n\r\n    mask-image:\r\n        linear-gradient(\r\n            to bottom,\r\n            black,\r\n            transparent\r\n        );\r\n}\r\n\r\n\r\n\/* =========================================================\r\n   HERO CONTENT\r\n========================================================= *\/\r\n\r\n.ha-hero-content {\r\n\r\n    position: relative;\r\n\r\n    z-index: 2;\r\n\r\n    max-width: 1050px;\r\n}\r\n\r\n\r\n\/* =========================================================\r\n   BADGE\r\n========================================================= *\/\r\n\r\n.ha-badge {\r\n\r\n    display: inline-flex;\r\n\r\n    align-items: center;\r\n\r\n    gap: 9px;\r\n\r\n    padding:\r\n        8px 14px;\r\n\r\n    border:\r\n        1px solid\r\n        rgba(67,217,255,.25);\r\n\r\n    background:\r\n        rgba(67,217,255,.06);\r\n\r\n    border-radius:\r\n        100px;\r\n\r\n    color:\r\n        var(--accent);\r\n\r\n    font-size:\r\n        13px;\r\n\r\n    font-weight:\r\n        700;\r\n\r\n    letter-spacing:\r\n        .08em;\r\n\r\n    text-transform:\r\n        uppercase;\r\n}\r\n\r\n\r\n.ha-dot {\r\n\r\n    width: 8px;\r\n    height: 8px;\r\n\r\n    border-radius: 50%;\r\n\r\n    background:\r\n        #46e88c;\r\n\r\n    box-shadow:\r\n        0 0 12px\r\n        #46e88c;\r\n}\r\n\r\n\r\n\/* =========================================================\r\n   TITRE\r\n========================================================= *\/\r\n\r\n.ha-hero h1 {\r\n\r\n    margin:\r\n        24px 0 20px;\r\n\r\n    font-size:\r\n        clamp(42px, 6vw, 70px);\r\n\r\n    line-height:\r\n        1.04;\r\n\r\n    letter-spacing:\r\n        -.045em;\r\n}\r\n\r\n\r\n.ha-gradient {\r\n\r\n    background:\r\n        linear-gradient(\r\n            90deg,\r\n            var(--accent),\r\n            #9d8cff\r\n        );\r\n\r\n    -webkit-background-clip:\r\n        text;\r\n\r\n    background-clip:\r\n        text;\r\n\r\n    color:\r\n        transparent;\r\n}\r\n\r\n\r\n\/* =========================================================\r\n   INTRO\r\n========================================================= *\/\r\n\r\n.ha-intro {\r\n\r\n    max-width:\r\n        950px;\r\n\r\n    color:\r\n        var(--muted);\r\n\r\n    font-size:\r\n        19px;\r\n\r\n    line-height:\r\n        1.75;\r\n\r\n    margin:\r\n        0;\r\n}\r\n\r\n\r\n\/* =========================================================\r\n   SECTION\r\n========================================================= *\/\r\n\r\n.ha-section {\r\n\r\n    padding:\r\n        80px 0;\r\n\r\n    background:\r\n        var(--bg);\r\n}\r\n\r\n\r\n\/* =========================================================\r\n   TITRE SECTION\r\n========================================================= *\/\r\n\r\n.ha-heading {\r\n\r\n    margin-bottom:\r\n        40px;\r\n\r\n    max-width:\r\n        900px;\r\n}\r\n\r\n\r\n.ha-eyebrow {\r\n\r\n    color:\r\n        var(--accent);\r\n\r\n    font-size:\r\n        13px;\r\n\r\n    font-weight:\r\n        800;\r\n\r\n    letter-spacing:\r\n        .12em;\r\n\r\n    text-transform:\r\n        uppercase;\r\n}\r\n\r\n\r\n.ha-heading h2 {\r\n\r\n    margin:\r\n        10px 0 15px;\r\n\r\n    font-size:\r\n        clamp(32px, 5vw, 50px);\r\n\r\n    line-height:\r\n        1.1;\r\n}\r\n\r\n\r\n.ha-heading p {\r\n\r\n    margin:\r\n        0;\r\n\r\n    color:\r\n        var(--muted);\r\n\r\n    font-size:\r\n        17px;\r\n}\r\n\r\n\r\n\/* =========================================================\r\n   VIDEO + CODE\r\n========================================================= *\/\r\n\r\n.ha-video-code {\r\n\r\n    display:\r\n        grid;\r\n\r\n    grid-template-columns:\r\n        1.05fr .95fr;\r\n\r\n    gap:\r\n        30px;\r\n\r\n    align-items:\r\n        start;\r\n}\r\n\r\n\r\n\/* =========================================================\r\n   VIDEO\r\n========================================================= *\/\r\n\r\n.ha-video-card {\r\n\r\n    overflow:\r\n        hidden;\r\n\r\n    border:\r\n        1px solid\r\n        var(--border);\r\n\r\n    border-radius:\r\n        22px;\r\n\r\n    background:\r\n        #06090e;\r\n\r\n    box-shadow:\r\n        0 20px 60px\r\n        rgba(0,0,0,.35);\r\n}\r\n\r\n\r\n.ha-video {\r\n\r\n    width:\r\n        100%;\r\n\r\n    aspect-ratio:\r\n        16 \/ 9;\r\n\r\n    display:\r\n        block;\r\n\r\n    border:\r\n        0;\r\n}\r\n\r\n\r\n.ha-video-info {\r\n\r\n    padding:\r\n        24px 26px;\r\n}\r\n\r\n\r\n.ha-video-info h3 {\r\n\r\n    margin:\r\n        0 0 8px;\r\n\r\n    font-size:\r\n        23px;\r\n}\r\n\r\n\r\n.ha-video-info p {\r\n\r\n    margin:\r\n        0;\r\n\r\n    color:\r\n        var(--muted);\r\n\r\n    font-size:\r\n        15px;\r\n}\r\n\r\n\r\n\/* =========================================================\r\n   CODE CARD\r\n========================================================= *\/\r\n\r\n.ha-code-card {\r\n\r\n    overflow:\r\n        hidden;\r\n\r\n    border:\r\n        1px solid\r\n        var(--border);\r\n\r\n    border-radius:\r\n        22px;\r\n\r\n    background:\r\n        #080c13;\r\n\r\n    box-shadow:\r\n        0 20px 60px\r\n        rgba(0,0,0,.35);\r\n}\r\n\r\n\r\n\/* =========================================================\r\n   CODE HEADER\r\n========================================================= *\/\r\n\r\n.ha-code-header {\r\n\r\n    display:\r\n        flex;\r\n\r\n    align-items:\r\n        center;\r\n\r\n    justify-content:\r\n        space-between;\r\n\r\n    gap:\r\n        15px;\r\n\r\n    padding:\r\n        17px 20px;\r\n\r\n    border-bottom:\r\n        1px solid\r\n        rgba(255,255,255,.07);\r\n\r\n    background:\r\n        linear-gradient(\r\n            135deg,\r\n            #121b28,\r\n            #0c111a\r\n        );\r\n}\r\n\r\n\r\n.ha-code-title {\r\n\r\n    display:\r\n        flex;\r\n\r\n    align-items:\r\n        center;\r\n\r\n    gap:\r\n        10px;\r\n\r\n    font-size:\r\n        14px;\r\n\r\n    font-weight:\r\n        700;\r\n}\r\n\r\n\r\n.ha-code-icon {\r\n\r\n    width:\r\n        35px;\r\n\r\n    height:\r\n        35px;\r\n\r\n    display:\r\n        flex;\r\n\r\n    align-items:\r\n        center;\r\n\r\n    justify-content:\r\n        center;\r\n\r\n    border-radius:\r\n        9px;\r\n\r\n    background:\r\n        rgba(67,217,255,.09);\r\n\r\n    color:\r\n        var(--accent);\r\n\r\n    font-family:\r\n        monospace;\r\n\r\n    font-weight:\r\n        800;\r\n}\r\n\r\n\r\n\/* =========================================================\r\n   COPIER\r\n========================================================= *\/\r\n\r\n.ha-copy {\r\n\r\n    display:\r\n        inline-flex;\r\n\r\n    align-items:\r\n        center;\r\n\r\n    gap:\r\n        7px;\r\n\r\n    padding:\r\n        9px 13px;\r\n\r\n    border:\r\n        1px solid\r\n        rgba(67,217,255,.28);\r\n\r\n    border-radius:\r\n        9px;\r\n\r\n    background:\r\n        rgba(67,217,255,.08);\r\n\r\n    color:\r\n        #ffffff;\r\n\r\n    font-size:\r\n        12px;\r\n\r\n    font-weight:\r\n        700;\r\n\r\n    cursor:\r\n        pointer;\r\n\r\n    transition:\r\n        .25s ease;\r\n}\r\n\r\n\r\n.ha-copy:hover {\r\n\r\n    background:\r\n        rgba(67,217,255,.17);\r\n\r\n    border-color:\r\n        rgba(67,217,255,.55);\r\n\r\n    transform:\r\n        translateY(-2px);\r\n}\r\n\r\n\r\n.ha-copy.copied {\r\n\r\n    color:\r\n        #6ff2a0;\r\n\r\n    border-color:\r\n        rgba(70,232,140,.45);\r\n\r\n    background:\r\n        rgba(70,232,140,.10);\r\n}\r\n\r\n\r\n\/* =========================================================\r\n   CODE YAML\r\n   IMPORTANT :\r\n   AUCUNE HAUTEUR MAXIMUM\r\n========================================================= *\/\r\n\r\n.ha-code {\r\n\r\n    margin:\r\n        0;\r\n\r\n    padding:\r\n        25px;\r\n\r\n    background:\r\n        #05080d;\r\n\r\n    color:\r\n        #dce7f5;\r\n\r\n    font-family:\r\n        \"Courier New\",\r\n        Consolas,\r\n        monospace;\r\n\r\n    font-size:\r\n        13px;\r\n\r\n    line-height:\r\n        1.65;\r\n\r\n    white-space:\r\n        pre;\r\n\r\n    overflow-x:\r\n        auto;\r\n\r\n    overflow-y:\r\n        visible;\r\n\r\n    max-height:\r\n        none;\r\n\r\n    tab-size:\r\n        2;\r\n}\r\n\r\n\r\n\/* =========================================================\r\n   EXPLICATION\r\n========================================================= *\/\r\n\r\n.ha-explanation {\r\n\r\n    max-width:\r\n        1000px;\r\n\r\n    margin:\r\n        60px auto 0;\r\n\r\n    color:\r\n        var(--muted);\r\n\r\n    font-size:\r\n        17px;\r\n\r\n    line-height:\r\n        1.8;\r\n}\r\n\r\n\r\n.ha-explanation strong {\r\n\r\n    color:\r\n        var(--text);\r\n}\r\n\r\n\r\n.ha-highlight {\r\n\r\n    margin-top:\r\n        30px;\r\n\r\n    padding:\r\n        25px 30px;\r\n\r\n    border-left:\r\n        3px solid\r\n        var(--accent);\r\n\r\n    border-radius:\r\n        0 15px 15px 0;\r\n\r\n    background:\r\n        rgba(67,217,255,.05);\r\n\r\n    color:\r\n        var(--text);\r\n}\r\n\r\n\r\n\/* =========================================================\r\n   RETOUR ACCUEIL\r\n========================================================= *\/\r\n\r\n.ha-back {\r\n\r\n    padding:\r\n        70px 0;\r\n\r\n    text-align:\r\n        center;\r\n\r\n    background:\r\n        #06090e;\r\n\r\n    border-top:\r\n        1px solid\r\n        var(--border);\r\n}\r\n\r\n\r\n.ha-back a {\r\n\r\n    display:\r\n        inline-flex;\r\n\r\n    flex-direction:\r\n        column;\r\n\r\n    align-items:\r\n        center;\r\n\r\n    gap:\r\n        12px;\r\n\r\n    color:\r\n        var(--muted) !important;\r\n\r\n    font-size:\r\n        14px;\r\n\r\n    font-weight:\r\n        700;\r\n\r\n    transition:\r\n        .25s ease;\r\n}\r\n\r\n\r\n.ha-home-icon {\r\n\r\n    width:\r\n        60px;\r\n\r\n    height:\r\n        60px;\r\n\r\n    display:\r\n        flex;\r\n\r\n    align-items:\r\n        center;\r\n\r\n    justify-content:\r\n        center;\r\n\r\n    border:\r\n        1px solid\r\n        rgba(67,217,255,.28);\r\n\r\n    border-radius:\r\n        16px;\r\n\r\n    background:\r\n        rgba(67,217,255,.07);\r\n\r\n    color:\r\n        var(--accent);\r\n\r\n    font-size:\r\n        25px;\r\n\r\n    transition:\r\n        .25s ease;\r\n}\r\n\r\n\r\n.ha-back a:hover {\r\n\r\n    color:\r\n        #ffffff !important;\r\n}\r\n\r\n\r\n.ha-back a:hover\r\n.ha-home-icon {\r\n\r\n    transform:\r\n        translateY(-5px);\r\n\r\n    background:\r\n        rgba(67,217,255,.14);\r\n\r\n    border-color:\r\n        rgba(67,217,255,.55);\r\n\r\n    box-shadow:\r\n        0 12px 35px\r\n        rgba(67,217,255,.14);\r\n}\r\n\r\n\r\n\/* =========================================================\r\n   TABLETTE\r\n========================================================= *\/\r\n\r\n@media (max-width: 1000px) {\r\n\r\n    .ha-video-code {\r\n\r\n        grid-template-columns:\r\n            1fr;\r\n    }\r\n\r\n    .ha-code {\r\n\r\n        overflow-x:\r\n            auto;\r\n\r\n        overflow-y:\r\n            visible;\r\n    }\r\n}\r\n\r\n\r\n\/* =========================================================\r\n   MOBILE\r\n========================================================= *\/\r\n\r\n@media (max-width: 600px) {\r\n\r\n    .ha-container {\r\n\r\n        width:\r\n            92%;\r\n    }\r\n\r\n    .ha-hero {\r\n\r\n        padding:\r\n            75px 0 60px;\r\n    }\r\n\r\n    .ha-section {\r\n\r\n        padding:\r\n            60px 0;\r\n    }\r\n\r\n    .ha-hero h1 {\r\n\r\n        font-size:\r\n            38px;\r\n    }\r\n\r\n    .ha-intro {\r\n\r\n        font-size:\r\n            17px;\r\n    }\r\n\r\n    .ha-video-card,\r\n    .ha-code-card {\r\n\r\n        border-radius:\r\n            17px;\r\n    }\r\n\r\n    .ha-code-header {\r\n\r\n        align-items:\r\n            flex-start;\r\n\r\n        flex-direction:\r\n            column;\r\n    }\r\n\r\n    .ha-copy {\r\n\r\n        width:\r\n            100%;\r\n\r\n        justify-content:\r\n            center;\r\n    }\r\n\r\n    .ha-code {\r\n\r\n        padding:\r\n            18px;\r\n\r\n        font-size:\r\n            11px;\r\n\r\n        line-height:\r\n            1.55;\r\n    }\r\n\r\n}\r\n\r\n<\/style>\r\n\r\n\r\n<!-- =========================================================\r\n     PAGE\r\n========================================================= -->\r\n\r\n<div class=\"ha-page\">\r\n\r\n\r\n    <!-- =====================================================\r\n         HERO\r\n    ====================================================== -->\r\n\r\n    <section class=\"ha-hero\">\r\n\r\n        <div class=\"ha-grid\"><\/div>\r\n\r\n        <div class=\"ha-container\">\r\n\r\n            <div class=\"ha-hero-content\">\r\n\r\n\r\n                <div class=\"ha-badge\">\r\n\r\n                    <span class=\"ha-dot\"><\/span>\r\n\r\n                    Home Assistant \u00b7 Automatisation\r\n\r\n                <\/div>\r\n\r\n\r\n                <h1>\r\n\r\n                    Home Assistant :\r\n                    <br>\r\n\r\n                    <span class=\"ha-gradient\">\r\n                        enregistrer une valeur maximale\r\n                    <\/span>\r\n\r\n                <\/h1>\r\n\r\n\r\n                <p class=\"ha-intro\">\r\n\r\n                    Apprenez \u00e0 faire m\u00e9moriser automatiquement\r\n                    \u00e0 Home Assistant la valeur maximale atteinte\r\n                    par un capteur, aussi bien pour la journ\u00e9e\r\n                    que pour l'ann\u00e9e.\r\n\r\n                    Une automatisation simple, pratique et\r\n                    facilement adaptable \u00e0 vos propres projets.\r\n\r\n                <\/p>\r\n\r\n\r\n            <\/div>\r\n\r\n        <\/div>\r\n\r\n    <\/section>\r\n\r\n\r\n    <!-- =====================================================\r\n         CONTENU\r\n    ====================================================== -->\r\n\r\n    <section class=\"ha-section\">\r\n\r\n        <div class=\"ha-container\">\r\n\r\n\r\n            <div class=\"ha-heading\">\r\n\r\n                <div class=\"ha-eyebrow\">\r\n                    Tutoriel Home Assistant\r\n                <\/div>\r\n\r\n\r\n                <h2>\r\n\r\n                    Enregistrer automatiquement\r\n                    la valeur maximale d'un capteur\r\n\r\n                <\/h2>\r\n\r\n\r\n                <p>\r\n\r\n                    Regardez la d\u00e9monstration puis r\u00e9cup\u00e9rez\r\n                    directement l'automatisation YAML.\r\n\r\n                <\/p>\r\n\r\n            <\/div>\r\n\r\n\r\n            <!-- =================================================\r\n                 VIDEO + CODE\r\n            ================================================== -->\r\n\r\n            <div class=\"ha-video-code\">\r\n\r\n\r\n                <!-- =================================================\r\n                     VIDEO\r\n                ================================================== -->\r\n\r\n                <div class=\"ha-video-card\">\r\n\r\n\r\n                    <iframe\r\n                        class=\"ha-video\"\r\n                        src=\"https:\/\/www.youtube.com\/embed\/fMHzGVpRypU\"\r\n                        title=\"Home Assistant - Enregistrer une valeur maximale d'un capteur\"\r\n                        loading=\"lazy\"\r\n                        allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\"\r\n                        allowfullscreen>\r\n                    <\/iframe>\r\n\r\n\r\n                    <div class=\"ha-video-info\">\r\n\r\n                        <h3>\r\n                            \ud83c\udfac Le tutoriel en vid\u00e9o\r\n                        <\/h3>\r\n\r\n\r\n                        <p>\r\n\r\n                            D\u00e9couvrez comment enregistrer\r\n                            automatiquement la valeur maximale\r\n                            d'un capteur dans Home Assistant.\r\n\r\n                        <\/p>\r\n\r\n                    <\/div>\r\n\r\n                <\/div>\r\n\r\n\r\n                <!-- =================================================\r\n                     CODE\r\n                ================================================== -->\r\n\r\n                <div class=\"ha-code-card\">\r\n\r\n\r\n                    <div class=\"ha-code-header\">\r\n\r\n\r\n                        <div class=\"ha-code-title\">\r\n\r\n                            <span class=\"ha-code-icon\">\r\n                                &lt;\/&gt;\r\n                            <\/span>\r\n\r\n                            Automatisation YAML\r\n\r\n                        <\/div>\r\n\r\n\r\n                        <button\r\n                            type=\"button\"\r\n                            class=\"ha-copy\"\r\n                            onclick=\"copyHAValueMax(this)\"\r\n                        >\r\n\r\n                            \ud83d\udccb Copier\r\n\r\n                        <\/button>\r\n\r\n                    <\/div>\r\n\r\n\r\n                    <pre\r\n                        id=\"haValueMaxCode\"\r\n                        class=\"ha-code\"\r\n>alias: Test Solaire Domotique\r\ndescription: \"\"\r\ntriggers:\r\n  - entity_id: sensor.production_solaire_instantanee\r\n    id: state_change\r\n    trigger: state\r\n  - at: \"00:00:00\"\r\n    id: midnight\r\n    trigger: time\r\nconditions: []\r\nactions:\r\n  - choose:\r\n      - conditions:\r\n          - condition: trigger\r\n            id: state_change\r\n        sequence:\r\n          - if:\r\n              - condition: template\r\n                value_template: |\r\n                  {{ states('sensor.production_solaire_instantanee') | float >\r\n                     states('input_number.test_jour') | float }}\r\n            then:\r\n              - target:\r\n                  entity_id: input_number.test_jour\r\n                data:\r\n                  value: \"{{ states('sensor.production_solaire_instantanee') }}\"\r\n                action: input_number.set_value\r\n\r\n          - if:\r\n              - condition: template\r\n                value_template: |\r\n                  {{ states('sensor.production_solaire_instantanee') | float >\r\n                     states('input_number.test_annee') | float }}\r\n            then:\r\n              - target:\r\n                  entity_id: input_number.test_annee\r\n                data:\r\n                  value: \"{{ states('sensor.production_solaire_instantanee') }}\"\r\n                action: input_number.set_value\r\n\r\n      - conditions:\r\n          - condition: trigger\r\n            id: midnight\r\n        sequence:\r\n          - target:\r\n              entity_id: input_number.test_jour\r\n            data:\r\n              value: 0\r\n            action: input_number.set_value\r\n\r\n          - if:\r\n              - condition: template\r\n                value_template: \"{{ now().month == 1 and now().day == 1 }}\"\r\n            then:\r\n              - target:\r\n                  entity_id: input_number.test_annee\r\n                data:\r\n                  value: 0\r\n                action: input_number.set_value\r\n\r\nmode: single<\/pre>\r\n\r\n                <\/div>\r\n\r\n            <\/div>\r\n\r\n\r\n            <!-- =================================================\r\n                 EXPLICATION\r\n            ================================================== -->\r\n\r\n            <div class=\"ha-explanation\">\r\n\r\n\r\n                <p>\r\n\r\n                    Cette automatisation surveille le capteur\r\n                    <strong>\r\n                        sensor.production_solaire_instantanee\r\n                    <\/strong>\r\n\r\n                    et compare chaque nouvelle valeur avec\r\n                    la valeur maximale d\u00e9j\u00e0 enregistr\u00e9e.\r\n\r\n                <\/p>\r\n\r\n\r\n                <p>\r\n\r\n                    Si la nouvelle mesure est sup\u00e9rieure,\r\n                    Home Assistant remplace automatiquement\r\n                    la valeur pr\u00e9c\u00e9dente.\r\n\r\n                    Le maximum journalier est stock\u00e9 dans\r\n                    <strong>input_number.test_jour<\/strong>\r\n                    tandis que le maximum annuel est conserv\u00e9\r\n                    dans\r\n                    <strong>input_number.test_annee<\/strong>.\r\n\r\n                <\/p>\r\n\r\n\r\n                <div class=\"ha-highlight\">\r\n\r\n                    \u26a1 <strong>Le principe :<\/strong>\r\n\r\n                    Home Assistant surveille le capteur,\r\n                    compare les valeurs et conserve uniquement\r\n                    la plus \u00e9lev\u00e9e.\r\n\r\n                    \u00c0 minuit, la valeur journali\u00e8re est remise\r\n                    \u00e0 z\u00e9ro.\r\n\r\n                    Le 1er janvier, la valeur annuelle est\r\n                    \u00e9galement r\u00e9initialis\u00e9e.\r\n\r\n                <\/div>\r\n\r\n\r\n            <\/div>\r\n\r\n\r\n        <\/div>\r\n\r\n    <\/section>\r\n\r\n\r\n    <!-- =====================================================\r\n         RETOUR ACCUEIL\r\n    ====================================================== -->\r\n\r\n    <section class=\"ha-back\">\r\n\r\n        <div class=\"ha-container\">\r\n\r\n            <a\r\n                href=\"https:\/\/monservice.ovh\/soldom\/\"\r\n                aria-label=\"Retour \u00e0 l'accueil de Solaire Domotique\"\r\n            >\r\n\r\n                <span class=\"ha-home-icon\">\r\n                    \ud83c\udfe0\r\n                <\/span>\r\n\r\n                Retour \u00e0 l'accueil\r\n\r\n            <\/a>\r\n\r\n        <\/div>\r\n\r\n    <\/section>\r\n\r\n\r\n<\/div>\r\n\r\n\r\n<!-- =========================================================\r\n     JAVASCRIPT - COPIE DU YAML\r\n========================================================= -->\r\n\r\n<script>\r\n\r\nfunction copyHAValueMax(button) {\r\n\r\n    const code =\r\n        document.getElementById(\r\n            \"haValueMaxCode\"\r\n        ).innerText;\r\n\r\n\r\n    navigator.clipboard\r\n        .writeText(code)\r\n        .then(function () {\r\n\r\n            const original =\r\n                button.innerHTML;\r\n\r\n\r\n            button.innerHTML =\r\n                \"\u2705 Copi\u00e9 !\";\r\n\r\n\r\n            button.classList.add(\r\n                \"copied\"\r\n            );\r\n\r\n\r\n            setTimeout(function () {\r\n\r\n                button.innerHTML =\r\n                    original;\r\n\r\n\r\n                button.classList.remove(\r\n                    \"copied\"\r\n                );\r\n\r\n            }, 2000);\r\n\r\n        })\r\n\r\n        .catch(function () {\r\n\r\n            alert(\r\n                \"Impossible de copier le code.\"\r\n            );\r\n\r\n        });\r\n\r\n}\r\n\r\n<\/script>\t\t\t\t<\/div>\n\t\t\n<\/div>\n\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Home Assistant \u00b7 Automatisation Home Assistant : enregistrer une valeur maximale Apprenez \u00e0 faire m\u00e9moriser automatiquement \u00e0 Home Assistant la valeur maximale atteinte par un capteur, aussi bien pour la journ\u00e9e que pour l&rsquo;ann\u00e9e. Une automatisation simple, pratique et facilement adaptable \u00e0 vos propres projets. Tutoriel Home Assistant Enregistrer automatiquement la valeur maximale d&rsquo;un capteur [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"elementor_canvas","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-885","post","type-post","status-publish","format-standard","hentry","category-non-classe"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.5 - aioseo.com -->\n\t<meta name=\"description\" content=\"Home Assistant \u00b7 Automatisation Home Assistant : enregistrer une valeur maximale Apprenez \u00e0 faire m\u00e9moriser automatiquement \u00e0 Home Assistant la valeur maximale atteinte par un capteur, aussi bien pour la journ\u00e9e que pour l&#039;ann\u00e9e. Une automatisation simple, pratique et facilement adaptable \u00e0 vos propres projets. Tutoriel Home Assistant Enregistrer automatiquement la valeur maximale d&#039;un capteur\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"benoit\"\/>\n\t<meta name=\"google-site-verification\" content=\"t8Ti6oibIJp5wdGvEJxFraNGg_cmWLXk8gjqpwRdx-0\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/solaire-domotique.fr\/index.php\/2026\/04\/28\/home-assistant-enregistrer-valeur-max-capteur\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.5\" \/>\n\t\t<meta property=\"og:locale\" content=\"fr_FR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Solaire Domotique - Home Assistant Facile pour tous\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Home Assistant : Enregistrer Valeur Max Capteur - Solaire Domotique\" \/>\n\t\t<meta property=\"og:description\" content=\"Home Assistant \u00b7 Automatisation Home Assistant : enregistrer une valeur maximale Apprenez \u00e0 faire m\u00e9moriser automatiquement \u00e0 Home Assistant la valeur maximale atteinte par un capteur, aussi bien pour la journ\u00e9e que pour l&#039;ann\u00e9e. Une automatisation simple, pratique et facilement adaptable \u00e0 vos propres projets. Tutoriel Home Assistant Enregistrer automatiquement la valeur maximale d&#039;un capteur\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/solaire-domotique.fr\/index.php\/2026\/04\/28\/home-assistant-enregistrer-valeur-max-capteur\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-04-28T14:15:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-08-22T20:29:04+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/groups\/768632271885394\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Home Assistant : Enregistrer Valeur Max Capteur - Solaire Domotique\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Home Assistant \u00b7 Automatisation Home Assistant : enregistrer une valeur maximale Apprenez \u00e0 faire m\u00e9moriser automatiquement \u00e0 Home Assistant la valeur maximale atteinte par un capteur, aussi bien pour la journ\u00e9e que pour l&#039;ann\u00e9e. Une automatisation simple, pratique et facilement adaptable \u00e0 vos propres projets. Tutoriel Home Assistant Enregistrer automatiquement la valeur maximale d&#039;un capteur\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/2026\\\/04\\\/28\\\/home-assistant-enregistrer-valeur-max-capteur\\\/#blogposting\",\"name\":\"Home Assistant : Enregistrer Valeur Max Capteur - Solaire Domotique\",\"headline\":\"Home Assistant : Enregistrer Valeur Max Capteur\",\"author\":{\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/author\\\/benoit\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/monservice.ovh\\\/soldom\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/solairedomotique.png\",\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/#articleImage\"},\"datePublished\":\"2026-04-28T16:15:00+02:00\",\"dateModified\":\"2026-08-22T22:29:04+02:00\",\"inLanguage\":\"fr-FR\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/2026\\\/04\\\/28\\\/home-assistant-enregistrer-valeur-max-capteur\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/2026\\\/04\\\/28\\\/home-assistant-enregistrer-valeur-max-capteur\\\/#webpage\"},\"articleSection\":\"Non class\\u00e9\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/2026\\\/04\\\/28\\\/home-assistant-enregistrer-valeur-max-capteur\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/solaire-domotique.fr\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/domotique\\\/#listItem\",\"name\":\"Domotique\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/domotique\\\/#listItem\",\"position\":2,\"name\":\"Domotique\",\"item\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/domotique\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/category\\\/non-classe\\\/#listItem\",\"name\":\"Non class\\u00e9\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/category\\\/non-classe\\\/#listItem\",\"position\":3,\"name\":\"Non class\\u00e9\",\"item\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/category\\\/non-classe\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/2026\\\/04\\\/28\\\/home-assistant-enregistrer-valeur-max-capteur\\\/#listItem\",\"name\":\"Home Assistant : Enregistrer Valeur Max Capteur\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/domotique\\\/#listItem\",\"name\":\"Domotique\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/2026\\\/04\\\/28\\\/home-assistant-enregistrer-valeur-max-capteur\\\/#listItem\",\"position\":4,\"name\":\"Home Assistant : Enregistrer Valeur Max Capteur\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/category\\\/non-classe\\\/#listItem\",\"name\":\"Non class\\u00e9\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/#organization\",\"name\":\"Solaire Domotique\",\"description\":\"Home Assistant Facile pour tous\",\"url\":\"https:\\\/\\\/solaire-domotique.fr\\\/\",\"telephone\":\"+33788296582\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/monservice.ovh\\\/soldom\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/solairedomotique.png\",\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/2026\\\/04\\\/28\\\/home-assistant-enregistrer-valeur-max-capteur\\\/#organizationLogo\"},\"image\":{\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/2026\\\/04\\\/28\\\/home-assistant-enregistrer-valeur-max-capteur\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/groups\\\/768632271885394\",\"https:\\\/\\\/youtube.com\\\/channel\\\/UCajanIUJeEr2y9m2XvjL7sA\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/author\\\/benoit\\\/#author\",\"url\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/author\\\/benoit\\\/\",\"name\":\"benoit\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/2026\\\/04\\\/28\\\/home-assistant-enregistrer-valeur-max-capteur\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3de1c89471cef48d22da75ab899fb83c58aa4a5e4af4797f5934c99f68704dea?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"benoit\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/2026\\\/04\\\/28\\\/home-assistant-enregistrer-valeur-max-capteur\\\/#webpage\",\"url\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/2026\\\/04\\\/28\\\/home-assistant-enregistrer-valeur-max-capteur\\\/\",\"name\":\"Home Assistant : Enregistrer Valeur Max Capteur - Solaire Domotique\",\"description\":\"Home Assistant \\u00b7 Automatisation Home Assistant : enregistrer une valeur maximale Apprenez \\u00e0 faire m\\u00e9moriser automatiquement \\u00e0 Home Assistant la valeur maximale atteinte par un capteur, aussi bien pour la journ\\u00e9e que pour l'ann\\u00e9e. Une automatisation simple, pratique et facilement adaptable \\u00e0 vos propres projets. Tutoriel Home Assistant Enregistrer automatiquement la valeur maximale d'un capteur\",\"inLanguage\":\"fr-FR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/2026\\\/04\\\/28\\\/home-assistant-enregistrer-valeur-max-capteur\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/author\\\/benoit\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/index.php\\\/author\\\/benoit\\\/#author\"},\"datePublished\":\"2026-04-28T16:15:00+02:00\",\"dateModified\":\"2026-08-22T22:29:04+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/#website\",\"url\":\"https:\\\/\\\/solaire-domotique.fr\\\/\",\"name\":\"Solaire Domotique\",\"description\":\"Home Assistant Facile pour tous\",\"inLanguage\":\"fr-FR\",\"publisher\":{\"@id\":\"https:\\\/\\\/solaire-domotique.fr\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Home Assistant : Enregistrer Valeur Max Capteur - Solaire Domotique","description":"Home Assistant \u00b7 Automatisation Home Assistant : enregistrer une valeur maximale Apprenez \u00e0 faire m\u00e9moriser automatiquement \u00e0 Home Assistant la valeur maximale atteinte par un capteur, aussi bien pour la journ\u00e9e que pour l'ann\u00e9e. Une automatisation simple, pratique et facilement adaptable \u00e0 vos propres projets. Tutoriel Home Assistant Enregistrer automatiquement la valeur maximale d'un capteur","canonical_url":"https:\/\/solaire-domotique.fr\/index.php\/2026\/04\/28\/home-assistant-enregistrer-valeur-max-capteur\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"t8Ti6oibIJp5wdGvEJxFraNGg_cmWLXk8gjqpwRdx-0","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/solaire-domotique.fr\/index.php\/2026\/04\/28\/home-assistant-enregistrer-valeur-max-capteur\/#blogposting","name":"Home Assistant : Enregistrer Valeur Max Capteur - Solaire Domotique","headline":"Home Assistant : Enregistrer Valeur Max Capteur","author":{"@id":"https:\/\/solaire-domotique.fr\/index.php\/author\/benoit\/#author"},"publisher":{"@id":"https:\/\/solaire-domotique.fr\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/monservice.ovh\/soldom\/wp-content\/uploads\/2025\/12\/solairedomotique.png","@id":"https:\/\/solaire-domotique.fr\/#articleImage"},"datePublished":"2026-04-28T16:15:00+02:00","dateModified":"2026-08-22T22:29:04+02:00","inLanguage":"fr-FR","mainEntityOfPage":{"@id":"https:\/\/solaire-domotique.fr\/index.php\/2026\/04\/28\/home-assistant-enregistrer-valeur-max-capteur\/#webpage"},"isPartOf":{"@id":"https:\/\/solaire-domotique.fr\/index.php\/2026\/04\/28\/home-assistant-enregistrer-valeur-max-capteur\/#webpage"},"articleSection":"Non class\u00e9"},{"@type":"BreadcrumbList","@id":"https:\/\/solaire-domotique.fr\/index.php\/2026\/04\/28\/home-assistant-enregistrer-valeur-max-capteur\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/solaire-domotique.fr\/#listItem","position":1,"name":"Home","item":"https:\/\/solaire-domotique.fr\/","nextItem":{"@type":"ListItem","@id":"https:\/\/solaire-domotique.fr\/index.php\/domotique\/#listItem","name":"Domotique"}},{"@type":"ListItem","@id":"https:\/\/solaire-domotique.fr\/index.php\/domotique\/#listItem","position":2,"name":"Domotique","item":"https:\/\/solaire-domotique.fr\/index.php\/domotique\/","nextItem":{"@type":"ListItem","@id":"https:\/\/solaire-domotique.fr\/index.php\/category\/non-classe\/#listItem","name":"Non class\u00e9"},"previousItem":{"@type":"ListItem","@id":"https:\/\/solaire-domotique.fr\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/solaire-domotique.fr\/index.php\/category\/non-classe\/#listItem","position":3,"name":"Non class\u00e9","item":"https:\/\/solaire-domotique.fr\/index.php\/category\/non-classe\/","nextItem":{"@type":"ListItem","@id":"https:\/\/solaire-domotique.fr\/index.php\/2026\/04\/28\/home-assistant-enregistrer-valeur-max-capteur\/#listItem","name":"Home Assistant : Enregistrer Valeur Max Capteur"},"previousItem":{"@type":"ListItem","@id":"https:\/\/solaire-domotique.fr\/index.php\/domotique\/#listItem","name":"Domotique"}},{"@type":"ListItem","@id":"https:\/\/solaire-domotique.fr\/index.php\/2026\/04\/28\/home-assistant-enregistrer-valeur-max-capteur\/#listItem","position":4,"name":"Home Assistant : Enregistrer Valeur Max Capteur","previousItem":{"@type":"ListItem","@id":"https:\/\/solaire-domotique.fr\/index.php\/category\/non-classe\/#listItem","name":"Non class\u00e9"}}]},{"@type":"Organization","@id":"https:\/\/solaire-domotique.fr\/#organization","name":"Solaire Domotique","description":"Home Assistant Facile pour tous","url":"https:\/\/solaire-domotique.fr\/","telephone":"+33788296582","logo":{"@type":"ImageObject","url":"https:\/\/monservice.ovh\/soldom\/wp-content\/uploads\/2025\/12\/solairedomotique.png","@id":"https:\/\/solaire-domotique.fr\/index.php\/2026\/04\/28\/home-assistant-enregistrer-valeur-max-capteur\/#organizationLogo"},"image":{"@id":"https:\/\/solaire-domotique.fr\/index.php\/2026\/04\/28\/home-assistant-enregistrer-valeur-max-capteur\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/groups\/768632271885394","https:\/\/youtube.com\/channel\/UCajanIUJeEr2y9m2XvjL7sA\/"]},{"@type":"Person","@id":"https:\/\/solaire-domotique.fr\/index.php\/author\/benoit\/#author","url":"https:\/\/solaire-domotique.fr\/index.php\/author\/benoit\/","name":"benoit","image":{"@type":"ImageObject","@id":"https:\/\/solaire-domotique.fr\/index.php\/2026\/04\/28\/home-assistant-enregistrer-valeur-max-capteur\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3de1c89471cef48d22da75ab899fb83c58aa4a5e4af4797f5934c99f68704dea?s=96&d=mm&r=g","width":96,"height":96,"caption":"benoit"}},{"@type":"WebPage","@id":"https:\/\/solaire-domotique.fr\/index.php\/2026\/04\/28\/home-assistant-enregistrer-valeur-max-capteur\/#webpage","url":"https:\/\/solaire-domotique.fr\/index.php\/2026\/04\/28\/home-assistant-enregistrer-valeur-max-capteur\/","name":"Home Assistant : Enregistrer Valeur Max Capteur - Solaire Domotique","description":"Home Assistant \u00b7 Automatisation Home Assistant : enregistrer une valeur maximale Apprenez \u00e0 faire m\u00e9moriser automatiquement \u00e0 Home Assistant la valeur maximale atteinte par un capteur, aussi bien pour la journ\u00e9e que pour l'ann\u00e9e. Une automatisation simple, pratique et facilement adaptable \u00e0 vos propres projets. Tutoriel Home Assistant Enregistrer automatiquement la valeur maximale d'un capteur","inLanguage":"fr-FR","isPartOf":{"@id":"https:\/\/solaire-domotique.fr\/#website"},"breadcrumb":{"@id":"https:\/\/solaire-domotique.fr\/index.php\/2026\/04\/28\/home-assistant-enregistrer-valeur-max-capteur\/#breadcrumblist"},"author":{"@id":"https:\/\/solaire-domotique.fr\/index.php\/author\/benoit\/#author"},"creator":{"@id":"https:\/\/solaire-domotique.fr\/index.php\/author\/benoit\/#author"},"datePublished":"2026-04-28T16:15:00+02:00","dateModified":"2026-08-22T22:29:04+02:00"},{"@type":"WebSite","@id":"https:\/\/solaire-domotique.fr\/#website","url":"https:\/\/solaire-domotique.fr\/","name":"Solaire Domotique","description":"Home Assistant Facile pour tous","inLanguage":"fr-FR","publisher":{"@id":"https:\/\/solaire-domotique.fr\/#organization"}}]},"og:locale":"fr_FR","og:site_name":"Solaire Domotique - Home Assistant Facile pour tous","og:type":"article","og:title":"Home Assistant : Enregistrer Valeur Max Capteur - Solaire Domotique","og:description":"Home Assistant \u00b7 Automatisation Home Assistant : enregistrer une valeur maximale Apprenez \u00e0 faire m\u00e9moriser automatiquement \u00e0 Home Assistant la valeur maximale atteinte par un capteur, aussi bien pour la journ\u00e9e que pour l'ann\u00e9e. Une automatisation simple, pratique et facilement adaptable \u00e0 vos propres projets. Tutoriel Home Assistant Enregistrer automatiquement la valeur maximale d'un capteur","og:url":"https:\/\/solaire-domotique.fr\/index.php\/2026\/04\/28\/home-assistant-enregistrer-valeur-max-capteur\/","article:published_time":"2026-04-28T14:15:00+00:00","article:modified_time":"2026-08-22T20:29:04+00:00","article:publisher":"https:\/\/www.facebook.com\/groups\/768632271885394","twitter:card":"summary_large_image","twitter:title":"Home Assistant : Enregistrer Valeur Max Capteur - Solaire Domotique","twitter:description":"Home Assistant \u00b7 Automatisation Home Assistant : enregistrer une valeur maximale Apprenez \u00e0 faire m\u00e9moriser automatiquement \u00e0 Home Assistant la valeur maximale atteinte par un capteur, aussi bien pour la journ\u00e9e que pour l'ann\u00e9e. Une automatisation simple, pratique et facilement adaptable \u00e0 vos propres projets. Tutoriel Home Assistant Enregistrer automatiquement la valeur maximale d'un capteur"},"aioseo_meta_data":{"post_id":"885","title":null,"description":null,"keywords":null,"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2026-04-26 08:33:47","updated":"2026-08-22 21:30:13","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/solaire-domotique.fr\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/solaire-domotique.fr\/index.php\/domotique\/\" title=\"Domotique\">Domotique<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/solaire-domotique.fr\/index.php\/category\/non-classe\/\" title=\"Non class\u00e9\">Non class\u00e9<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/solaire-domotique.fr\/index.php\/2026\/04\/28\/home-assistant-enregistrer-valeur-max-capteur\/\" title=\"Home Assistant : Enregistrer Valeur Max Capteur\">Home Assistant : Enregistrer Valeur Max Capteur<\/a>\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/solaire-domotique.fr\/"},{"label":"Domotique","link":"https:\/\/solaire-domotique.fr\/index.php\/domotique\/"},{"label":"Non class\u00e9","link":"https:\/\/solaire-domotique.fr\/index.php\/category\/non-classe\/"},{"label":"Home Assistant : Enregistrer Valeur Max Capteur","link":"https:\/\/solaire-domotique.fr\/index.php\/2026\/04\/28\/home-assistant-enregistrer-valeur-max-capteur\/"}],"_links":{"self":[{"href":"https:\/\/solaire-domotique.fr\/index.php\/wp-json\/wp\/v2\/posts\/885","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/solaire-domotique.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/solaire-domotique.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/solaire-domotique.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/solaire-domotique.fr\/index.php\/wp-json\/wp\/v2\/comments?post=885"}],"version-history":[{"count":13,"href":"https:\/\/solaire-domotique.fr\/index.php\/wp-json\/wp\/v2\/posts\/885\/revisions"}],"predecessor-version":[{"id":1057,"href":"https:\/\/solaire-domotique.fr\/index.php\/wp-json\/wp\/v2\/posts\/885\/revisions\/1057"}],"wp:attachment":[{"href":"https:\/\/solaire-domotique.fr\/index.php\/wp-json\/wp\/v2\/media?parent=885"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/solaire-domotique.fr\/index.php\/wp-json\/wp\/v2\/categories?post=885"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/solaire-domotique.fr\/index.php\/wp-json\/wp\/v2\/tags?post=885"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}