Skip to content

Instantly share code, notes, and snippets.

@bessarabov
Created January 4, 2021 11:32
Show Gist options
  • Save bessarabov/652c0fe2d40663252259cc24c3058cb7 to your computer and use it in GitHub Desktop.
Save bessarabov/652c0fe2d40663252259cc24c3058cb7 to your computer and use it in GitHub Desktop.
esphome:
name: display1
platform: ESP8266
board: nodemcuv2
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
logger:
api:
password: !secret api_password
ota:
password: !secret ota_password
display:
platform: tm1637
clk_pin: D2
dio_pin: D1
update_interval: 500ms
lambda: |-
it.print( id(display1).state.c_str() );
text_sensor:
- platform: homeassistant
name: "Display1"
id: display1
entity_id: input_text.display1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment