13 Commits

3 changed files with 225 additions and 87 deletions

View File

@ -405,6 +405,8 @@ views:
to: ''
- from: Dimmer Switch
to: ''
- from: Home Tempest Cloud Sensors
to: Tempest Weather Station
collapse:
- name: 'Door Sensors (min: {min}%, count: {count})'
secondary_info: Battery levels {range}%

View File

@ -373,11 +373,11 @@ views:
show_progress_bar: true
remove_location_country: true
weather:
position: date
position: both
date:
show_conditions: true
show_high_temp: true
show_low_temp: false
show_low_temp: true
icon_size: 14px
font_size: 12px
color: var(--primary-text-color)
@ -387,6 +387,7 @@ views:
icon_size: 14px
font_size: 12px
color: var(--primary-text-color)
entity: weather.iron_nerd_studios
type: custom:calendar-card-pro
- type: grid
cards:
@ -467,13 +468,8 @@ views:
'off': No lightning detected
'on': Lightning is in the area!
content_template: '{{state}}'
- entity: binary_sensor.raining
state_map:
'off': It is not currently raining
'on': It is currently raining
unavailable: I have no idea if it is raining
unknown: I have no idea if it is raining
content_template: '{{state}}'
- entity: sensor.home_tempest_precipitation_type
name: Precipitation Type
- entity: input_boolean.recliner_mode
- entity: timer.washer_timer
state_map:
@ -3015,6 +3011,8 @@ views:
name: Day Colortemp
- entity: input_number.nighttime_colortemp_front_porch
name: Night Colortemp
- entity: input_number.front_porch_lux_threshold
name: Lux Threshold
- entity: input_number.front_porch_motion_off_delay
name: Lights Off Delay
max_columns: 4
@ -5962,10 +5960,13 @@ views:
entity: sensor.blitzortung_lightning_counter
name: Strike Counter
state_color: false
- type: map
geo_location_sources:
- blitzortung
dark_mode: true
- type: iframe
url: >-
https://map.blitzortung.org/index.php?interactive=1&Advertisment=0&Cookies=1&InfoDiv=1&MapStyle=1&LightningRangeValue=23&LightningCheckboxChecked=1&CirclesRangeValue=3&CirclesCheckboxChecked=1&LinksRangeValue=10&LinksCheckboxChecked=1&DetectorsRangeValue=15&DetectorsCheckboxChecked=1#8.50/41.28/-84.38
aspect_ratio: 100%
grid_options:
columns: full
rows: 8
visibility:
- condition: numeric_state
entity: sensor.blitzortung_lightning_counter
@ -5998,7 +5999,7 @@ views:
- type: heading
heading: Forecasts
- type: custom:weather-chart-card
entity: weather.home
entity: weather.iron_nerd_weather_station
show_main: true
show_temperature: true
show_current_condition: true
@ -6034,9 +6035,7 @@ views:
units:
pressure: ''
speed: ''
press: sensor.home_pressure
uv: sensor.home_uv_index
dew_point: sensor.home_dewpoint
show_wind_gust_speed: true
show_last_changed: true
- type: custom:weather-chart-card
@ -6079,12 +6078,12 @@ views:
heading: Temperature
- type: custom:mini-graph-card
entities:
- sensor.home_temperature
- sensor.home_tempest_temperature
name: Temperature (24h)
points_per_hour: 1
- type: custom:mini-graph-card
entities:
- sensor.home_temperature_feels_like
- sensor.home_tempest_feels_like
name: Feels Like (24h)
points_per_hour: 1
- type: custom:comfortable-environment-card
@ -6206,18 +6205,18 @@ views:
- entity: sensor.home_wind_gust
name: Gust
format: precision1
- entity: sensor.home_relative_humidity
- entity: sensor.home_tempest_humidity
type: custom:multiple-entity-row
name: Moisture
state_header: Humidity
entities:
- entity: sensor.home_dewpoint
- entity: sensor.home_tempest_dew_point
name: Dew Point
- entity: sensor.home_pressure
name: Barometric Pressure
- entity: sensor.current_season
icon: mdi:leaf
- entity: sensor.home_uv_index
- entity: sensor.home_tempest_uv_index
name: UV Index
- entity: sensor.pirateweather_cloud_coverage
name: Cloud Coverage
@ -6258,7 +6257,7 @@ views:
text_width: 5em
bar_radius: 4px
- type: custom:uv-index-card
entity: sensor.home_uv_index
entity: sensor.home_tempest_uv_index
max_columns: 4
icon: mdi:weather-cloudy
cards: []
@ -6720,42 +6719,42 @@ views:
heading: General Stats
- type: entities
entities:
- entity: sensor.home_temperature
- entity: sensor.home_tempest_temperature
type: custom:multiple-entity-row
name: Temperature
state_header: Defiance
entities:
- entity: sensor.ashland_temperature
name: Ashland
- entity: sensor.home_temperature_feels_like
- entity: sensor.home_tempest_feels_like
type: custom:multiple-entity-row
name: Feels Like
state_header: Defiance
entities:
- entity: sensor.ashland_temperature_feels_like
name: Ashland
- entity: sensor.home_relative_humidity
- entity: sensor.home_tempest_humidity
type: custom:multiple-entity-row
name: Humidity
state_header: Defiance
entities:
- entity: sensor.ashland_relative_humidity
name: Ashland
- entity: sensor.home_dewpoint
- entity: sensor.home_tempest_dew_point
type: custom:multiple-entity-row
name: Dew Point
state_header: Defiance
entities:
- entity: sensor.ashland_dewpoint
name: Ashland
- entity: sensor.home_pressure
- entity: sensor.home_tempest_cloud_sensors_sea_level_pressure
type: custom:multiple-entity-row
name: Pressure
state_header: Defiance
entities:
- entity: sensor.ashland_pressure
name: Ashland
- entity: sensor.pirateweather_uv_index
- entity: sensor.home_tempest_uv_index
type: custom:multiple-entity-row
name: UV Index
state_header: Defiance
@ -6769,7 +6768,7 @@ views:
entities:
- entity: sensor.pirateweather_ashland_cloud_coverage
name: Ashland
- entity: sensor.kdfi_visibility
- entity: sensor.home_tempest_cloud_sensors_visibility
type: custom:multiple-entity-row
name: Visibility
state_header: Defiance

