-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Version of the schedule_state component: 020.4
Configuration
sensor:
###########################################################
# definition of schedule for thermostats
# Used mode: day, night, boost, away, summer
#############################################################
- platform: schedule_state # SALON
name: Schedule salon
refresh: "6:00:00"
default_state: day
icon: mdi:calendar-check
error_icon: mdi:calendar-alert
minutes_to_refresh_on_error: 5
events:
- start: "0:00"
end: "7:00"
state: night
icon: mdi:weather-night
- start: "7:00"
end: "8:30"
state: boost
icon: mdi:thermometer-chevron-up
- start: "8:30"
end: "17:00"
state: day
icon: mdi:sun-thermometer
- start: "17:00"
end: "17:30"
state: boost
icon: mdi:thermometer-chevron-up
- start: "17:30"
end: "23:00"
state: day
icon: mdi:sun-thermometer
- start: "23:00"
state: night
icon: mdi:weather-night
- state: away
icon: mid:road-variant
condition:
- condition: state
entity_id: zone.home
state: '0'
- state: summer
icon: mdi:emoticon-cool-outline
condition:
- condition: state
entity_id: input_boolean.mode_ete
state: 'on'
Describe the bug
With above code I create 6 time driven states and 2 others based on the state of other entities. They are valid for every day of the week.
Looking at the sensor created I see 2 additional events with data not coming from my yaml config. Furthermore, the have the same state_value as one of those I defined (day).
How can this be? How can I remove those entries?
Debug log
these are the additional stuffs
- condition_key: "8"
condition_text: ""
blocks:
- event_idx: 8
start: "15:18"
end: "19:18"
original_start: "15:18"
original_end: "19:18"
wraps_start: false
wraps_end: false
state_value: day
raw_state_template: day
raw_conditions: []
condition_text: ""
icon: null
is_default_bg: false
z_index: 2
is_dynamic_color: false
- event_idx: 9
start: "16:54"
end: "20:54"
original_start: "16:54"
original_end: "20:54"
wraps_start: false
wraps_end: false
state_value: day
raw_state_template: day
raw_conditions: []
condition_text: ""
icon: null
is_default_bg: false
z_index: 2
is_dynamic_color: false
is_default_layer: false
- condition_key: default
condition_text: default
blocks:
- start: "00:00"
end: "23:59"
original_start: "00:00"
original_end: "23:59"
wraps_start: false
wraps_end: false
state_value: day
raw_state_template: day
raw_conditions: []
condition_text: default
is_default_bg: true
z_index: 1
is_dynamic_color: false
is_default_layer: true
Thanks for your support.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels