-platform:esphome#Device Specific Configuart:rx_pin:RXbaud_rate:4800binary_sensor: -platform:gpiopin:number:GPIO0mode:INPUT_PULLUPinverted:Truename:"s31-plug-03 Button"on_press: -switch.toggle:relay-platform:statusname:"s31-plug-03 Status"sensor: -platform:wifi_signalname:"s31-plug-03 WiFi S...
button: -platform:templatename:"Run Bot2 Script1"on_press: -lambda:|-id(bot_2).run(0);-platform:templatename:"Run Bot2 Script3"on_press: -lambda:|-id(bot_2).run(2);-platform:templatename:"Run Bot2 Default Script"on_press: -lambda:|-id(bot_2).run(); ...
Power on the smart plug and put it in linking mode, e.g. 5s button press until the LED blinks fast. MyAoycocrplug immediately went into linking mode when powered on, and I did not have to press any buttons. After a few seconds the device will connect to the AP hosted by the Tuya...
INPUT_PULLUP inverted: True name: ${devicename} button on_press: switch.toggle: relay output: - platform: esp8266_pwm id: sonoff_led pin: number: GPIO13 inverted: True #This turns on an LED when the plug is activelight: - platform: monochromatic name: ${devicename} LED output: sonoff...
Configuration for the binary sensor (Boot Switch)binary_sensor: - platform: gpio pin: number: GPIO2 mode: input: true pullup: true name: Boot Switch internal: true on_press: - voice_assistant.start: - light.turn_off: light0 on_release: - voice_assistant.stop: - light.turn_on: light...
If it asks you for the IP address of your ESPHome instance enter the IP address of the light bulb and then press “Submit”. After this your device should be configured within Home Assistant. If you go to your main dashboard you should see your new light with an option to turn it on...
After activating the mmWave sensor kit, itsgroup is automatically added to the Home Assistant’s Dashboard. Clicking “PRESS” shows you a bunch of values the kit reads, but to make it truly useful, you can customize the Dashboard to display specific ones. For example, the “distance” rea...
on_press: then: - script.execute: stepper_backward_full sensor: - platform: homeassistant id: power_production # Replace this with your home assistant power entity ID entity_id: sensor.your_power_sensor unit_of_measurement: kW device_class: power state_class: measurement on_value: then: -...
on_press: # - cc1101.begin_tx: transceiver - remote_transmitter.transmit_rc_switch_raw_cc1101: code: '0111000110010011110110010100011111110001001011110111' protocol: pulse_length: 434 sync: [1,6] zero: [1,2] one: [2,1] inverted: true repeat: times: 10 # - cc1101.end_tx: transceiver Tran...
-platform:gpiopin:number:GPIO13inverted:Truename:"${plug_name}_button"on_press: -switch.toggle:switch1output: -platform:gpiopin:GPIO15id:relay-platform:gpiopin:GPIO00inverted:Trueid:led1status_led:pin:number:GPIO02inverted:Trueswitch: