1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-06 05:12:21 +01:00

Add variable bit width for Samsung protocol (#1927)

This commit is contained in:
Keith Burzinski
2021-06-17 20:54:46 -05:00
committed by GitHub
parent f9a31c1abb
commit 04d926af39
6 changed files with 30 additions and 14 deletions

View File

@@ -1018,9 +1018,11 @@ def requires_component(comp):
uint8_t = int_range(min=0, max=255)
uint16_t = int_range(min=0, max=65535)
uint32_t = int_range(min=0, max=4294967295)
uint64_t = int_range(min=0, max=18446744073709551615)
hex_uint8_t = hex_int_range(min=0, max=255)
hex_uint16_t = hex_int_range(min=0, max=65535)
hex_uint32_t = hex_int_range(min=0, max=4294967295)
hex_uint64_t = hex_int_range(min=0, max=18446744073709551615)
i2c_address = hex_uint8_t