Adjust threshold values and set min_version
This commit is contained in:
parent
647e6711b8
commit
28b76d0508
@ -27,6 +27,7 @@ esphome:
|
|||||||
project:
|
project:
|
||||||
name: joshuaboniface.supersensor
|
name: joshuaboniface.supersensor
|
||||||
version: "2.0"
|
version: "2.0"
|
||||||
|
min_version: 2025.5.0
|
||||||
on_boot:
|
on_boot:
|
||||||
- priority: 600
|
- priority: 600
|
||||||
then:
|
then:
|
||||||
@ -52,6 +53,9 @@ esphome:
|
|||||||
- delay: 2s
|
- delay: 2s
|
||||||
- switch.turn_on: voice_support_active
|
- switch.turn_on: voice_support_active
|
||||||
|
|
||||||
|
preferences:
|
||||||
|
flash_write_interval: 15sec
|
||||||
|
|
||||||
dashboard_import:
|
dashboard_import:
|
||||||
package_import_url: github://joshuaboniface/supersensor2/supersensor.yaml
|
package_import_url: github://joshuaboniface/supersensor2/supersensor.yaml
|
||||||
|
|
||||||
@ -257,9 +261,6 @@ script:
|
|||||||
id(supersensor_occupancy).publish_state(new_state);
|
id(supersensor_occupancy).publish_state(new_state);
|
||||||
}
|
}
|
||||||
|
|
||||||
preferences:
|
|
||||||
flash_write_interval: 15sec
|
|
||||||
|
|
||||||
logger:
|
logger:
|
||||||
level: INFO
|
level: INFO
|
||||||
baud_rate: 115200
|
baud_rate: 115200
|
||||||
@ -698,7 +699,9 @@ binary_sensor:
|
|||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: "PIR GPIO"
|
name: "PIR GPIO"
|
||||||
id: pir_gpio
|
id: pir_gpio
|
||||||
pin: GPIO32
|
pin:
|
||||||
|
number: GPIO32
|
||||||
|
mode: INPUT_PULLUP
|
||||||
internal: false
|
internal: false
|
||||||
device_class: motion
|
device_class: motion
|
||||||
on_press:
|
on_press:
|
||||||
@ -812,12 +815,12 @@ switch:
|
|||||||
|
|
||||||
number:
|
number:
|
||||||
# Temperature offset:
|
# Temperature offset:
|
||||||
# A calibration from -10 to +5 for the temperature sensor
|
# A calibration from -30 to +5 for the temperature sensor
|
||||||
- platform: template
|
- platform: template
|
||||||
name: "Temperature Offset"
|
name: "Temperature Offset"
|
||||||
id: temperature_offset_setter
|
id: temperature_offset_setter
|
||||||
min_value: -10
|
min_value: -30
|
||||||
max_value: 5
|
max_value: 10
|
||||||
step: 0.1
|
step: 0.1
|
||||||
lambda: |-
|
lambda: |-
|
||||||
return id(temperature_offset);
|
return id(temperature_offset);
|
||||||
@ -828,12 +831,12 @@ number:
|
|||||||
value: !lambda 'return float(x);'
|
value: !lambda 'return float(x);'
|
||||||
|
|
||||||
# Humidity offset:
|
# Humidity offset:
|
||||||
# A calibration from -10 to +10 for the humidity sensor
|
# A calibration from -20 to +20 for the humidity sensor
|
||||||
- platform: template
|
- platform: template
|
||||||
name: "Humidity Offset"
|
name: "Humidity Offset"
|
||||||
id: humidity_offset_setter
|
id: humidity_offset_setter
|
||||||
min_value: -10
|
min_value: -20
|
||||||
max_value: 10
|
max_value: 20
|
||||||
step: 0.1
|
step: 0.1
|
||||||
lambda: |-
|
lambda: |-
|
||||||
return id(humidity_offset);
|
return id(humidity_offset);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user