i- title: ECS Pilotage path: ecs-pilotage icon: mdi:water-boiler cards: - type: vertical-stack cards: - type: custom:mushroom-title-card title: Chauffe-eau thermodynamique subtitle: Pilotage quotidien ECS - type: custom:mushroom-chips-card chips: - type: entity entity: switch.tt_chauffe_eau_pleumeur_switch name: Alim ECS icon_color: >- {% if is_state('switch.tt_chauffe_eau_pleumeur_switch','on') %} green {% else %} grey {% endif %} - type: entity entity: input_select.victron_water_heater_recommended_mode name: Conseil - type: entity entity: input_select.victron_water_heater_advice_color name: Couleur - type: entity entity: input_text.victron_water_heater_observed_regime name: Régime - type: entity entity: input_boolean.victron_evcs_priority_active name: EVCS icon_color: >- {% if is_state('input_boolean.victron_evcs_priority_active','on') %} red {% else %} grey {% endif %} - type: custom:mushroom-template-card primary: >- {% set mode = states('input_select.victron_water_heater_recommended_mode') %} {% set color = states('input_select.victron_water_heater_advice_color') %} Conseil ECS : {{ mode|upper }} / {{ color|upper }} secondary: >- {{ states('input_text.victron_water_heater_advice_state') }} icon: mdi:water-boiler icon_color: >- {% set c = states('input_select.victron_water_heater_advice_color') %} {% if c == 'green' %} green {% elif c == 'orange' %} orange {% else %} red {% endif %} multiline_secondary: true tap_action: action: more-info entity: input_text.victron_water_heater_advice_state - type: horizontal-stack cards: - type: custom:mushroom-entity-card entity: input_number.victron_water_heater_observed_power_w name: Puissance observée icon: mdi:flash icon_color: amber - type: custom:mushroom-entity-card entity: sensor.tt_chauffe_eau_pleumeur_energie_totale name: Compteur ECS icon: mdi:counter icon_color: blue - type: horizontal-stack cards: - type: custom:mushroom-entity-card entity: input_number.victron_water_heater_projected_end_of_day_soc name: SOC projeté icon: mdi:battery icon_color: green - type: custom:mushroom-entity-card entity: input_number.victron_water_heater_budget_margin_kwh name: Marge budget icon: mdi:scale-balance icon_color: >- {% if states('input_number.victron_water_heater_budget_margin_kwh')|float(0) >= 0 %} green {% else %} red {% endif %} - type: custom:mushroom-entity-card entity: input_select.victron_water_heater_hot_water_demand name: Demande ECS icon: mdi:shower icon_color: blue - type: conditional conditions: - entity: input_boolean.victron_evcs_priority_active state: "on" card: type: custom:mushroom-template-card entity: input_boolean.victron_evcs_priority_active primary: EVCS prioritaire secondary: >- {{ states('input_text.victron_energy_priority_reason') }} {% if states('input_datetime.victron_evcs_priority_until') not in ['unknown','unavailable',''] %} • jusqu'à {{ states('input_datetime.victron_evcs_priority_until') }} {% endif %} icon: mdi:car-electric icon_color: red multiline_secondary: true - type: conditional conditions: - entity: input_text.victron_water_heater_pending_user_action state_not: "" card: type: custom:mushroom-template-card entity: input_text.victron_water_heater_pending_user_action primary: Action utilisateur conseillée secondary: "{{ states('input_text.victron_water_heater_pending_user_action') }}" icon: mdi:account-alert icon_color: orange multiline_secondary: true - type: conditional conditions: - entity: input_boolean.victron_water_heater_forced_off_by_advisor state: "on" card: type: custom:mushroom-template-card entity: input_boolean.victron_water_heater_forced_off_by_advisor primary: ECS coupé par l'advisor secondary: >- {{ states('input_text.victron_water_heater_forced_off_reason') }} icon: mdi:power-plug-off icon_color: red multiline_secondary: true - type: custom:mushroom-entity-card entity: switch.tt_chauffe_eau_pleumeur_switch name: Alimentation chauffe-eau icon: mdi:power icon_color: >- {% if is_state('switch.tt_chauffe_eau_pleumeur_switch','on') %} green {% else %} grey {% endif %} tap_action: action: toggle - type: entities title: Détail rapide entities: - entity: input_text.victron_water_heater_advice_reason name: Raison - entity: input_text.victron_water_heater_observed_regime name: Régime observé - entity: input_number.victron_load_water_heater_kwh name: Charge ECS retenue - entity: input_boolean.victron_water_heater_advisor_enabled name: Advisor activé - entity: input_boolean.victron_water_heater_notifications name: Notifications