Jesse Hills
09d89000ad
[core] Remove deprecated schema constants ( #11591 )
2025-10-29 00:14:02 -05:00
J. Nick Koston
3c18558003
Optimize stateless lambdas to use function pointers ( #11551 )
2025-10-28 08:06:22 +13:00
J. Nick Koston
3aedfe8be3
[binary_sensor] Optimize AutorepeatFilter with FixedVector ( #11444 )
2025-10-21 04:30:13 -05:00
J. Nick Koston
d1276dc6df
[core] Replace magic coroutine priority numbers with self-documenting CoroPriority enum ( #10518 )
2025-09-02 21:41:50 +00:00
J. Nick Koston
296442d8f1
[core] Fix compilation errors when platform sections have no entities ( #10023 )
2025-08-02 13:59:20 -10:00
Keith Burzinski
908891a096
[binary_sensor] Add support for default filters ( #9935 )
2025-07-29 11:35:11 +12:00
J. Nick Koston
f808c38f10
[ruff] Enable PERF rules and fix all violations ( #9874 )
2025-07-25 08:15:54 -10:00
Clyde Stubbs
f35be6b5cc
[binary_sensor] Add timeout filter ( #9198 )
2025-06-25 14:09:43 +02:00
DanielV
b18ff48b4a
[API] Sub devices and areas ( #8544 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick+github@koston.org >
2025-06-25 12:03:41 +00:00
Clyde Stubbs
261b561bb2
[binary_sensor] Add action to invalidate state and pass to HA ( #8961 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-06-12 09:16:20 +10:00
J. Nick Koston
3411e45a0a
Reserve memory for component and platform vectors ( #9042 )
2025-06-11 22:05:42 +12:00
Jesse Hills
dcd786d21c
[config] Deprecate other *_SCHEMA constants ( #8748 )
2025-05-12 14:43:38 -05:00
Jesse Hills
8399d894c1
[config] Use `cv.UNDEFINED instead of adhoc _UNDEF` objects ( #8725 )
2025-05-09 08:18:52 +00:00
RFDarter
86a34f4b17
[web_server] v3 entity grouping ( #6833 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-10-07 15:52:26 +13:00
tomaszduda23
c348efa401
[code-quality] Organise base entities imports ( #7208 )
2024-08-07 15:49:51 +12:00
RFDarter
a7fc1a6298
[web_server] add entity sorting for v3 ( #6445 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-05-30 13:54:20 +12:00
Scott K Logan
3de5b26d77
Add a Binary Sensor Filter for state settling ( #5900 )
2023-12-22 11:33:29 +09:00
Jesse Hills
00f9af70a9
Fix some configs after #5181 ( #5209 )
2023-08-07 11:48:23 +12:00
Jesse Hills
f81c556b63
Update components "if x in config" ( #5181 )
2023-08-02 16:25:26 +12:00
Kevin P. Fleming
8739552c0b
binary_sensor: Validate max_length for on_click/on_double_click ( #5068 )
2023-07-10 09:55:02 +12:00
Sergey Dudanov
5b2176562b
binary_sensor filters templatable delays ( #5029 )
2023-07-04 12:25:48 +12:00
Jesse Hills
5c49730cb9
Simplify binary_sensor_schema function ( #4469 )
2023-02-19 21:13:40 +00:00
Oxan van Leeuwen
9aed758d1b
Automate syncing device classes with HA ( #4438 )
...
* Sync device classes with HA
* Rename blacklist
2023-02-16 00:28:12 +00:00
RoboMagus
989b7be99b
Pass optional args to 'new_Pvariable' when creating new entities ( #3690 )
2022-08-08 07:31:50 +12:00
Bryan Berg
9217216723
Add CO device class to binary_sensor ( #3656 )
2022-08-02 11:32:02 +12:00
Samuel Sieb
6a4e0cf667
add option to publish initial state of binary sensors ( #3636 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net >
2022-07-25 15:55:32 +12:00
Jesse Hills
7a242bb4ed
Binary Sensor codegen tidyup ( #3217 )
2022-02-18 10:39:59 +13:00
Jesse Hills
ffa19426d7
Remove redundant name from binary_sensor constructor ( #3213 )
2022-02-17 16:56:44 +13:00
Franck Nijhof
6c1ef398bb
Re-instate device class update for binary sensors ( #2743 )
2021-11-17 23:28:31 +13:00
lcavalli
7bb7456a8b
Update device classes for binary sensors ( #2703 )
2021-11-12 13:17:10 +13:00
Jesse Hills
3c0414c420
Add Entity categories for Home Assistant ( #2636 )
2021-11-08 07:24:52 +13:00
Paul Monigatti
471b82f727
EntityBase Refactor ( #2418 )
...
* Renamed Nameable to EntityBase (cpp)
* Renamed NAMEABLE_SCHEMA to ENTITY_BASE_SCHEMA (Python)
* Renamed cg.Nameable to cg.EntityBase (Python)
* Remove redundant use of CONF_NAME from esp32_touch
* Remove redundant use of CONF_NAME from mcp3008
* Updated test
* Moved EntityBase from Component.h and Component.cpp
* Added icon property to EntityBase
* Added CONF_ICON to ENTITY_BASE_SCHEMA and added setup_entity function to cpp_helpers
* Added MQTT component getters for icon and disabled_by_default
* Lint
* Removed icon field from MQTT components
* Code generation now uses setup_entity to setENTITY_BASE_SCHEMA fields
* Removed unused import
* Added cstdint include
* Optimisation: don't set icon if it is empty
* Remove icon from NumberTraits and SelectTraits
* Removed unused import
* Integration and Total Daily Energy sensors now inherit icons from their parents during code generation
* Minor comment correction
* Removed redundant icon-handling code from sensor, switch, and text_sensor
* Update esphome/components/tsl2591/tsl2591.h
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl >
* Added icon property to binary sensor, climate, cover, and fan component tests
* Added icons for Binary Sensor, Climate, Cover, Fan, and Light to API
* Consolidated EntityBase fields in MQTT components
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl >
2021-10-10 10:37:05 +02:00
dependabot[bot]
dbb195691b
Bump pylint from 2.10.2 to 2.11.1 ( #2334 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Otto winter <otto@otto-winter.com >
2021-09-19 19:22:28 +02:00
Franck Nijhof
8eb18995cb
Add device class update to binary sensor ( #2170 )
2021-08-17 21:44:05 +12:00
Jesse Hills
93796491af
Allow entities to be disabled by default in HA ( #2113 )
...
Co-authored-by: Otto Winter <otto@otto-winter.com >
2021-08-10 13:45:31 +12:00
Jesse Hills
07ae8ec553
Remove a whole bunch of deprecated/removed stuff ( #1981 )
2021-07-14 14:42:16 +12:00
Otto Winter
a33bb32874
Convert components to async-def syntax ( #1823 )
...
* Convert components to async-def syntax
* Remove stray @coroutine
* Manual part
* Convert complexer components code to async-def
* Manual cleanup
* More manual cleanup
2021-05-24 21:45:31 +02:00
Otto Winter
aebad04c0b
Convert core components to async-def coroutine syntax ( #1658 )
...
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-05-23 22:10:30 +02:00
Stanislav Meduna
00c144daeb
Autorepeat filter for the binary sensors ( #1681 )
...
* add the autorepeat filter
* add a test for the autorepeat filter
* make no timing equivalent to a single default one
2021-05-13 17:36:53 -03: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
marecabo
422f0ad7a9
Add constants for device classes of binary_sensor ( #1549 )
2021-02-28 20:55:32 -03:00
dependabot[bot]
e7bd93b4b0
Bump pylint from 2.5.3 to 2.6.0 ( #1262 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Otto Winter <otto@otto-winter.com >
2020-09-16 12:12:40 +02:00
Otto Winter
4996967c79
Add CODEOWNERS mechanism ( #1199 )
2020-07-25 15:57:18 +02:00
Peter Kuehne
5776e70d7c
Bug/fix internal flag in binary sensor ( #1136 )
2020-07-14 17:59:03 +02:00
Otto Winter
056c72d50d
Drop Python 2 Support ( #793 )
...
* Remove Python 2 support
* Remove u-strings
* Remove docker symlinks
* Remove from travis
* Update requirements
* Upgrade flake8/pylint
* Fixes
* Manual
* Run pyupgrade
* Lint
* Remove base_int
* Fix
* Update platformio_api.py
* Update component.cpp
2019-12-07 18:28:55 +01:00
Otto Winter
adf2a463fd
Fix some binary_sensor not having an initial state ( #819 )
...
Fixes https://github.com/home-assistant/home-assistant/issues/28384
2019-10-31 21:03:57 +01:00
Robert Kiss
f9b3e61c0f
Add delayed_on_off binary_sensor filter ( #700 )
...
* add delayed_on_off binary_sensor filter
* fix formatting
* remove unwanted file modification
* add newline to fix linter error
2019-08-29 16:09:37 +02:00
Otto Winter
999c1a5357
Warn if not registered properly
2019-05-21 12:23:38 +02:00
Otto Winter
953d7f6193
Check lambdas for return statement ( #539 )
2019-05-10 22:13:17 +02:00
Otto Winter
766f6c045d
Updates
2019-04-24 23:49:02 +02:00