Jonathan Swoboda
6ffcb821ca
[clang-tidy] Concatenate nested namespaces (6/7: components t-z) ( #16305 )
2026-05-08 01:13:38 +00:00
J. Nick Koston
d37f8876d7
[bthome_mithermometer][xiaomi_ble] Migrate CCM to PSA AEAD API for ESP-IDF 6.0 ( #14816 )
2026-03-14 13:39:07 -10:00
Jonathan Swoboda and Claude Opus 4.6
d11e7cab46
[xiaomi_ble][pvvx_mithermometer][atc_mithermometer] Add BLE service data bounds checks ( #14514 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-05 20:18:54 +00:00
J. Nick Koston
a6adc29b14
[xiaomi_ble] Reduce heap allocations with stack-based string formatting ( #12992 )
2026-01-05 17:20:51 -10:00
J. Nick Koston
d946ddabfd
[xiaomi_ble] Use stack-based hex formatting in verbose logging ( #12793 )
2026-01-02 16:37:16 -10:00
Keith Burzinski
9f831e91b3
[helpers] Add `format_mac_address_pretty` function, migrate components ( #9193 )
2025-06-25 12:36:33 +12:00
Severin von Wnuck-Lipinski
c612985930
Add support for Xiaomi XMWSDJ04MMC ( #8591 )
2025-06-18 21:49:39 +12:00
dependabot[bot]
4adda632bb
Bump ruff from 0.9.2 to 0.11.0 ( #8409 )
2025-03-20 09:51:23 -10:00
Keith Burzinski
72df3d1606
[xiaomi_ble] clang-tidy fixes for #7822 ( #7860 )
2024-11-26 10:37:20 +01:00
juanluss31
fc146dabed
Add support for LYWSD02MMC Xiaomi device ( #7080 )
2024-08-13 13:12:48 +12:00
Oxan van Leeuwen and Jesse Hills
14e38f0469
Upgrade clang-format to v13 ( #4535 )
...
* Upgrade clang-format to v13
* Apply clang-format-13 formatting changes
* Format
* Format bme_680
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-03-20 03:38:41 +00:00
Jesse Hills
9273e3775b
Add vector includes ( #4080 )
2022-11-24 13:12:55 +13:00
Jesse Hills
da336247eb
Add Xiaomi RTCGQ02LM - Mi Motion Sensor 2 ( #3186 )
2022-04-12 16:19:16 +12:00
drug123
0f3d4d9a47
Add Xiaomi MHOC303 sensor e-ink clock ( #3115 )
2022-01-27 12:54:29 +13:00
Oxan van Leeuwen
beeb0c7c5a
Introduce hex parsing & formatting helper functions ( #2882 )
2021-12-13 09:15:23 +13:00
Oxan van Leeuwen
607601b3a4
Enable a bunch of clang-tidy checks ( #2149 )
2021-12-02 09:03:51 +13:00
Otto Winter and Jesse Hills
ac0d921413
ESP-IDF support and generic target platforms ( #2303 )
...
* Socket refactor and SSL
* esp-idf temp
* Fixes
* Echo component and noise
* Add noise API transport support
* Updates
* ESP-IDF
* Complete
* Fixes
* Fixes
* Versions update
* New i2c APIs
* Complete i2c refactor
* SPI migration
* Revert ESP Preferences migration, too complex for now
* OTA support
* Remove echo again
* Remove ssl again
* GPIOFlags updates
* Rename esphal and ICACHE_RAM_ATTR
* Make ESP32 arduino compilable again
* Fix GPIO flags
* Complete pin registry refactor and fixes
* Fixes to make test1 compile
* Remove sdkconfig file
* Ignore sdkconfig file
* Fixes in reviewing
* Make test2 compile
* Make test4 compile
* Make test5 compile
* Run clang-format
* Fix lint errors
* Use esp-idf APIs instead of btStart
* Another round of fixes
* Start implementing ESP8266
* Make test3 compile
* Guard esp8266 code
* Lint
* Reformat
* Fixes
* Fixes v2
* more fixes
* ESP-IDF tidy target
* Convert ARDUINO_ARCH_ESPxx
* Update WiFiSignalSensor
* Update time ifdefs
* OTA needs millis from hal
* RestartSwitch needs delay from hal
* ESP-IDF Uart
* Fix OTA blank password
* Allow setting sdkconfig
* Fix idf partitions and allow setting sdkconfig from yaml
* Re-add read/write compat APIs and fix esp8266 uart
* Fix esp8266 store log strings in flash
* Fix ESP32 arduino preferences not initialized
* Update ifdefs
* Change how sdkconfig change is detected
* Add checks to ci-custom and fix them
* Run clang-format
* Add esp-idf clang-tidy target and fix errors
* Fixes from clang-tidy idf round 2
* Fixes from compiling tests with esp-idf
* Run clang-format
* Switch test5.yaml to esp-idf
* Implement ESP8266 Preferences
* Lint
* Re-do PIO package version selection a bit
* Fix arduinoespressif32 package version
* Fix unit tests
* Lint
* Lint fixes
* Fix readv/writev not defined
* Fix graphing component
* Re-add all old options from core/config.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-09-20 11:47:51 +02:00
40c474cd83
Run clang-tidy against ESP32 ( #2147 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: Otto winter <otto@otto-winter.com >
2021-09-13 18:11:27 +02:00
Tom Matheussen and Jesse Hills
b92311402a
Adds CGPR1 - Qingping Motion & Ambient light sensor support ( #1675 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-08-10 17:06:04 +12:00
a3dcac62f9
Fix a bunch of typos ( #2058 )
...
Co-authored-by: Stefan Agner <stefan@agner.ch >
Co-authored-by: Otto Winter <otto@otto-winter.com >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-07-26 14:48:57 +02:00
Stefan Agner
501f88ca86
Avoid non-const globals and enable clang-tidy check ( #1892 )
2021-06-11 08:19:44 +12:00
zaluthar and Jesse Hills
f39c0d52ee
Added support for Xiaomi CGDK2 ( #1451 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-06-01 20:26:38 +12:00
Otto Winter
2376a2c941
Convert components to async-def syntax ( #1821 )
2021-05-24 10:58:29 +02:00
Diego Elio Pettenò
a6255c31fe
Add optional bindkey support for CGG1. ( #1407 )
2021-03-26 07:33:06 +13:00
Guillermo Ruffino
69879920eb
add-black ( #1593 )
...
* Add black
Update pre commit
Update pre commit
add empty line
* Format with black
2021-03-07 16:03:16 -03:00
1d378e416d
Add support for MHO-C401 ( #1486 )
...
Committer: nikito7
Co-authored-by: vevsvevs <v-v@mail.ru >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: nikito7 <root@vbox.lan >
2021-01-27 20:14:43 +13:00
Dan Jackson
5df398ec31
Add encode_uint32 method ( #1427 )
2021-01-10 17:53:12 +13:00
Alexander Leisentritt
0c87a9ad2c
Fix Xiaomi merged packet parsing ( #1293 )
...
* Fix Xiaomi merged packet parsing
solves #1500
* renamed variables and updated payload and value checking
* renamed function and parameter
* add function to header
* changed log message
2020-10-12 23:06:09 -03:00
Alexander Pohl
3fba3a5e2e
Add support for additional Xiaomi BLE sensors ( #1027 ) ( #1027 )
2020-05-26 19:33:28 -03:00
Mario
a55787f40c
Support a further variant of Xiaomi CGG1 ( #930 )
2020-01-14 10:34:49 +01:00
Otto Winter
33c08812cc
Update ESP32 BLE ADV parse to match BLE spec ( #904 )
...
* Update ESP32 BLE ADV parse to match BLE spec
* Update xiaomi
* Update ruuvi
* Format
* Update esp32_ble_tracker.cpp
* Fix log
* Format
* Update xiaomi_ble.cpp
2019-12-04 17:12:26 +01:00
Alexander Leisentritt
90f909d2ea
refactored xiaomi ble data parsing ( #823 )
2019-11-02 18:55:10 +01:00
Alexander Leisentritt
45736707bd
fix CGG1 log message ( #757 )
2019-10-17 14:02:41 +02:00
Alexander Leisentritt
cdfbe5b523
refactored xiaomi sensors ( #755 )
...
* refactored xiaomi sensors
* fix lint
* fixed and added tests
* fix namespace
* LYWSD02 has no battery level
* fixed enum
* fix
* fix case
* fix spaces in empty line...
* inform users of old sensors about the change
2019-10-16 13:29:56 +02:00
Sergio Mayoral Martínez and t151602
e30512931b
Add Xiaomi Cleargrass Temperature and Humidity Sensor ( #735 )
...
* Add Xiaomi Cleargrass Temperature and Humidity Sensor
* fix CI Travis
* fix CI Travis 2
* Improve device detection (more accurate)
Co-authored-by: t151602 <sergio.mayoralmartinez@telefonica.com >
2019-10-14 13:25:08 +02:00
65d08beaa4
add xiaomi BLE Thermometer lywsd02 model support ( #664 )
...
* add xiaomi BLE Thermometer lywsd02 model support
* remove battery level
* Update sensor.py
to pass the lint test
https://github.com/esphome/esphome/pull/664
* fix trailing space
Co-authored-by: Guoxue <gx@m15.cn >
Co-authored-by: mr G1K <mr@g1k.ru >
2019-08-27 21:06:39 +02:00
Otto Winter
2642750466
Fix color wipe effect ( #599 )
2019-06-03 09:05:20 +02:00
Otto Winter
521c080989
Updates
2019-05-08 09:58:03 +02:00
Otto Winter
8e75980ebd
Cleanup dashboard JS ( #491 )
...
* Cleanup dashboard JS
* Add vscode
* Save start_mark/end_mark
* Updates
* Updates
* Remove need for cv.nameable
It's a bit hacky but removes so much bloat from integrations
* Add enum helper
* Document APIs, and Improvements
* Fixes
* Fixes
* Update PULL_REQUEST_TEMPLATE.md
* Updates
* Updates
* Updates
2019-04-22 21:56:30 +02:00
Otto Winter
6682c43dfa
🏗 Merge C++ into python codebase ( #504 )
...
## Description:
Move esphome-core codebase into esphome (and a bunch of other refactors). See https://github.com/esphome/feature-requests/issues/97
Yes this is a shit ton of work and no there's no way to automate it :( But it will be worth it 👍
Progress:
- Core support (file copy etc): 80%
- Base Abstractions (light, switch): ~50%
- Integrations: ~10%
- Working? Yes, (but only with ported components).
Other refactors:
- Moves all codegen related stuff into a single class: `esphome.codegen` (imported as `cg`)
- Rework coroutine syntax
- Move from `component/platform.py` to `domain/component.py` structure as with HA
- Move all defaults out of C++ and into config validation.
- Remove `make_...` helpers from Application class. Reason: Merge conflicts with every single new integration.
- Pointer Variables are stored globally instead of locally in setup(). Reason: stack size limit.
Future work:
- Rework const.py - Move all `CONF_...` into a conf class (usage `conf.UPDATE_INTERVAL` vs `CONF_UPDATE_INTERVAL`). Reason: Less convoluted import block
- Enable loading from `custom_components` folder.
**Related issue (if applicable):** https://github.com/esphome/feature-requests/issues/97
**Pull request in [esphome-docs](https://github.com/esphome/esphome-docs ) with documentation (if applicable):** esphome/esphome-docs#<esphome-docs PR number goes here>
## Checklist:
- [ ] The code change is tested and works locally.
- [ ] Tests have been added to verify that the new code works (under `tests/` folder).
If user exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated in [esphomedocs](https://github.com/OttoWinter/esphomedocs ).
2019-04-17 12:06:00 +02:00