[ags10] Fix wrong type passed to cg.templatable for set_zero_point mode (#15467)

This commit is contained in:
Jonathan Swoboda
2026-04-05 22:48:00 -04:00
committed by GitHub
parent 07f6be679f
commit aac74f4c94
2 changed files with 18 additions and 3 deletions
+11
View File
@@ -4,3 +4,14 @@ sensor:
tvoc:
name: AGS10 TVOC
update_interval: 60s
button:
- platform: template
name: "Test AGS10 Actions"
on_press:
- ags10.set_zero_point:
id: ags10_1
mode: CURRENT_VALUE
- ags10.new_i2c_address:
id: ags10_1
address: 0x1A