Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions content/components/sensor/dallas_temp.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
- All other options from [Sensor](/components/sensor).
### Byte Order of the Address

Check failure on line 49 in content/components/sensor/dallas_temp.md

View workflow job for this annotation

GitHub Actions / Lint

Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "### Byte Order of the Address"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Add a blank line before the heading.

The linting check requires headings to be surrounded by blank lines. Add a blank line between line 48 and the heading.

🔎 Proposed fix
  - All other options from [Sensor](/components/sensor).

~
### Byte Order of the Address
🧰 Tools
🪛 GitHub Check: Lint

[failure] 49-49:
Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "### Byte Order of the Address"]

🤖 Prompt for AI Agents
In content/components/sensor/dallas_temp.md around line 49, the heading "###
Byte Order of the Address" is not preceded by a blank line; add a single blank
line between line 48 and this heading so the heading is surrounded by blank
lines to satisfy the lint rule.

EspHome (most recent version 2026-January) - uses reversed order of the bytes, compared to the Arduino IDE. That means, if you have an address for a sensor via the Arduino IDE that says 0x2870F5E0161301C7 - then you have to use 0xc7011316e0f57028 in EspHome. The bytes are pairwise ordered in reverse. The Arduino IDE version ends in the above example with c7 - the EspHome version the same address starts with c7. - The other pairs accordingly. The arduino IDE is LSB‑first. While EspHome is MSB‑first.
If you don't have the addresses, use index instead of addresses for the first run. EspHome will print the addresses on the log at first use with index. After that, try with addresses, if you want.
### See Also
- [Arduino DallasTemperature library](https://github.com/milesburton/Arduino-Temperature-Control-Library)
Expand Down
Loading