Skip to content

Commit

Permalink
Fix for ESPHome 2024.10
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjswan committed Oct 31, 2024
1 parent f269eee commit 1cccefb
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 13 deletions.
15 changes: 10 additions & 5 deletions devices/atom-svitlobot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ light:
rmt_channel: 0
chipset: SK6812
restore_mode: ALWAYS_OFF
web_server_sorting_weight: 5
web_server:
sorting_weight: 5

text:
- platform: template
Expand All @@ -212,14 +213,16 @@ text:
icon: mdi:key-chain-variant
entity_category: config
disabled_by_default: true
web_server_sorting_weight: 5
web_server:
sorting_weight: 5

binary_sensor:
- platform: template
name: "${friendly_name} Status"
id: send_status
icon: mdi:lan-connect
web_server_sorting_weight: 3
web_server:
sorting_weight: 3

sensor:
- platform: template
Expand All @@ -235,7 +238,8 @@ sensor:
unit_of_measurement: "%"
icon: mdi:wan
state_class: measurement
web_server_sorting_weight: 5
web_server:
sorting_weight: 5
on_value_range:
- above: 1.0
below: 90.0
Expand Down Expand Up @@ -309,4 +313,5 @@ update:
name: "${friendly_name} Firmware Update"
source: https://andrewjswan.github.io/svitlobot/devices/${name}-manifest.json
icon: mdi:update
web_server_sorting_weight: 15
web_server:
sorting_weight: 15
12 changes: 8 additions & 4 deletions devices/esp32c6-svitlobot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,14 +155,16 @@ text:
icon: mdi:key-chain-variant
entity_category: config
disabled_by_default: true
web_server_sorting_weight: 5
web_server:
sorting_weight: 5

binary_sensor:
- platform: template
name: "${friendly_name} Status"
id: send_status
icon: mdi:lan-connect
web_server_sorting_weight: 3
web_server:
sorting_weight: 3

sensor:
- platform: template
Expand All @@ -178,7 +180,8 @@ sensor:
unit_of_measurement: "%"
icon: mdi:wan
state_class: measurement
web_server_sorting_weight: 5
web_server:
sorting_weight: 5
on_value_range:
- above: 1.0
below: 90.0
Expand Down Expand Up @@ -252,4 +255,5 @@ update:
name: "${friendly_name} Firmware Update"
source: https://andrewjswan.github.io/svitlobot/devices/${name}-manifest.json
icon: mdi:update
web_server_sorting_weight: 15
web_server:
sorting_weight: 15
3 changes: 2 additions & 1 deletion packages/http_ota.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ update:
name: "${friendly_name} Firmware Update"
source: https://andrewjswan.github.io/svitlobot/manifest.json
icon: mdi:update
web_server_sorting_weight: 15
web_server:
sorting_weight: 15
9 changes: 6 additions & 3 deletions packages/svitlobot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,16 @@ text:
icon: mdi:key-chain-variant
entity_category: config
disabled_by_default: true
web_server_sorting_weight: 5
web_server:
sorting_weight: 5

binary_sensor:
- platform: template
name: "${friendly_name} Status"
id: send_status
icon: mdi:lan-connect
web_server_sorting_weight: 3
web_server:
sorting_weight: 3

sensor:
- platform: template
Expand All @@ -108,7 +110,8 @@ sensor:
unit_of_measurement: "%"
icon: mdi:wan
state_class: measurement
web_server_sorting_weight: 5
web_server:
sorting_weight: 5
on_value_range:
- above: 1.0
below: 90.0
Expand Down

0 comments on commit 1cccefb

Please sign in to comment.