Why does text_sensor repeat in the log every 60 sec, once published?
It won’t occur if I delete that line. How can I stop this?
[23:11:52][D][text_sensor:067]: ‘displaytext3’: Sending state ‘AFTER API’
[23:12:52][D][text_sensor:067]: ‘displaytext3’: Sending state ‘AFTER API’
[23:13:52][D][text_sensor:067]: ‘displaytext3’: Sending state ‘AFTER API’
[23:14:52][D][text_sensor:067]: ‘displaytext3’: Sending state ‘AFTER API’
[23:15:52][D][text_sensor:067]: ‘displaytext3’: Sending state ‘AFTER API’
text_sensor:
- platform: template
id: displaytext3
esphome:
name: huzzahwin9b
on_boot:
priority: 600
then:
#...
# LOG MSG WILL NOT OCCUR AND REPEAT IF NEVER PUBLISHED, NEXT LINE
- lambda: 'id(displaytext3).publish_state("AFTER API");'
display:
- platform: ssd1306_i2c
model: "SSD1306 128x64"
# reset_pin: D0
address: 0x3C
lambda: |-
it.printf(0, 0, id(myfont14), "State: %s", id(displaytext3).state.c_str());