Skip to content

Commit

Permalink
Add vane position to heat pump card
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-V committed Aug 14, 2024
1 parent 7f40f46 commit f280e0b
Show file tree
Hide file tree
Showing 6 changed files with 83 additions and 16 deletions.
4 changes: 2 additions & 2 deletions blueprints/automation/alarm/clear_alarm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ blueprint:
name:
name: Name of the thing this alarm handles.
selector:
text: { }
text: {}
tag:
name: An optional tag to identify this notification.
default: ""
selector:
text: { }
text: {}

initial_state: true
max_exceeded: "silent"
Expand Down
10 changes: 5 additions & 5 deletions blueprints/automation/alarm/start_alarm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ blueprint:
description: >
Accepts an array of objects in the shape of `{title: string, action: string}`
selector:
object: { }
object: {}
default: ~
group:
name: Sensor group.
Expand All @@ -19,20 +19,20 @@ blueprint:
name:
name: Name of the thing this alarm handles.
selector:
text: { }
text: {}
silenced:
name: Silenced condition
description: Optional condition to determine if the audio broadcast is silenced.
description: Optional condition to determine if the audio broadcast is silenced.
selector:
condition: { }
condition: {}
default:
- condition: template
value_template: "{{ false }}"
tag:
name: An optional tag to identify this notification.
default: ""
selector:
template: { }
template: {}

initial_state: true
max_exceeded: "silent"
Expand Down
76 changes: 71 additions & 5 deletions dashboards/views/climate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,77 @@
- type: "thermostat"
entity: "climate.heat_pump"
name: " "
card_mod:
style: |
#info {
padding-bottom: 6px
}
show_current_as_primary: false
features:
- style: "icons"
hvac_modes:
- "off"
- "cool"
- "heat"
- "fan_only"
- "dry"
type: "climate-hvac-modes"
- style: "dropdown"
fan_modes:
- "auto"
- "low"
- "medium"
- "high"
type: "climate-fan-modes"
- type: "custom:service-call"
entries:
- type: "selector"
entity_id: "select.ground_floor_heat_pump_horizontal_vane"
options:
- option: "auto"
icon: "mdi:refresh-auto"
- option: "swing"
icon: "mdi:unfold-more-vertical"
- type: "selector"
entity_id: "select.ground_floor_heat_pump_horizontal_vane"
styles: |
:host {
flex-basis: 250%;
}
options:
- option: "left"
icon: "mdi:chevron-double-left"
- option: "left_center"
icon: "mdi:chevron-left"
- option: "center"
icon: "mdi:format-horizontal-align-center"
- option: "right_center"
icon: "mdi:chevron-right"
- option: "right"
icon: "mdi:chevron-double-left"
- type: "custom:service-call"
entries:
- type: "selector"
entity_id: "select.ground_floor_heat_pump_vertical_vane"
options:
- option: "auto"
icon: "mdi:refresh-auto"
- option: "swing"
icon: "mdi:unfold-more-horizontal"
- type: "selector"
entity_id: "select.ground_floor_heat_pump_vertical_vane"
styles: |
:host {
flex-basis: 250%;
}
options:
- option: "up"
icon: "mdi:chevron-double-up"
- option: "up_center"
icon: "mdi:chevron-up"
- option: "center"
icon: "mdi:format-vertical-align-center"
- option: "down_center"
icon: "mdi:chevron-down"
- option: "down"
icon: "mdi:chevron-double-down"


- type: "entities"
title: "Settings"
show_header_toggle: false
Expand Down
2 changes: 1 addition & 1 deletion dashboards/views/zwave-details.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
style: !template
file: ../styles/inset-icon.css.j2
variables:
svg_path: "M12,2A2,2 0 0,1 14,4C14,4.74 13.6,5.39 13,5.73V7H14A7,7 0 0,1 21,14H22A1,1 0 0,1 23,15V18A1,1 0 0,1 22,19H21V20A2,2 0 0,1 19,22H5A2,2 0 0,1 3,20V19H2A1,1 0 0,1 1,18V15A1,1 0 0,1 2,14H3A7,7 0 0,1 10,7H11V5.73C10.4,5.39 10,4.74 10,4A2,2 0 0,1 12,2M7.5,13A2.5,2.5 0 0,0 5,15.5A2.5,2.5 0 0,0 7.5,18A2.5,2.5 0 0,0 10,15.5A2.5,2.5 0 0,0 7.5,13M16.5,13A2.5,2.5 0 0,0 14,15.5A2.5,2.5 0 0,0 16.5,18A2.5,2.5 0 0,0 19,15.5A2.5,2.5 0 0,0 16.5,13Z"
svg_path: "M12,2A2,2 0 0,1 14,4C14,4.74 13.6,5.39 13,5.73V7H14A7,7 0 0,1 21,14H22A1,1 0 0,1 23,15V18A1,1 0 0,1 22,19H21V20A2,2 0 0,1 19,22H5A2,2 0 0,1 3,20V19H2A1,1 0 0,1 1,18V15A1,1 0 0,1 2,14H3A7,7 0 0,1 10,7H11V5.73C10.4,5.39 10,4.74 10,4A2,2 0 0,1 12,2M7.5,13A2.5,2.5 0 0,0 5,15.5A2.5,2.5 0 0,0 7.5,18A2.5,2.5 0 0,0 10,15.5A2.5,2.5 0 0,0 7.5,13M16.5,13A2.5,2.5 0 0,0 14,15.5A2.5,2.5 0 0,0 16.5,18A2.5,2.5 0 0,0 19,15.5A2.5,2.5 0 0,0 16.5,13Z"
show_empty: false
sort:
method: name
Expand Down
5 changes: 2 additions & 3 deletions packages/climate/mode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,9 @@ automation:
state: "on"
action:
- service: "input_select.select_option"
data:
target:
entity_id: "input_select.{{ trigger.to_state.object_id | replace('_manual_mode_reset', '_mode') }}"
data:
option: "Auto"

- alias: "revert_all_expired_manual_climate_mode"
Expand All @@ -249,5 +250,3 @@ automation:
entity_id: "input_select.{{ states[repeat.item].object_id | replace('_manual_mode_reset', '_mode') }}"
data:
option: "Auto"


2 changes: 2 additions & 0 deletions packages/ui/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ lovelace:
- { type: "module", url: "/hacsfiles/lovelace-template-entity-row/template-entity-row.js" }
- { type: "module", url: "/hacsfiles/mini-graph-card/mini-graph-card-bundle.js" }
- { type: "module", url: "/hacsfiles/restriction-card/restriction-card.js" }
- { type: "module", url: "/hacsfiles/service-call-tile-feature/custom-features-row.min.js" }
- { type: "module", url: "/hacsfiles/simple-thermostat/simple-thermostat.js" }
- { type: "module", url: "/hacsfiles/text-element/text-element.js" }


mobile_app: {}

0 comments on commit f280e0b

Please sign in to comment.