binary_sensor: - platform: ld2410 has_target: name: Radar Target id: radar_has_target has_moving_target: name: Radar Moving Target has_still_target: name: Radar Still Target ## Set Up Radar Zones Based On Dista
''template:-binary_sensor:-name:BLEGatewayAddDevicestate:"{{ (state_attr('binary_sensor.ble_...
binary_sensor:-platform:template name:"chufang 1"lambda:|- if (100*id(distance05).state < id...
- binary_sensor.template.publish: id: is_motor_running state: OFF # The position switch is ok, clear any error. - script.stop: flash_pos_switch_error - switch.turn_on: led_red #--- - platform: gpio pin: number: GPIO2 id: unknown_usage #---...
[template/binary_sensor] Implementcondition:option as alternative to lambda.esphome#7561by@clydebarrow Bump actions/upload-artifact from 4.4.1 to 4.4.2esphome#7569by@dependabot[bot] Bump actions/cache from 4.1.0 to 4.1.1esphome#7570by@dependabot[bot] ...
The problem Consider the following YAML binary_sensor: - platform: template name: "" device_class: gas lambda: 'return true;' - platform: template name: "" device_class: lock lambda: 'return true;' - platform: template name: "xyz" device...
I tried to use ATOM Matrix in Ephome,here is a template that i hoping to be helpful to you. 我尝试在esphome中使用它,可以驱动大部分组件,并接入homeassistant。希望对你有所帮助。 分别使用了角速度仪、线速度仪(mpu6886),灯板,按钮。均可以在homeassistant中进行操作。
template name: ${devicename} relay optimistic: true id: relayandled turn_on_action: switch.turn_on: relay light.turn_on: led turn_off_action: switch.turn_off: relay light.turn_off: led # The following can be omitted - platform: restart name: ${devicename} restart sensor: - platform:...
id(relay1).turn_on(); }-platform:template#全部关闭name:"gree_fan_off"#output: realy0id:...
binary_sensor: - platform: ld2410 has_target: name: Radar Target id: radar_has_target has_moving_target: name: Radar Moving Target has_still_target: name: Radar Still Target ## Set Up Radar Zones Based On Distance - platform: template ...