View File

@ -142,6 +142,83 @@ streamline_templates:
elements:
sub_buttons:
- 1
main_button_outdoors:
defaults:
name: ''
icon: ''
navigation_path: ''
occupancy_entity: ''
temp_entity: ''
lux_entity: ''
card:
type: custom:bubble-card
card_type: button
button_type: state
entity: '[[occupancy_entity]]'
name: '[[name]]'
icon: '[[icon]]'
show_state: false
double_tap_action:
action: none
hold_action:
action: none
tap_action:
action: navigate
navigation_path: '[[navigation_path]]'
button_action:
double_tap_action:
action: none
hold_action:
action: none
tap_action:
action: navigate
navigation_path: '[[navigation_path]]'
styles_javascript: |
const occupancy = states['[[occupancy_entity]]'].state;
return `
.is-unavailable {
opacity: 0.5 !important;
}
.bubble-button-background {
opacity: 1 !important;
background-color: ${
occupancy === 'on' ? 'var(--accent-color)' : 'var(--bubble-main-background-color)'
} !important;
transition: background-color 1s !important;
}
.bubble-sub-button {
background: transparent
}
.bubble-sub-button-1 {
background-color: ${
occupancy === 'on' ? 'var(--accent-color)' : 'var(--bubble-main-background-color)'
} !important;
}
`;
sub_button:
- entity: '[[temp_entity]]'
name: Temp
show_state: true
show_name: false
tap_action:
action: navigate
navigation_path: '[[navigation_path]]'
show_background: false
- entity: '[[lux_entity]]'
show_state: true
name: Lux
tap_action:
action: navigate
navigation_path: '[[navigation_path]]'
show_background: false
modules:
- default
- temperature_colouring
temperature_colouring:
temperature_sensor: '[[temp_entity]]'
elements:
sub_buttons:
- 1
floors_separator:
defaults:
- name: ''
@ -464,28 +541,50 @@ views:
icon: mdi:calendar
heading: Calendar
heading_style: title
- type: custom:bubble-card
card_type: calendar
modules:
- default
entities:
- entities:
- entity: calendar.family
color: '#608414'
label: mdi:human-male-female-child
color: green
accent_color: green
- entity: calendar.kallen_school_days
color: deep-orange
label: mdi:school
color: orange
accent_color: orange
- entity: calendar.tony_s_twitch_schedule
color: '#A567EE'
- entity: calendar.kallen_early_release
color: '#83BC1B'
- entity: calendar.tm24fan8_gmail_com
color: '#EF2411'
- entity: calendar.irishpirate1988_gmail_com
color: '#6BFA27'
- entity: calendar.vacation
color: '#E4DF8D'
show_end: true
show_progress: true
rows: '5'
label: mdi:twitch
color: purple
accent_color: purple
- calendar.kallen_early_release
- calendar.tm24fan8_gmail_com
- calendar.irishpirate1988_gmail_com
- calendar.vacation
days_to_show: 5
week_separator_width: 1px
month_separator_width: 1px
today_indicator: dot
weekend_weekday_color: cyan
weekend_day_color: cyan
weekend_month_color: cyan
show_countdown: true
show_progress_bar: true
remove_location_country: true
weather:
position: both
date:
show_conditions: true
show_high_temp: true
show_low_temp: true
icon_size: 14px
font_size: 12px
color: var(--primary-text-color)
event:
show_conditions: true
show_temp: true
icon_size: 14px
font_size: 12px
color: var(--primary-text-color)
entity: weather.iron_nerd_weather_station
type: custom:calendar-card-pro
- type: grid
cards:
- type: heading
@ -841,40 +940,15 @@ views:
- icon: hue:room-outdoors
- power_entity: sensor.outside_lights_power_sensor
- lights_entity: light.outside_lights
- type: custom:bubble-card
card_type: button
button_type: state
entity: binary_sensor.front_doorbell_motion_mqtt
name: Front Porch
icon: hue:room-porch
show_state: false
double_tap_action:
action: none
hold_action:
action: none
button_action:
double_tap_action:
action: none
hold_action:
action: none
tap_action:
action: navigate
navigation_path: '#front-porch'
styles: |-
.is-unavailable {
opacity: 0.5 !important;
}
.bubble-button-background {
opacity: 1 !important;
background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--bubble-main-background-color)'} !important;
transition: background-color 1s !important;
}
tap_action:
action: navigate
navigation_path: '#front-porch'
sub_button: []
modules:
- default
- type: custom:streamline-card
template: main_button_outdoors
variables:
- name: Front Porch
- icon: hue:room-porch
- navigation_path: '#front-porch'
- occupancy_entity: binary_sensor.front_doorbell_motion_mqtt
- temp_entity: sensor.home_tempest_temperature
- lux_entity: sensor.home_tempest_illuminance
- type: custom:streamline-card
template: floors_separator
variables:
@ -1147,11 +1221,24 @@ views:
opacity: 1 !important;
background-color: ${state === 'on' ? 'var(--success-color)' : 'var(--background-color-2)'} !important;
}
modules:
- default
- type: horizontal-stack
cards:
- type: custom:bubble-card
card_type: button
button_type: state
name: Lux
modules:
- default
entity: sensor.home_tempest_illuminance
- type: custom:bubble-card
card_type: empty-column
- type: custom:streamline-card
template: popup_timer_card
variables:
- name: Lights Timer
- entity: timer.front_porch_motion_timer
name: Lights Timer
entity: timer.front_porch_motion_timer
- type: vertical-stack
cards:
- type: custom:bubble-card
@ -3238,6 +3325,8 @@ views:
button_type: name
name: Batteries
icon: mdi:battery-charging
modules:
- default
- type: custom:battery-state-card
sort_by_level: asc
bulk_rename:
@ -3247,6 +3336,8 @@ views:
to: ''
- from: Dimmer Switch
to: ''
- from: Home Tempest Cloud Sensors
to: Tempest Weather Station
collapse:
- name: 'Door Sensors (min: {min}%, count: {count})'
secondary_info: Battery levels {range}%
@ -3255,7 +3346,7 @@ views:
- sensor.front_door_battery
- sensor.back_door_battery
- sensor.basement_studio_door_battery
- sensor.downstairs_bathroom_door_battery
- sensor.emma_bedroom_door_battery
- name: 'Window Sensors (min: {min}%, count: {count})'
secondary_info: Battery levels {range}%
icon: mdi:window-closed
@ -3598,8 +3689,9 @@ views:
state: 'on'
- type: custom:mushroom-template-badge
content: >-
{{ states('sensor.blitzortung_lightning_counter') }} lightning strikes
nearby!
{{
states('sensor.home_tempest_cloud_sensors_lightning_strikes_last_hour')
}} strikes in last hour!
icon: mdi:lightning-bolt
color: |-
{% if is_state('binary_sensor.lightning_warning','on') %}
@ -3694,6 +3786,51 @@ views:
- condition: state
entity: binary_sensor.emma_bedroom_door
state: 'on'
- type: custom:mushroom-template-badge
content: |-
{% if is_state('input_boolean.school_cancelled','on') %}
Cancelled
{% elif is_state('input_boolean.two_hour_delay','on') %}
Two Hour Delay
{% else %}
On Time
{% endif %}
icon: |-
{% if is_state('input_boolean.school_cancelled','on') %}
m3rf:cancel
{% elif is_state('input_boolean.two_hour_delay','on') %}
m3rf:clock-arrow-up
{% else %}
m3rf:check-circle
{% endif %}
color: |-
{% if is_state('input_boolean.school_cancelled','on') %}
red
{% elif is_state('input_boolean.two_hour_delay','on') %}
yellow
{% else %}
green
{% endif %}
label: School Status
tap_action:
action: url
url_path: https://1057thebull.iheart.com/content/school-delays/
hold_action:
action: none
double_tap_action:
action: none
visibility:
- condition: or
conditions:
- condition: state
entity: input_boolean.kallen_school_today
state: 'on'
- condition: state
entity: input_boolean.two_hour_delay
state: 'on'
- condition: state
entity: input_boolean.school_cancelled
state: 'on'
- type: custom:mushroom-template-badge
content: |-
{% if is_state(entity,'on') %}