Alex
3afb564a48
Configurable OTA Safe Mode ( #1393 )
2020-12-02 11:41:39 +13:00
SenexCrenshaw
d821ead92a
Formatted test yaml files ( #1382 )
2020-11-19 23:59:19 -03:00
Alexander Pohl
49cb8fd9d3
Add support for ATC_MiThermometer ( #1291 )
...
* Add support for additional Xiaomi BLE sensors (#1027 )
* Revert "Add support for additional Xiaomi BLE sensors (#1027 )"
This reverts commit b2723830f4
.
* initial ATC Mithermometer component
* removed references to xiaomi_ble
* temp, humi and batt in % working, todo: battery in mV
* report battery level in volt
* report battery level again in percent
* Add files via upload
* add ATC Mithermometer component
* remove some comments
* fix travis ci build issues
* mark codeowner, make functions protected
* add newlines, remove spaces
* two lines after function or class definition
* update codeowners
* Bump flake8 from 3.8.3 to 3.8.4
Bumps [flake8](https://gitlab.com/pycqa/flake8 ) from 3.8.3 to 3.8.4.
- [Release notes](https://gitlab.com/pycqa/flake8/tags )
- [Commits](https://gitlab.com/pycqa/flake8/compare/3.8.3...3.8.4 )
Signed-off-by: dependabot[bot] <support@github.com>
* Add files via upload
* Bump pytest from 6.0.2 to 6.1.1
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 6.0.2 to 6.1.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/6.0.2...6.1.1 )
Signed-off-by: dependabot[bot] <support@github.com>
* add ATC battery voltage to test2.yaml
* fix lint-python
* Bump colorlog from 4.2.1 to 4.4.0
Bumps [colorlog](https://github.com/borntyping/python-colorlog ) from 4.2.1 to 4.4.0.
- [Release notes](https://github.com/borntyping/python-colorlog/releases )
- [Commits](https://github.com/borntyping/python-colorlog/compare/v4.2.1...v4.4.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Bump voluptuous from 0.11.7 to 0.12.0
Bumps [voluptuous](https://github.com/alecthomas/voluptuous ) from 0.11.7 to 0.12.0.
- [Release notes](https://github.com/alecthomas/voluptuous/releases )
- [Changelog](https://github.com/alecthomas/voluptuous/blob/master/CHANGELOG.md )
- [Commits](https://github.com/alecthomas/voluptuous/commits/v0.12.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* restore requirements
* move codeowner above dependencies
* Revert "restore requirements"
This reverts commit 3c9fd8b421
.
* Revert "Bump voluptuous from 0.11.7 to 0.12.0"
This reverts commit 8eb0dba1c3
.
* Revert "Bump flake8 from 3.8.3 to 3.8.4"
This reverts commit 20952632db
.
* Revert "Bump colorlog from 4.2.1 to 4.4.0"
This reverts commit 87bbf95d86
.
* Revert "Bump pytest from 6.0.2 to 6.1.1"
This reverts commit 1b6ed80431
.
Co-authored-by: vevsvevs <v-v@mail.ru>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-04 06:36:11 +13:00
Alexander Leisentritt
f034472e2a
Add LYWSD02 battery sensor ( #1334 )
...
* add battery sensor for lywsd02
* update test
2020-10-27 06:53:17 +13:00
Jesse Hills
99598d87a9
Readds the battery level for xiaomi_hhccjcy01 ( #1288 )
2020-09-19 23:37:34 -03:00
Jesse Hills
703e9673c2
Adds new homeassistant.tag_scanned action ( #1281 )
2020-09-16 12:29:20 +02:00
Jesse Hills
fd6ac529fb
Script mode fix ( #1238 )
2020-08-06 17:08:48 +02:00
Alexander Pohl
3fba3a5e2e
Add support for additional Xiaomi BLE sensors ( #1027 ) ( #1027 )
2020-05-26 19:33:28 -03:00
Jozef Zuzelka
153aadadae
Ble scanner ( #976 )
...
* Added ble_scanner component
* ble_scanner: time.h changed to ctime
* ble_scanner: Test added.
* ble_scanner: fixed code formatting.
* Removed duplicate binary sensor tests from test2 and test3 to decrease memory requirements.
* Removed another duplicate test from test2.yaml and moved stepper test to yaml3.yaml to reduce memory requirements of test2.yaml.
* Reverted the last stepper test change
* Moved some sensor tests from test2.yaml to test3.yaml to save memory.
* Moved ruuvitag back to test2.yaml as it requires component esp32_ble_tracker.
* removed apds9960 as it is duplicated
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
2020-05-19 21:13:50 -03:00
puuu
ba1222eae4
Bluetooth advertising automation ( #995 )
...
* esp32_ble_tracker: introduce UUID comparison function
* ble_presence, ble_rssi: use new UUID comparison function
* esp32_ble_tracker: introduce automation on BLE advertising
* test2.yaml: remove deep_sleep due to firmware size restrictions
2020-04-27 20:57:02 -03:00
Otto Winter
0698be3995
Better/stricter pin validation ( #903 )
...
* Better/stricter pin validation
* Update tests
2019-12-04 16:47:34 +01:00
Alexander Leisentritt
3e8fd48dc0
implemented ruuvi_ble and ruuvitag with RAWv1 and RAWv2 protocol ( #810 )
...
* implemented ruuvi_ble and ruuvitag with RAWv1 protocol
fixes esphome/feature-requests#313
* lint
* updated data calculations
* cpp lint
* use string directly in message
Co-Authored-By: Otto Winter <otto@otto-winter.com>
* add RAWv2 protocol support
* fix ICON_SIGNAL
* typo
* calculation correction and cleaning
* c++ lint
* added acceleration and fixed typo
* removed remote_receiver to reduce firmware size
remote_receiver also in test1.yaml
2019-11-07 22:10:09 +01:00
Lumpusz
69fd3e8937
service uuid based ble tracking ( #800 )
...
* service uuid based ble tracking
* code review fixes
* fix import, format
* fix indentation
* reformat
2019-10-31 15:34:19 +01:00
Otto Winter
b0bb692af4
AS3935 Use normal pin polling for IRQ ( #805 )
...
* AS3935 Use normal pin polling for IRQ
See also https://github.com/esphome/feature-requests/issues/452
* Fix tests
2019-10-27 12:30:19 +01:00
Otto Winter
4310c14497
Add BLE scan parameters ( #769 )
...
* Add BLE parameters
Fixes https://github.com/esphome/issues/issues/735
* Fix
2019-10-18 18:15:53 +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
Nikolay Vasilchuk
b2388b6fe7
Basic Auth for web_server component ( #674 )
...
* Basic auth
* Test
* Linter fix
* Make username/password strict strings
Reason: passwords only consisting of digits (012345) will be silently converted (to "12345")
Co-authored-by: Otto Winter <otto@otto-winter.com>
2019-10-13 14:27:44 +02:00
Otto Winter
fa351cd37c
Cleanup AS3935
2019-10-12 17:03:01 +02:00
Thomas Eckerstorfer
68e7e5a51c
AS3935 Lightning sensor ( #666 )
...
* added tx20 wind speed sensor
* added test
* fixed lint errors
* fixed more lint errors
* updated tx20
* updated tx20 sensor
* updated to new structure and removed static variables
* removed content from __init__.py
* fixing lint errors
* resolved issues from review
* added as3935 sensor
* updated as3935 with more settings
* update
* support for i2c + spi updated
* added tests and various fixes
* added tx20 wind speed sensor
* fixed lint errors
* fixed more lint errors
* updated tx20
* updated tx20 sensor
* updated to new structure and removed static variables
* removed content from __init__.py
* fixing lint errors
* resolved issues from review
* added as3935 sensor
* updated as3935 with more settings
* update
* support for i2c + spi updated
* added tests and various fixes
* updated tests
* fixed style issues
* Remove debug line
* Update log levels
* Reformat
* Auto-convert to int
Co-authored-by: Thomas <thomas.eckerstorfer@mic-cust.com>
Co-authored-by: Otto Winter <otto@otto-winter.com>
2019-10-12 15:03:35 +02:00
Pavel Pletenev
9ed06444e1
Suggested fix for empty domain ( #555 )
...
* Suggested fix for empty domain
Signed-off-by: delphi <cpp.create@gmail.com>
* Added proposed changes
Signed-off-by: delphi <cpp.create@gmail.com>
2019-05-26 10:28:46 +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
Otto Winter
0d7bb1286a
More changes for 1.12 ( #483 )
...
* Print error when ESP32 BLE tracker used together with beacon
* Update
* Enable PSRAM
* Fix test
2019-03-17 16:04:49 +01:00
Otto Winter
4b017e2096
Add WiFi/MQTT/API connected condition ( #465 )
...
* Add WiFi/MQTT/API connected condition
* Add tests
* Fix namespace
2019-03-03 16:45:56 +01:00
Otto Winter
3d9301a0f7
Rename esphomeyaml to esphome ( #426 )
...
* Rename
* Update
* Add migration
* Fix
* Fix dashboard
* Change test
* Fixes
* Code cleanup
* Fix import order
* Update
* Automate docker builds
* Shellcheck
2019-02-13 16:54:02 +01:00
Otto Winter
e4e315f723
Revert "Upgrade espressif32 package to 1.6.0 ( #355 )" ( #422 )
...
* Revert "Upgrade espressif32 package to 1.6.0 (#355 )"
This reverts commit e347cb538d
.
* Fix revert
* Fix
2019-02-11 16:50:10 +01:00
Otto Winter
4c8bd7a70c
Fix build
2019-02-10 20:29:06 +01:00
Otto Winter
f185ba7a21
Add Homeassistant Binary Sensor ( #409 )
2019-02-10 16:31:17 +01:00
Otto Winter
176c712eeb
Disable MQTT if not used ( #373 )
...
* Disable MQTT if not used
* Lint
2019-01-29 17:29:21 +01:00
Otto Winter
e347cb538d
Upgrade espressif32 package to 1.6.0 ( #355 )
...
* Upgrade espressif32 package to 1.6.0
* Remove AsyncTCP pinning
* Lint
* Fix AsyncTCP version
* Fix test2
2019-01-19 21:44:47 +01:00
Otto Winter
4f5389998f
Add homeassistant.service test
2019-01-14 11:09:32 +01:00
Otto Winter
5a1e806d14
Fix interval trigger ( #313 )
2019-01-09 15:18:54 +01:00
Otto Winter
01b49e8d59
Home Assistant platform tests
2019-01-06 19:03:34 +01:00
Otto Winter
e72ef9e061
Add ESP32 Ethernet Support ( #301 )
...
* Fix
* Build flags
* Fix
2019-01-05 20:47:33 +01:00
Otto Winter
7f9462ebf3
Add APDS9960 Support ( #300 )
2019-01-05 19:52:01 +01:00
Otto Winter
7c7032c59e
[Huge] Util Refactor, Dashboard Improvements, Hass.io Auth API, Better Validation Errors, Conditions, Custom Platforms, Substitutions ( #234 )
...
* Implement custom sensor platform
* Update
* Ethernet
* Lint
* Fix
* Login page
* Rename cookie secret
* Update manifest
* Update cookie check logic
* Favicon
* Fix
* Favicon manifest
* Fix
* Fix
* Fix
* Use hostname
* Message
* Temporary commit for screenshot
* Automatic board selection
* Undo temporary commit
* Update esphomeyaml-edge
* In-dashboard editing and hosting files locally
* Update esphomeyaml-edge
* Better ANSI color escaping
* Message
* Lint
* Download Efficiency
* Fix gitlab
* Fix
* Rename extra_libraries to libraries
* Add example
* Update README.md
* Update README.md
* Update README.md
* HassIO -> Hass.io
* Updates
* Add update available notice
* Update
* Fix substitutions
* Better error message
* Re-do dashboard ANSI colors
* Only include FastLED if user says so
* Autoscroll logs
* Remove old checks
* Use safer RedirectText
* Improvements
* Fix
* Use enviornment variable
* Use http://hassio/host/info
* Fix conditions
* Update platformio versions
* Revert "Use enviornment variable"
This reverts commit 7f038eb5d2
.
* Fix
* README update
* Temp
* Better invalid config messages
* Platformio debug
* Improve error messages
* Debug
* Remove debug
* Multi Conf
* Update
* Better paths
* Remove unused
* Fixes
* Lint
* lib_ignore
* Try fix platformio colors
* Fix dashboard scrolling
* Revert
* Lint
* Revert
2018-12-05 21:22:06 +01:00
Otto Winter
25c66ed8ca
Improve API naming convention consistency ( #197 )
...
* Improve API naming convention consistency
* Fix
2018-10-20 15:16:58 +02:00
Otto Winter
9efd9f4fe8
Add PMSX003 Particulate Matter Sensor ( #192 )
2018-10-20 12:58:52 +02:00
Otto Winter
34fc2147a4
Add update component action and scripts ( #196 )
...
* Add update component action
* Add script component
2018-10-20 12:58:02 +02:00
Otto Winter
629f2b128e
Add MQTT publish JSON action and subscribe JSON trigger ( #193 )
...
* Add MQTT publish JSON action and subscribe JSON trigger
* Lint
2018-10-20 12:41:00 +02:00
Otto Winter
75628b96a1
Add Text Sensors ( #166 )
...
* Text Sensors
* Add version text sensor
* Fix
* Fixes
* Add tests
* Add template text sensor
* Lint
* Fix test
2018-10-17 21:24:02 +02:00
Otto Winter
b1f7ed4fdc
Add CSE776 for Sonoff Pow R2 ( #190 )
2018-10-17 21:14:31 +02:00
Otto Winter
6f54afec00
Add MQTT Subscribe sensor ( #175 )
2018-10-14 18:45:13 +02:00
Otto Winter
ce4b339d16
Split up BLE tests into new file
2018-09-26 18:39:41 +02:00