情非殇 发表于 2022-3-30 16:38 https://esphome.io/guides/automations.html
iamhyde 发表于 2022-3-31 11:01 谢谢,我看这个是设置个全局变量,让它计数?不过看不到累计的数,用Number的话HA也能看 ...