Skip to content

Commit

Permalink
Merge pull request #8 from hostcc/feature/update-dependencies
Browse files Browse the repository at this point in the history
ESPHome version update
  • Loading branch information
hostcc authored Oct 18, 2023
2 parents 6b8149f + 355cc3a commit b24a749
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
6 changes: 4 additions & 2 deletions controllers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
# Copyright (c) 2023 Ilia Sotnikov
---
esphome:
# Required for proper resume handling
min_version: '2023.7.0'
# Required for proper resume handling and avoiding crash at startup when
# winter mode enabled
min_version: '2023.10.0'

sprinkler:
- id: lawn_sprinklers
Expand Down Expand Up @@ -194,6 +195,7 @@ switch:
- platform: template
id: winter_mode
name: "Winter mode"
icon: "mdi:snowflake"
optimistic: true
restore_mode: RESTORE_DEFAULT_OFF
entity_category: config
Expand Down
9 changes: 2 additions & 7 deletions main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ packages:
time: !include time.yaml # Optional
rtc: !include rtc.yaml # Optional

# Both recent ESPHome version and PR below are needed to avoid crashing at
# startup when winter mode enabled
# 2023.10.0 addresses Pillow security vulnerability
esphome:
min_version: 2023.9.3

external_components:
- source: github://pr#5499
components: [sprinkler]
min_version: '2023.10.0'
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
esphome>=2023.7.0
pillow~=9.5
esphome>=2023.10.0
pillow==10.0.1

0 comments on commit b24a749

Please sign in to comment.