mirror of
https://github.com/esphome/esphome.git
synced 2026-05-30 07:16:11 +08:00
[at581x] Fix codegen crash when using lambdas for frequency/time/power (#15468)
This commit is contained in:
@@ -12,6 +12,11 @@ esphome:
|
||||
trigger_keep: 10s
|
||||
stage_gain: 3
|
||||
power_consumption: 70uA
|
||||
- at581x.settings:
|
||||
id: waveradar
|
||||
frequency: !lambda "return 5800;"
|
||||
poweron_selfcheck_time: !lambda "return 2000;"
|
||||
power_consumption: !lambda "return 70;"
|
||||
- at581x.reset:
|
||||
id: waveradar
|
||||
|
||||
|
||||
Reference in New Issue
Block a user