# ESPHome

## Specs

* ESP32-C3 supports ESP-IDF platform
* PCF8574 default address `0x20`
* Four switches are presented as eight `binary-sensors` for single click actions.
  * ESPHome functions can present multi-click and hold

## Features

* Two step process to base features in Home Assistant
  * Adopt in HA - joining Wifi should present a notification in HA - press the configure button and follow the steps
  * Download and setup blueprint \[link] to control your devices
* Base binary sensors should be set as internal to run a text sensor as a state machine for each switch. Can be rewritten for vertical orientations or use select box as an if variable.
  * Up, Down
  * 2x Up, 2x Down
  * Up Hold, Down Hold

## Code

<details>

<summary>Base </summary>

```
// Some code
```

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.vdbx.io/coming-soon-ish/flip-shift/esphome.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
