marecabo
520c4331e3
Add default device classes to sensor components ( #1533 )
...
* Add device_class arg to homeassistant sensor_schema call
* Add device_class arg to mqtt_subscribe sensor_schema call
* Add device_class arg to dht sensor_schema call
* Add device_class arg to dht12 sensor_schema call
* Add device_class arg to am2320 sensor_schema call
* Add device_class arg to atc_mithermometer sensor_schema call
* Add device_class arg to atm90e32 sensor_schema call
* Add device_class arg to bh1750 sensor_schema call
* Add device_class arg to ble_rssi sensor_schema call
* Add device_class arg to bme280 sensor_schema call
* Add device_class arg to bme680 sensor_schema call
* Add device_class arg to bmp085 sensor_schema call
* Add device_class arg to bmp280 sensor_schema call
* Add device_class arg to binary_sensor_map sensor_schema call
* Add device_class arg to apds9960 sensor_schema call
* Add device_class arg to as3935 sensor_schema call
* Add device_class arg to ccs811 sensor_schema call
* Add device_class arg to cse7766 sensor_schema call
* Add device_class arg to ct_clamp sensor_schema call
* Add device_class arg to dallas sensor_schema call
* Add device_class arg to duty_cycle sensor_schema call
* Add device_class arg to esp32_hall sensor_schema call
* Add device_class arg to hdc1080 sensor_schema call
* Add device_class arg to hlw8012 sensor_schema call
* Add device_class arg to hm3301 sensor_schema call
* Add device_class arg to hmc5883l sensor_schema call
* Add device_class arg to htu21d sensor_schema call
* Add device_class arg to hx711 sensor_schema call
* Add device_class arg to ina219 sensor_schema call
* Add device_class arg to ina226 sensor_schema call
* Add device_class arg to ina3221 sensor_schema call
* Add device_class arg to ibsth1 sensor_schema call
* Add device_class arg to max31855 sensor_schema call
* Add device_class arg to max31856 sensor_schema call
* Add device_class arg to max31865 sensor_schema call
* Add device_class arg to mhz19 sensor_schema call
* Add device_class arg to max6675 sensor_schema call
* Add device_class arg to mpu6050 sensor_schema call
* Add device_class arg to ms5611 sensor_schema call
* Add device_class arg to mcp9808 sensor_schema call
* Add device_class arg to ntc sensor_schema call
* Add device_class arg to pid sensor_schema call
* Add device_class arg to pmsx003 sensor_schema call
* Add device_class arg to pulse_counter sensor_schema call
* Add device_class arg to pulse_width sensor_schema call
* Add device_class arg to pzem004t sensor_schema call
* Add device_class arg to pzemac sensor_schema call
* Add device_class arg to pzemdc sensor_schema call
* Add device_class arg to qmc5883l sensor_schema call
* Add device_class arg to resistance sensor_schema call
* Add device_class arg to rotary_encoder sensor_schema call
* Add device_class arg to ruuvitag sensor_schema call
* Add device_class arg to scd30 sensor_schema call
* Add device_class arg to sds011 sensor_schema call
* Add device_class arg to senseair sensor_schema call
* Add device_class arg to sgp30 sensor_schema call
* Add device_class arg to sht3xd sensor_schema call
* Add device_class arg to shtcx sensor_schema call
* Add device_class arg to sps30 sensor_schema call
* Add device_class arg to sts3x sensor_schema call
* Add device_class arg to sun sensor_schema call
* Add device_class arg to tcs34725 sensor_schema call
* Add device_class arg to teleinfo sensor_schema call
* Add device_class arg to template sensor_schema call
* Add device_class arg to tmp102 sensor_schema call
* Add device_class arg to tmp117 sensor_schema call
* Add device_class arg to tsl2561 sensor_schema call
* Add device_class arg to tx20 sensor_schema call
* Add device_class arg to ultrasonic sensor_schema call
* Add device_class arg to uptime sensor_schema call
* Add device_class arg to vl53l0x sensor_schema call
* Add device_class arg to wifi_signal sensor_schema call
* Add device_class arg to xiaomi_cgd1 sensor_schema call
* Add device_class arg to xiaomi_cgg1 sensor_schema call
* Add device_class arg to xiaomi_gcls002 sensor_schema call
* Add device_class arg to xiaomi_hhccjcy01 sensor_schema call
* Add device_class arg to xiaomi_hhccpot002 sensor_schema call
* Add device_class arg to xiaomi_jqjcy01ym sensor_schema call
* Add device_class arg to xiaomi_lywsd02 sensor_schema call
* Add device_class arg to xiaomi_lywsd03mmc sensor_schema call
* Add device_class arg to xiaomi_lywsdcgq sensor_schema call
* Add device_class arg to xiaomi_mhoc401 sensor_schema call
* Add device_class arg to xiaomi_mjyd02yla sensor_schema call
* Add device_class arg to xiaomi_wx08zm sensor_schema call
* Add device_class arg to zyaura sensor_schema call
* Add device_class arg to ads1115 sensor_schema call
* Add device_class arg to adc sensor_schema call
* Add device_class arg to ade7953 sensor_schema call
* Add device_class arg to aht10 sensor_schema call
* Make args of sensor_schema required
* lint
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com >
2021-02-27 19:28:06 -03:00
Otamay
69d39ef0cd
Added heater to climate_ir_lg ( #1555 )
...
* Added heater to climate_ir_lg
* Code formatting
* Code formatting
2021-02-27 18:55:27 -03:00
Robert Resch
6588e9380e
Replace substitutions in substitutions first ( #1567 )
2021-02-27 18:47:12 -03:00
stubs12
87154e9b6f
Tuya: Use queue for sending command messages ( #1404 )
2021-02-26 12:52:40 +13:00
Kurt Kellner
b91723344e
Vl53l0x change address ( #1126 )
...
* Added vl53l0x change address and timeout
* Added vl53l0x change address and timeout
* vl53l0x code cleanup and update test
* remove executable bit
* lint code cleanup
* code review fixes including timeout default to 10ms
* Code review cleanup and change a WARN log level message to DEBUG
* Fix issue where warn should be temporary
* Added name of sensor to warning message
* Fix blacklist lint issue
* Remove unused import
2021-02-25 19:12:06 -03:00
Otamay
92b36720b6
Climate IR LG -keep previous temp and fan if swing ( #1556 )
...
Swing IR command does not carry CLIMATE_FAN or TEMP within itself, so previous states sould be kept. Tested with actual LG IR remote controller.
2021-02-25 18:26:19 -03:00
spilin
3d0310d0e0
Add dial support for sim800l component ( #1558 )
2021-02-25 18:11:15 -03:00
dckiller51
f81cddf22e
Add Xiaomi Miscale v1 and v2 ( #1368 )
2021-02-22 22:23:12 +13:00
Guillermo Ruffino
25924ca4e8
fix substitution losing track of document range ( #1547 )
2021-02-19 21:52:42 -03:00
Jesse Hills
6c8ace0ce8
Fix safe mode ota flashing under certain configurations ( #1534 )
...
* Fix safe mode ota flashing under certain configurations by allowing the arduino loop to run instead of while(true)
* rename to should_enter_safe_mode
* Fix line length
2021-02-17 20:26:59 -03:00
Samuel Sieb
acc1af0f51
Add reverse_enable for max7219 ( #1489 )
2021-02-18 08:26:22 +13:00
Kris
c92c439d17
Added Waveshare 2.90inch V2 e-ink display ( #1538 )
2021-02-18 07:12:02 +13:00
SenexCrenshaw
410fad3b41
fix DHT auto_detect check ( #1536 )
2021-02-16 20:42:14 +13:00
Chris Nussbaum
dce20680d7
Add duration option to action start deep sleep ( #1526 )
2021-02-15 14:32:22 -03:00
marecabo
f95be6a0df
Device class attribute for sensor component ( #1525 )
...
* Add constants for sensor device_class
* Add device_class attribute to sensor component
* Add device_class attribute to sensor class
* Add device_class to mhz19 temperature sensor
* Add device_class to sensor in api component
* Add test for device_class of sensor
* Rename DEVICE_CLASS_NONE to DEVICE_CLASS_EMPTY for consistency
* Make optional attributes of sensor component truly optional
2021-02-15 12:49:02 -03:00
SenexCrenshaw
a342302114
st7735_conf_fixes ( #1530 )
2021-02-14 02:21:43 -03:00
Keith Burzinski
b52f7cfe86
MCP230xx open drain interrupt pins ( #1243 )
2021-02-13 22:07:11 +13:00
Frank Bakker
81b512a7b3
Added energy sensor to hlw8012 ( #1198 )
2021-02-13 21:57:06 +13:00
Justin Gerhardt
57d6185374
Correct Native API Wire Format Documentation ( #1528 )
2021-02-13 21:36:39 +13:00
SenexCrenshaw
e288aa07fb
Fixed ST7735 transfer_byte to write_byte without miso ( #1529 )
2021-02-13 21:34:59 +13:00
rspaargaren
23cf120977
Added codeowners ( #1487 )
2021-02-10 09:20:31 -03:00
Jérémy JOURDIN
04d8593f38
Add MCP4725 DAC Component ( #1418 )
...
* Add MCP4725 DAC
* Fix lint
* Fix lint
* Fix lint
* Lint & cleanup
* Lint again
* One more lint
* add test
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com >
2021-02-06 12:18:48 -03:00
fkirill
de3377132d
Adding support for the Inkbird IBS-TH1 Mini sensor ( #1099 )
2021-02-06 17:04:47 +13:00
Jesse Hills
b351cd94d7
Fix PN532 SPI communication ( #1511 )
2021-02-06 11:02:20 +13:00
Guillermo Ruffino
bccaa78a90
RC522 increased retry loop count ( #1506 )
2021-02-03 12:30:20 +13:00
Jesse Hills
4eeb111fa3
Allow SCD30 sensors to be optional ( #1502 )
2021-01-30 16:50:09 +13:00
nikito7
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
mhentschke
7b9c2d2978
Added options to control pulse duration on Climate_IR_LG Component ( #1470 )
...
* Added options to control pulse duration on Climate_IR_LG Component. This is usefull as some equipment from LG (Tested in Brazil AC unit) use different pulse durations in their protocol.
* Fixed C++ linting issues
* Fixed Python linting issues
* fixed spaces on parameters linting issue
* fixed spacing clint
* Removed unused constants
* Removed wrong spacing
* Changed int to time period in all new fields
Changed cv._int to cv.positive_time_period_microseconds in the time definitions for the new options
* Fixed the time defaults
Time defaults fixed for Climate_IR_LG.
2021-01-26 15:49:14 -03:00
Paul Nicholls
9d38543cb0
Add support for string-type Tuya datapoints ( #1488 )
2021-01-26 17:44:10 +13:00
SenexCrenshaw
36a2ce2c23
SPI wasnt being disabled after display update ( #1493 )
2021-01-26 13:14:23 +13:00
Philipp Tölke
f084ab339b
Make fade_to*, lighten, and darken const ( #1450 )
2021-01-22 20:55:49 +13:00
Zixuan Wang
8352f52fef
Improve ccs811 precision ( #1428 )
2021-01-22 20:51:40 +13:00
Florian Mösch
b28735d63b
rename read/write to read/time/write_time ( #1468 )
2021-01-18 09:35:35 -03:00
Florian Mösch
4c105398f7
time sync notification ( #1442 )
...
* add on_time_sync trigger
* cleanup lint
* fix review remark (sntp didn't trigger callbacks)
2021-01-18 09:34:50 -03:00
David Zovko
d9a2651a5a
Inkplate 6 support for ESPHome ( #1283 )
...
* Add Inkplate 6 support
Inkplate 6 is e-paper display based on ESP32. This commit adds support for integrating Inkplate 6 into the ESPHome. Find more info here: inkplate.io
* Greyscale working
* Update inkplate.h
* Fix formatting
* Formatting
* Update esphome/components/inkplate6/display.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
* Update esphome/components/inkplate6/display.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
* Fix some lint errors
Ignore some lint errors
Only allow on ESP32
* Update the codeowners file
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-01-16 13:19:35 +13:00
Jesse Hills
5fcd1e391d
Add NDEF reading and writing to PN532 ( #1351 )
2021-01-15 09:29:55 +13:00
SenexCrenshaw
36089a1400
Updated Mcp3008 to support reference_voltage and voltage_sampler::VoltageSampler ( #1387 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-01-14 07:33:19 +13:00
Florian Mösch
bf453ad8cd
make time components polling components ( #1443 )
...
* make real time clock components polling components
* add test
2021-01-12 15:37:22 -03:00
Guillermo Ruffino
fbc1b3e316
Add rc522 i2c ( #1432 )
...
* split to spi and i2c
* fix binary_sensor
* i2c comms ready
* fix rc522_spi binary sensor compat
* lint
* lint
* add test and codeowners
* fix refactor
2021-01-12 10:13:53 -03:00
mmanza
3c34b539b0
Whirlpool ac ( #1467 )
...
* Checksum calc change
* first checksum change for MODEL_DG11J1_3A
2021-01-12 09:51:38 -03:00
mknjc
96ab6b51b8
API: copy the data to send into the tcp internal buffer ( #1455 )
...
Without the flag lwip only holds a reference to the supplied buffers and the reference must be valid until the tcp ack is received. This can't be guaranteed for stack allocated buffers
2021-01-11 10:46:21 -03:00
mknjc
02dc49c272
Rotary Encoder: Don't call callbacks in the isr ( #1456 )
2021-01-11 08:05:53 +13:00
Dan Jackson
5df398ec31
Add encode_uint32 method ( #1427 )
2021-01-10 17:53:12 +13:00
Florian Mösch
699696e8d1
DS1307 real time clock component ( #1441 )
...
* initial support for DS1307 real time clock
* add simple test, make sync functions public
* cleanup lint
* add sync to/from rtc actions
* changes action names
* Update esphome/components/ds1307/ds1307.cpp
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com >
* Update esphome/components/ds1307/time.py
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com >
* fix suggested change
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com >
2021-01-08 19:40:22 -03:00
Fractal147
3c64c9b0e9
Fix stepper half half step mode ( #1397 )
...
* Fixed half half step mode
Half step mode originally had second and third steps mixed up for output A.
https://github.com/esphome/issues/issues/1655
* Updated half step mode to have no branching
Code based off comments in PR: https://github.com/esphome/esphome/pull/1397#issuecomment-739413973
* removed variable declarations in the switch/case
Oops. No explicit declarations.
Rearranged to be tidier, same output sequence.
* Fixed typo bracket
Minor typo fixed - logic complete to do branchless half stepping.
* Format the brackets to satisfy clang
2021-01-08 00:17:41 -03:00
rradar
34df25da39
Update __init__.py ( #1454 )
...
:cherry: picked from esphome/esphome@32a4680 branch (fix-sn74hc595-optional-oe-pin) by @OttoWinter
2021-01-08 00:12:55 -03:00
Andreas Hergert
16d11be213
added slow mode and detach time to servo ( #1413 )
...
* added slow mode and detach time to servo
* tidy
* and again tidy
* add change requests
* tidy
* tidy
* tidy
Co-authored-by: Andreas Hergert <andreas.hergert@otrs.com >
2021-01-03 17:57:30 -03:00
M95D
e49b568fd4
rc_switch: Fix Sync signal sent after the code. ( #1426 )
2020-12-30 23:11:46 +13:00
Keith Burzinski
095d3181cd
SSD1322 display support ( #1405 )
2020-12-30 22:52:41 +13:00
Keith Burzinski
9aa14a2e83
Add full SSD1327 display support ( #1406 )
2020-12-30 22:48:23 +13:00