[at581x] Fix codegen crash when using lambdas for frequency/time/power (#15468)

This commit is contained in:
Jonathan Swoboda
2026-04-06 00:05:04 -04:00
committed by GitHub
parent 1de94c1a84
commit 7644f17cf6
2 changed files with 17 additions and 20 deletions
+5
View File
@@ -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