Skip to content

Commit

Permalink
Move debug sensors out of base
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenpapierski committed Aug 21, 2024
1 parent 40e8390 commit e8a7848
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 25 deletions.
24 changes: 24 additions & 0 deletions bed-presence-mk1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,30 @@ ota:
- platform: esphome
id: ota_esphome

# Debug sensors
debug:
update_interval: 5s

sensor:
- platform: uptime
type: seconds
name: "Uptime"

- platform: debug
free:
name: "Heap Free"
block:
name: "Heap Max Block"
loop_time:
name: "Loop Time"

text_sensor:
- platform: debug
device:
name: "Device Info"
reset_reason:
name: "Reset Reason"

################################################################################
packages:
remote_package:
Expand Down
25 changes: 0 additions & 25 deletions bed-presence-mk1/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,31 +29,6 @@ sensor:
entity_category: "diagnostic"
device_class: ""

# DEBUG
- platform: uptime
type: seconds
id: bed_presence_uptime
name: "Uptime"

- platform: debug
free:
name: "Heap Free"
block:
name: "Heap Max Block"
loop_time:
name: "Loop Time"

text_sensor:
- platform: debug
device:
name: "Device Info"
reset_reason:
name: "Reset Reason"

debug:
update_interval: 5s
# /DEBUG

binary_sensor:
- platform: template
name: Bed Occupied Both (Fast)
Expand Down

0 comments on commit e8a7848

Please sign in to comment.