esphome 2025.5.1__py3-none-any.whl → 2025.6.0b1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- esphome/__main__.py +20 -14
- esphome/components/a4988/a4988.cpp +1 -1
- esphome/components/absolute_humidity/absolute_humidity.cpp +6 -4
- esphome/components/ac_dimmer/ac_dimmer.cpp +4 -2
- esphome/components/adc/adc_sensor_esp32.cpp +5 -3
- esphome/components/adc/adc_sensor_esp8266.cpp +5 -3
- esphome/components/adc/adc_sensor_libretiny.cpp +5 -3
- esphome/components/adc/adc_sensor_rp2040.cpp +5 -3
- esphome/components/adc128s102/adc128s102.cpp +1 -1
- esphome/components/ade7880/ade7880.cpp +28 -17
- esphome/components/ade7953_base/ade7953_base.cpp +12 -9
- esphome/components/ade7953_i2c/ade7953_i2c.cpp +1 -1
- esphome/components/ade7953_spi/ade7953_spi.cpp +1 -1
- esphome/components/ads1115/ads1115.cpp +3 -5
- esphome/components/ads1118/ads1118.cpp +2 -1
- esphome/components/ags10/ags10.cpp +3 -2
- esphome/components/aht10/aht10.cpp +27 -29
- esphome/components/aic3204/aic3204.cpp +2 -2
- esphome/components/alarm_control_panel/__init__.py +1 -0
- esphome/components/am2315c/am2315c.cpp +2 -2
- esphome/components/am2320/am2320.cpp +2 -2
- esphome/components/am43/am43_base.h +1 -1
- esphome/components/am43/cover/am43_cover.cpp +4 -2
- esphome/components/analog_threshold/analog_threshold_binary_sensor.cpp +4 -2
- esphome/components/apds9306/apds9306.cpp +8 -5
- esphome/components/apds9960/apds9960.cpp +2 -2
- esphome/components/api/__init__.py +5 -0
- esphome/components/api/api_connection.cpp +712 -358
- esphome/components/api/api_connection.h +343 -284
- esphome/components/api/api_frame_helper.cpp +349 -344
- esphome/components/api/api_frame_helper.h +121 -94
- esphome/components/api/api_pb2.cpp +2 -0
- esphome/components/api/api_pb2.h +637 -1
- esphome/components/api/api_pb2_service.cpp +12 -688
- esphome/components/api/api_pb2_service.h +53 -207
- esphome/components/api/api_server.cpp +71 -29
- esphome/components/api/api_server.h +9 -0
- esphome/components/api/client.py +5 -2
- esphome/components/api/homeassistant_service.h +1 -1
- esphome/components/api/list_entities.cpp +1 -1
- esphome/components/api/proto.cpp +1 -0
- esphome/components/api/proto.h +4 -3
- esphome/components/api/subscribe_state.cpp +8 -16
- esphome/components/as3935/as3935.cpp +3 -3
- esphome/components/as5600/as5600.cpp +9 -7
- esphome/components/as7341/as7341.cpp +7 -5
- esphome/components/at581x/at581x.cpp +13 -10
- esphome/components/atm90e26/atm90e26.cpp +2 -2
- esphome/components/atm90e32/atm90e32.cpp +3 -3
- esphome/components/axs15231/touchscreen/axs15231_touchscreen.cpp +5 -3
- esphome/components/bang_bang/bang_bang_climate.cpp +8 -5
- esphome/components/bedjet/bedjet_hub.cpp +6 -4
- esphome/components/beken_spi_led_strip/led_strip.cpp +11 -7
- esphome/components/bh1750/bh1750.cpp +2 -2
- esphome/components/binary_sensor/__init__.py +1 -0
- esphome/components/binary_sensor/automation.cpp +1 -2
- esphome/components/bl0906/bl0906.cpp +1 -1
- esphome/components/bl0942/bl0942.cpp +11 -8
- esphome/components/bl0942/sensor.py +1 -1
- esphome/components/ble_client/__init__.py +5 -1
- esphome/components/ble_client/output/ble_binary_output.cpp +6 -3
- esphome/components/ble_client/sensor/ble_sensor.cpp +9 -6
- esphome/components/ble_client/text_sensor/ble_text_sensor.cpp +8 -5
- esphome/components/bluetooth_proxy/__init__.py +5 -1
- esphome/components/bluetooth_proxy/bluetooth_connection.cpp +5 -5
- esphome/components/bluetooth_proxy/bluetooth_proxy.cpp +16 -14
- esphome/components/bme280_base/bme280_base.cpp +3 -3
- esphome/components/bme680/bme680.cpp +3 -3
- esphome/components/bme680/sensor.py +2 -2
- esphome/components/bme680_bsec/bme680_bsec.cpp +11 -7
- esphome/components/bme680_bsec/sensor.py +7 -3
- esphome/components/bme68x_bsec2/__init__.py +6 -5
- esphome/components/bme68x_bsec2/bme68x_bsec2.cpp +17 -13
- esphome/components/bme68x_bsec2/sensor.py +4 -4
- esphome/components/bme68x_bsec2_i2c/bme68x_bsec2_i2c.cpp +1 -0
- esphome/components/bmi160/bmi160.cpp +11 -11
- esphome/components/bmp085/bmp085.cpp +2 -2
- esphome/components/bmp280_base/bmp280_base.cpp +3 -3
- esphome/components/bmp3xx_base/bmp3xx_base.cpp +13 -13
- esphome/components/bmp581/bmp581.cpp +33 -27
- esphome/components/bp1658cj/bp1658cj.cpp +5 -3
- esphome/components/bp5758d/bp5758d.cpp +1 -1
- esphome/components/button/__init__.py +1 -0
- esphome/components/canbus/canbus.cpp +1 -1
- esphome/components/cap1188/cap1188.cpp +6 -4
- esphome/components/captive_portal/captive_portal.cpp +1 -1
- esphome/components/ccs811/ccs811.cpp +3 -2
- esphome/components/cd74hc4067/cd74hc4067.cpp +1 -1
- esphome/components/ch422g/ch422g.cpp +2 -2
- esphome/components/chsc6x/chsc6x_touchscreen.cpp +6 -4
- esphome/components/climate/__init__.py +1 -0
- esphome/components/climate/climate.cpp +12 -7
- esphome/components/climate/climate.h +1 -1
- esphome/components/climate_ir/climate_ir.cpp +7 -4
- esphome/components/cm1106/__init__.py +1 -0
- esphome/components/cm1106/cm1106.cpp +112 -0
- esphome/components/cm1106/cm1106.h +40 -0
- esphome/components/cm1106/sensor.py +72 -0
- esphome/components/const/__init__.py +1 -0
- esphome/components/cover/__init__.py +1 -0
- esphome/components/cs5460a/cs5460a.cpp +16 -11
- esphome/components/cse7761/cse7761.cpp +2 -2
- esphome/components/cse7766/cse7766.cpp +0 -5
- esphome/components/cse7766/cse7766.h +5 -1
- esphome/components/cst226/touchscreen/cst226_touchscreen.cpp +1 -1
- esphome/components/cst816/touchscreen/cst816_touchscreen.cpp +6 -3
- esphome/components/current_based/current_based_cover.cpp +4 -2
- esphome/components/dac7678/dac7678_output.cpp +4 -4
- esphome/components/dallas_temp/dallas_temp.cpp +2 -3
- esphome/components/daly_bms/daly_bms.cpp +2 -1
- esphome/components/dashboard_import/__init__.py +1 -2
- esphome/components/datetime/__init__.py +3 -1
- esphome/components/debug/debug_component.cpp +1 -5
- esphome/components/debug/debug_component.h +1 -1
- esphome/components/debug/debug_esp32.cpp +4 -2
- esphome/components/deep_sleep/deep_sleep_component.cpp +11 -5
- esphome/components/deep_sleep/deep_sleep_esp32.cpp +7 -5
- esphome/components/demo/__init__.py +206 -0
- esphome/components/demo/demo_alarm_control_panel.h +65 -0
- esphome/components/demo/demo_button.h +15 -0
- esphome/components/demo/demo_date.h +34 -0
- esphome/components/demo/demo_datetime.h +40 -0
- esphome/components/demo/demo_lock.h +17 -0
- esphome/components/demo/demo_select.h +15 -0
- esphome/components/demo/demo_text.h +18 -0
- esphome/components/demo/demo_time.h +34 -0
- esphome/components/demo/demo_valve.h +54 -0
- esphome/components/dfrobot_sen0395/commands.cpp +3 -3
- esphome/components/dht/dht.cpp +29 -50
- esphome/components/dht12/dht12.cpp +2 -2
- esphome/components/display/display.h +5 -3
- esphome/components/dps310/dps310.cpp +7 -5
- esphome/components/ds1307/ds1307.cpp +2 -2
- esphome/components/dsmr/dsmr.cpp +5 -3
- esphome/components/duty_cycle/duty_cycle_sensor.cpp +2 -2
- esphome/components/duty_time/duty_time_sensor.cpp +5 -3
- esphome/components/ee895/ee895.cpp +3 -3
- esphome/components/ektf2232/touchscreen/ektf2232.cpp +1 -1
- esphome/components/emc2101/emc2101.cpp +11 -9
- esphome/components/ens160_base/ens160_base.cpp +2 -2
- esphome/components/ens210/ens210.cpp +2 -2
- esphome/components/es7210/es7210.cpp +6 -4
- esphome/components/es7243e/es7243e.cpp +1 -1
- esphome/components/es8156/es8156.cpp +1 -1
- esphome/components/es8311/es8311.cpp +8 -6
- esphome/components/es8388/__init__.py +0 -0
- esphome/components/es8388/audio_dac.py +26 -0
- esphome/components/es8388/es8388.cpp +289 -0
- esphome/components/es8388/es8388.h +81 -0
- esphome/components/es8388/es8388_const.h +83 -0
- esphome/components/es8388/select/__init__.py +47 -0
- esphome/components/es8388/select/adc_input_mic_select.cpp +12 -0
- esphome/components/es8388/select/adc_input_mic_select.h +15 -0
- esphome/components/es8388/select/dac_output_select.cpp +12 -0
- esphome/components/es8388/select/dac_output_select.h +15 -0
- esphome/components/esp32/__init__.py +88 -20
- esphome/components/esp32/boards.py +208 -125
- esphome/components/esp32/const.py +6 -0
- esphome/components/esp32/gpio.py +14 -1
- esphome/components/esp32/gpio_esp32_c5.py +45 -0
- esphome/components/esp32/gpio_esp32_p4.py +43 -0
- esphome/components/esp32/preferences.cpp +7 -7
- esphome/components/esp32_ble/__init__.py +115 -0
- esphome/components/esp32_ble/ble.cpp +11 -9
- esphome/components/esp32_ble/ble_uuid.h +1 -1
- esphome/components/esp32_ble_client/ble_client_base.cpp +4 -2
- esphome/components/esp32_ble_server/__init__.py +4 -1
- esphome/components/esp32_ble_server/ble_characteristic.cpp +1 -0
- esphome/components/esp32_ble_server/ble_server.h +0 -1
- esphome/components/esp32_ble_tracker/__init__.py +6 -2
- esphome/components/esp32_ble_tracker/esp32_ble_tracker.cpp +12 -9
- esphome/components/esp32_camera/esp32_camera.cpp +35 -27
- esphome/components/esp32_camera_web_server/camera_web_server.cpp +4 -2
- esphome/components/esp32_dac/esp32_dac.cpp +2 -2
- esphome/components/esp32_improv/__init__.py +5 -1
- esphome/components/esp32_improv/esp32_improv_component.cpp +2 -2
- esphome/components/esp32_rmt_led_strip/led_strip.cpp +11 -7
- esphome/components/esp32_rmt_led_strip/light.py +5 -1
- esphome/components/esp32_touch/esp32_touch.cpp +12 -8
- esphome/components/esp8266/gpio.cpp +10 -1
- esphome/components/esp8266/preferences.cpp +6 -6
- esphome/components/esp8266_pwm/esp8266_pwm.cpp +3 -3
- esphome/components/esp_ldo/__init__.py +91 -0
- esphome/components/esp_ldo/esp_ldo.cpp +43 -0
- esphome/components/esp_ldo/esp_ldo.h +43 -0
- esphome/components/esphome/ota/ota_esphome.cpp +15 -8
- esphome/components/ethernet/ethernet_component.cpp +38 -26
- esphome/components/ethernet/ethernet_component.h +1 -1
- esphome/components/event/__init__.py +1 -0
- esphome/components/exposure_notifications/exposure_notifications.cpp +1 -1
- esphome/components/ezo/ezo.cpp +1 -1
- esphome/components/ezo_pmp/ezo_pmp.cpp +1 -1
- esphome/components/factory_reset/button/factory_reset_button.cpp +1 -1
- esphome/components/factory_reset/switch/factory_reset_switch.cpp +1 -1
- esphome/components/fan/__init__.py +1 -0
- esphome/components/fan/fan.cpp +4 -2
- esphome/components/fastled_base/fastled_light.cpp +7 -5
- esphome/components/fingerprint_grow/fingerprint_grow.cpp +8 -6
- esphome/components/fs3000/fs3000.cpp +1 -1
- esphome/components/ft5x06/touchscreen/ft5x06_touchscreen.cpp +7 -4
- esphome/components/ft63x6/ft63x6.cpp +5 -3
- esphome/components/gcja5/gcja5.cpp +0 -12
- esphome/components/gcja5/gcja5.h +8 -3
- esphome/components/gdk101/gdk101.cpp +2 -2
- esphome/components/globals/globals_component.h +13 -10
- esphome/components/gp2y1010au0f/gp2y1010au0f.cpp +4 -2
- esphome/components/gp8403/gp8403.cpp +4 -2
- esphome/components/gp8403/output/gp8403_output.cpp +4 -2
- esphome/components/gpio/one_wire/gpio_one_wire.cpp +2 -2
- esphome/components/gpio/output/gpio_binary_output.cpp +1 -1
- esphome/components/gpio/switch/gpio_switch.cpp +1 -1
- esphome/components/graphical_display_menu/graphical_display_menu.cpp +12 -8
- esphome/components/grove_gas_mc_v2/grove_gas_mc_v2.cpp +5 -6
- esphome/components/grove_tb6612fng/grove_tb6612fng.cpp +1 -1
- esphome/components/grove_tb6612fng/grove_tb6612fng.h +1 -1
- esphome/components/growatt_solar/growatt_solar.cpp +6 -3
- esphome/components/gt911/touchscreen/gt911_touchscreen.cpp +1 -1
- esphome/components/haier/haier_base.cpp +2 -2
- esphome/components/haier/hon_climate.cpp +13 -6
- esphome/components/havells_solar/havells_solar.cpp +5 -2
- esphome/components/hbridge/switch/hbridge_switch.cpp +1 -1
- esphome/components/hdc1080/hdc1080.cpp +2 -2
- esphome/components/he60r/he60r.cpp +4 -2
- esphome/components/hlw8012/hlw8012.cpp +6 -4
- esphome/components/hm3301/hm3301.cpp +2 -2
- esphome/components/hmc5883l/hmc5883l.cpp +2 -2
- esphome/components/homeassistant/time/homeassistant_time.cpp +4 -2
- esphome/components/honeywell_hih_i2c/honeywell_hih.cpp +4 -4
- esphome/components/honeywellabp/honeywellabp.cpp +4 -2
- esphome/components/honeywellabp2_i2c/honeywellabp2.cpp +8 -6
- esphome/components/hte501/hte501.cpp +3 -2
- esphome/components/http_request/__init__.py +2 -2
- esphome/components/http_request/http_request.cpp +7 -5
- esphome/components/http_request/http_request_idf.cpp +4 -2
- esphome/components/http_request/ota/ota_http_request.cpp +1 -1
- esphome/components/htu21d/htu21d.cpp +2 -2
- esphome/components/htu31d/htu31d.cpp +2 -2
- esphome/components/hx711/hx711.cpp +2 -2
- esphome/components/hydreon_rgxx/hydreon_rgxx.cpp +5 -3
- esphome/components/hyt271/hyt271.cpp +2 -2
- esphome/components/i2c/i2c_bus_arduino.cpp +14 -11
- esphome/components/i2c/i2c_bus_esp_idf.cpp +13 -11
- esphome/components/i2s_audio/__init__.py +2 -0
- esphome/components/i2s_audio/i2s_audio.cpp +3 -4
- esphome/components/i2s_audio/i2s_audio.h +1 -1
- esphome/components/i2s_audio/media_player/__init__.py +1 -1
- esphome/components/i2s_audio/media_player/i2s_audio_media_player.cpp +5 -3
- esphome/components/i2s_audio/microphone/i2s_audio_microphone.cpp +54 -64
- esphome/components/i2s_audio/microphone/i2s_audio_microphone.h +4 -0
- esphome/components/i2s_audio/speaker/i2s_audio_speaker.cpp +1 -1
- esphome/components/iaqcore/iaqcore.cpp +3 -3
- esphome/components/ili9xxx/ili9xxx_display.cpp +12 -7
- esphome/components/ili9xxx/ili9xxx_display.h +1 -1
- esphome/components/image/image.cpp +1 -0
- esphome/components/ina219/ina219.cpp +2 -2
- esphome/components/ina226/ina226.cpp +8 -5
- esphome/components/ina260/ina260.cpp +1 -1
- esphome/components/ina2xx_base/ina2xx_base.cpp +13 -9
- esphome/components/ina3221/ina3221.cpp +2 -2
- esphome/components/inkplate6/display.py +12 -2
- esphome/components/inkplate6/inkplate.cpp +13 -9
- esphome/components/inkplate6/inkplate.h +7 -6
- esphome/components/integration/integration_sensor.cpp +1 -1
- esphome/components/internal_temperature/internal_temperature.cpp +4 -4
- esphome/components/json/json_util.cpp +4 -5
- esphome/components/kamstrup_kmp/kamstrup_kmp.cpp +1 -1
- esphome/components/key_collector/key_collector.cpp +4 -2
- esphome/components/kmeteriso/kmeteriso.cpp +2 -1
- esphome/components/kuntze/kuntze.cpp +4 -2
- esphome/components/lc709203f/__init__.py +1 -0
- esphome/components/lc709203f/lc709203f.cpp +299 -0
- esphome/components/lc709203f/lc709203f.h +55 -0
- esphome/components/lc709203f/sensor.py +93 -0
- esphome/components/lcd_base/lcd_display.cpp +2 -2
- esphome/components/lcd_gpio/gpio_lcd_display.cpp +5 -3
- esphome/components/lcd_menu/lcd_menu.cpp +6 -4
- esphome/components/lcd_pcf8574/pcf8574_display.cpp +6 -4
- esphome/components/ld2410/ld2410.cpp +6 -7
- esphome/components/ld2420/ld2420.cpp +9 -7
- esphome/components/ld2450/ld2450.cpp +6 -4
- esphome/components/ld2450/sensor.py +2 -2
- esphome/components/ledc/ledc_output.cpp +32 -28
- esphome/components/libretiny/const.py +1 -1
- esphome/components/libretiny/preferences.cpp +6 -7
- esphome/components/light/__init__.py +2 -1
- esphome/components/light/esp_hsv_color.h +1 -1
- esphome/components/light/light_state.cpp +9 -5
- esphome/components/light/light_transformer.h +1 -1
- esphome/components/lightwaverf/LwTx.cpp +1 -1
- esphome/components/lightwaverf/lightwaverf.cpp +1 -1
- esphome/components/lilygo_t5_47/touchscreen/lilygo_t5_47_touchscreen.cpp +1 -1
- esphome/components/lock/__init__.py +1 -0
- esphome/components/lock/lock.h +1 -1
- esphome/components/logger/__init__.py +6 -0
- esphome/components/logger/logger.cpp +9 -5
- esphome/components/logger/logger.h +4 -4
- esphome/components/logger/logger_esp32.cpp +5 -5
- esphome/components/ltr390/ltr390.cpp +8 -5
- esphome/components/ltr501/ltr501.cpp +19 -14
- esphome/components/ltr_als_ps/ltr_als_ps.cpp +20 -13
- esphome/components/lvgl/__init__.py +2 -2
- esphome/components/lvgl/automation.py +5 -4
- esphome/components/lvgl/defines.py +0 -2
- esphome/components/lvgl/lv_validation.py +1 -3
- esphome/components/lvgl/lvcode.py +7 -8
- esphome/components/lvgl/lvgl_esphome.cpp +26 -10
- esphome/components/lvgl/schemas.py +22 -23
- esphome/components/lvgl/trigger.py +8 -3
- esphome/components/lvgl/widgets/__init__.py +2 -2
- esphome/components/lvgl/widgets/canvas.py +9 -3
- esphome/components/lvgl/widgets/line.py +2 -1
- esphome/components/lvgl/widgets/tabview.py +7 -0
- esphome/components/m5stack_8angle/m5stack_8angle.cpp +3 -3
- esphome/components/matrix_keypad/matrix_keypad.cpp +2 -2
- esphome/components/max17043/max17043.cpp +2 -2
- esphome/components/max31855/max31855.cpp +2 -1
- esphome/components/max31856/max31856.cpp +9 -11
- esphome/components/max31865/max31865.cpp +6 -4
- esphome/components/max44009/max44009.cpp +2 -2
- esphome/components/max6675/max6675.cpp +1 -1
- esphome/components/max6956/max6956.cpp +5 -3
- esphome/components/max7219/max7219.cpp +8 -6
- esphome/components/max7219digit/automation.h +52 -0
- esphome/components/max7219digit/display.py +93 -1
- esphome/components/max7219digit/max7219digit.cpp +16 -13
- esphome/components/max9611/max9611.cpp +9 -6
- esphome/components/mcp23008/mcp23008.cpp +1 -1
- esphome/components/mcp23016/mcp23016.cpp +1 -1
- esphome/components/mcp23017/mcp23017.cpp +1 -1
- esphome/components/mcp23s08/mcp23s08.cpp +1 -1
- esphome/components/mcp23s17/mcp23s17.cpp +1 -1
- esphome/components/mcp3008/mcp3008.cpp +1 -1
- esphome/components/mcp3008/sensor/mcp3008_sensor.cpp +5 -3
- esphome/components/mcp3204/mcp3204.cpp +1 -1
- esphome/components/mcp4461/mcp4461.cpp +2 -2
- esphome/components/mcp4725/mcp4725.cpp +2 -2
- esphome/components/mcp4728/mcp4728.cpp +2 -2
- esphome/components/mcp9600/mcp9600.cpp +1 -1
- esphome/components/mcp9808/mcp9808.cpp +4 -4
- esphome/components/mdns/mdns_component.cpp +8 -2
- esphome/components/mdns/mdns_component.h +3 -1
- esphome/components/mdns/mdns_esp32.cpp +2 -2
- esphome/components/media_player/__init__.py +1 -0
- esphome/components/micro_wake_word/micro_wake_word.cpp +1 -1
- esphome/components/micro_wake_word/streaming_model.cpp +10 -6
- esphome/components/micronova/micronova.h +2 -2
- esphome/components/mics_4514/mics_4514.cpp +2 -2
- esphome/components/midea/air_conditioner.cpp +7 -5
- esphome/components/midea_ir/midea_ir.cpp +1 -1
- esphome/components/mipi_spi/mipi_spi.cpp +24 -15
- esphome/components/mixer/speaker/mixer_speaker.cpp +8 -4
- esphome/components/mlx90393/sensor_mlx90393.cpp +2 -2
- esphome/components/mlx90614/mlx90614.cpp +4 -3
- esphome/components/mmc5603/mmc5603.cpp +2 -2
- esphome/components/mmc5983/mmc5983.cpp +1 -1
- esphome/components/modbus/modbus.cpp +7 -5
- esphome/components/modbus_controller/modbus_controller.cpp +6 -4
- esphome/components/modbus_controller/output/modbus_output.cpp +10 -6
- esphome/components/modbus_controller/switch/__init__.py +6 -2
- esphome/components/modbus_controller/switch/modbus_switch.cpp +4 -0
- esphome/components/modbus_controller/switch/modbus_switch.h +3 -0
- esphome/components/mpl3115a2/mpl3115a2.cpp +3 -2
- esphome/components/mpr121/mpr121.cpp +2 -2
- esphome/components/mpu6050/mpu6050.cpp +6 -6
- esphome/components/mpu6886/mpu6886.cpp +6 -6
- esphome/components/mqtt/mqtt_alarm_control_panel.cpp +7 -3
- esphome/components/mqtt/mqtt_backend_esp32.cpp +1 -1
- esphome/components/mqtt/mqtt_client.cpp +31 -24
- esphome/components/mqtt/mqtt_component.cpp +2 -2
- esphome/components/mqtt/mqtt_cover.cpp +8 -4
- esphome/components/mqtt/mqtt_fan.cpp +12 -6
- esphome/components/mqtt/mqtt_valve.cpp +4 -2
- esphome/components/ms5611/ms5611.cpp +2 -2
- esphome/components/ms8607/ms8607.cpp +2 -2
- esphome/components/msa3xx/msa3xx.cpp +16 -12
- esphome/components/my9231/my9231.cpp +7 -5
- esphome/components/nau7802/nau7802.cpp +6 -4
- esphome/components/neopixelbus/neopixelbus_light.h +2 -2
- esphome/components/network/ip_address.h +1 -1
- esphome/components/network/util.cpp +13 -0
- esphome/components/nextion/base_component.py +2 -0
- esphome/components/nextion/binary_sensor/nextion_binarysensor.cpp +2 -3
- esphome/components/nextion/display.py +34 -22
- esphome/components/nextion/nextion.cpp +182 -143
- esphome/components/nextion/nextion.h +36 -0
- esphome/components/nextion/nextion_commands.cpp +3 -3
- esphome/components/nextion/nextion_upload_arduino.cpp +58 -61
- esphome/components/nextion/nextion_upload_idf.cpp +69 -72
- esphome/components/nextion/sensor/nextion_sensor.cpp +4 -4
- esphome/components/nextion/switch/nextion_switch.cpp +2 -2
- esphome/components/nextion/text_sensor/nextion_textsensor.cpp +2 -2
- esphome/components/nfc/nci_message.h +1 -1
- esphome/components/nfc/ndef_record.h +1 -1
- esphome/components/nfc/ndef_record_text.h +1 -1
- esphome/components/nfc/ndef_record_uri.h +1 -1
- esphome/components/nfc/nfc.h +1 -1
- esphome/components/nfc/nfc_tag.h +1 -1
- esphome/components/noblex/noblex.cpp +1 -1
- esphome/components/npi19/npi19.cpp +5 -7
- esphome/components/number/__init__.py +11 -0
- esphome/components/online_image/__init__.py +13 -1
- esphome/components/online_image/online_image.cpp +26 -4
- esphome/components/online_image/online_image.h +21 -4
- esphome/components/opentherm/generate.py +3 -3
- esphome/components/opentherm/hub.cpp +11 -7
- esphome/components/opentherm/number/number.cpp +5 -3
- esphome/components/opentherm/opentherm.h +1 -1
- esphome/components/opentherm/schema.py +13 -13
- esphome/components/opentherm/validate.py +1 -1
- esphome/components/openthread/__init__.py +146 -0
- esphome/components/openthread/const.py +10 -0
- esphome/components/openthread/openthread.cpp +206 -0
- esphome/components/openthread/openthread.h +68 -0
- esphome/components/openthread/openthread_esp.cpp +164 -0
- esphome/components/openthread/tlv.py +58 -0
- esphome/components/openthread_info/__init__.py +0 -0
- esphome/components/openthread_info/openthread_info_text_sensor.cpp +24 -0
- esphome/components/openthread_info/openthread_info_text_sensor.h +218 -0
- esphome/components/openthread_info/text_sensor.py +105 -0
- esphome/components/output/float_output.cpp +1 -1
- esphome/components/output/switch/output_switch.cpp +1 -1
- esphome/components/packet_transport/packet_transport.cpp +6 -4
- esphome/components/pca6416a/pca6416a.cpp +2 -2
- esphome/components/pca9554/pca9554.cpp +6 -4
- esphome/components/pca9685/pca9685_output.cpp +12 -8
- esphome/components/pcd8544/pcd_8544.cpp +1 -1
- esphome/components/pcf85063/pcf85063.cpp +2 -2
- esphome/components/pcf8563/pcf8563.cpp +2 -2
- esphome/components/pcf8574/pcf8574.cpp +2 -2
- esphome/components/pid/pid_climate.cpp +8 -5
- esphome/components/pid/pid_climate.h +1 -1
- esphome/components/pid/sensor/pid_climate_sensor.cpp +1 -1
- esphome/components/pipsolar/output/pipsolar_output.cpp +1 -1
- esphome/components/pipsolar/pipsolar.cpp +3 -3
- esphome/components/pm1006/pm1006.cpp +3 -7
- esphome/components/pm1006/pm1006.h +4 -1
- esphome/components/pm2005/pm2005.cpp +12 -13
- esphome/components/pm2005/sensor.py +1 -1
- esphome/components/pmsa003i/pmsa003i.cpp +2 -2
- esphome/components/pmsx003/pmsx003.cpp +0 -4
- esphome/components/pmsx003/pmsx003.h +5 -2
- esphome/components/pmwcs3/pmwcs3.cpp +9 -13
- esphome/components/pmwcs3/pmwcs3.h +0 -1
- esphome/components/pn532/pn532.cpp +7 -7
- esphome/components/pn532/pn532.h +1 -1
- esphome/components/pn532_spi/pn532_spi.cpp +1 -1
- esphome/components/pn7150/pn7150.cpp +4 -4
- esphome/components/pn7160/pn7160.cpp +4 -4
- esphome/components/power_supply/power_supply.cpp +6 -4
- esphome/components/power_supply/power_supply.h +1 -1
- esphome/components/psram/__init__.py +59 -35
- esphome/components/pulse_counter/pulse_counter_sensor.cpp +7 -4
- esphome/components/pvvx_mithermometer/display/pvvx_display.cpp +8 -5
- esphome/components/pylontech/pylontech.cpp +2 -2
- esphome/components/pylontech/sensor/pylontech_sensor.cpp +4 -2
- esphome/components/pylontech/text_sensor/pylontech_text_sensor.cpp +4 -2
- esphome/components/pzemac/pzemac.cpp +4 -2
- esphome/components/pzemdc/pzemdc.cpp +4 -2
- esphome/components/qmc5883l/qmc5883l.cpp +2 -2
- esphome/components/qmp6988/qmp6988.cpp +2 -2
- esphome/components/qmp6988/qmp6988.h +1 -1
- esphome/components/qr_code/qr_code.cpp +5 -3
- esphome/components/qspi_dbi/qspi_dbi.cpp +1 -1
- esphome/components/qwiic_pir/qwiic_pir.cpp +26 -28
- esphome/components/rc522/rc522.cpp +5 -5
- esphome/components/rdm6300/rdm6300.cpp +1 -0
- esphome/components/remote_receiver/__init__.py +10 -2
- esphome/components/remote_receiver/remote_receiver_esp32.cpp +22 -12
- esphome/components/remote_receiver/remote_receiver_esp8266.cpp +10 -7
- esphome/components/remote_receiver/remote_receiver_libretiny.cpp +10 -7
- esphome/components/remote_transmitter/__init__.py +10 -2
- esphome/components/remote_transmitter/remote_transmitter_esp32.cpp +10 -6
- esphome/components/remote_transmitter/remote_transmitter_esp8266.cpp +5 -3
- esphome/components/remote_transmitter/remote_transmitter_libretiny.cpp +5 -3
- esphome/components/resistance/resistance_sensor.cpp +6 -3
- esphome/components/restart/button/restart_button.cpp +1 -1
- esphome/components/restart/switch/restart_switch.cpp +1 -1
- esphome/components/rotary_encoder/rotary_encoder.cpp +2 -2
- esphome/components/rp2040/__init__.py +7 -0
- esphome/components/rp2040/core.cpp +8 -1
- esphome/components/rp2040/gpio.cpp +26 -9
- esphome/components/rp2040/preferences.cpp +3 -3
- esphome/components/rp2040_pio_led_strip/led_strip.cpp +11 -8
- esphome/components/rp2040_pio_led_strip/light.py +1 -1
- esphome/components/rp2040_pwm/rp2040_pwm.cpp +1 -1
- esphome/components/rpi_dpi_rgb/rpi_dpi_rgb.cpp +1 -1
- esphome/components/rtttl/rtttl.cpp +11 -9
- esphome/components/safe_mode/button/safe_mode_button.cpp +1 -1
- esphome/components/safe_mode/safe_mode.cpp +9 -8
- esphome/components/safe_mode/switch/safe_mode_switch.cpp +1 -1
- esphome/components/scd30/scd30.cpp +11 -8
- esphome/components/scd4x/scd4x.cpp +12 -8
- esphome/components/sdl/display.py +40 -0
- esphome/components/sdl/sdl_esphome.cpp +2 -2
- esphome/components/sdl/sdl_esphome.h +8 -0
- esphome/components/sdm_meter/sdm_meter.cpp +5 -2
- esphome/components/sdp3x/sdp3x.cpp +11 -11
- esphome/components/sds011/sds011.cpp +5 -6
- esphome/components/sds011/sds011.h +4 -1
- esphome/components/seeed_mr24hpc1/seeed_mr24hpc1.cpp +3 -2
- esphome/components/seeed_mr60bha2/seeed_mr60bha2.cpp +1 -0
- esphome/components/seeed_mr60fda2/seeed_mr60fda2.cpp +3 -2
- esphome/components/selec_meter/selec_meter.cpp +5 -2
- esphome/components/select/__init__.py +1 -0
- esphome/components/sen0321/sen0321.cpp +2 -2
- esphome/components/sen21231/sen21231.cpp +1 -1
- esphome/components/sen5x/sen5x.cpp +10 -7
- esphome/components/sensirion_common/i2c_sensirion.cpp +2 -1
- esphome/components/sensirion_common/i2c_sensirion.h +1 -0
- esphome/components/sensor/__init__.py +11 -1
- esphome/components/sensor/filter.h +1 -1
- esphome/components/sensor/sensor.h +9 -5
- esphome/components/servo/servo.cpp +12 -9
- esphome/components/servo/servo.h +1 -1
- esphome/components/sfa30/sfa30.cpp +1 -1
- esphome/components/sgp30/sgp30.cpp +10 -8
- esphome/components/sgp4x/sgp4x.cpp +49 -61
- esphome/components/sgp4x/sgp4x.h +0 -1
- esphome/components/shelly_dimmer/shelly_dimmer.cpp +11 -7
- esphome/components/sht3xd/sht3xd.cpp +1 -1
- esphome/components/sht4x/sht4x.cpp +2 -2
- esphome/components/shtcx/shtcx.cpp +13 -16
- esphome/components/shutdown/button/shutdown_button.cpp +1 -1
- esphome/components/shutdown/switch/shutdown_switch.cpp +1 -1
- esphome/components/sim800l/sim800l.cpp +2 -2
- esphome/components/slow_pwm/slow_pwm_output.cpp +4 -2
- esphome/components/sm16716/sm16716.cpp +1 -1
- esphome/components/sm2135/sm2135.cpp +1 -1
- esphome/components/sm2235/sm2235.cpp +5 -3
- esphome/components/sm2335/sm2335.cpp +5 -3
- esphome/components/sml/sml.cpp +1 -1
- esphome/components/sn74hc165/sn74hc165.cpp +1 -2
- esphome/components/sn74hc595/sn74hc595.cpp +1 -2
- esphome/components/sntp/sntp_component.cpp +1 -1
- esphome/components/socket/__init__.py +2 -0
- esphome/components/socket/bsd_sockets_impl.cpp +51 -7
- esphome/components/socket/lwip_raw_tcp_impl.cpp +5 -0
- esphome/components/socket/lwip_sockets_impl.cpp +51 -7
- esphome/components/socket/socket.cpp +31 -0
- esphome/components/socket/socket.h +27 -1
- esphome/components/sonoff_d1/sonoff_d1.cpp +7 -4
- esphome/components/sonoff_d1/sonoff_d1.h +2 -2
- esphome/components/sound_level/sound_level.cpp +4 -2
- esphome/components/speaker/media_player/__init__.py +3 -0
- esphome/components/speaker/media_player/speaker_media_player.cpp +1 -3
- esphome/components/speaker/media_player/speaker_media_player.h +6 -0
- esphome/components/spi/__init__.py +10 -2
- esphome/components/spi/spi.cpp +4 -4
- esphome/components/spi_device/spi_device.cpp +1 -2
- esphome/components/sprinkler/sprinkler.cpp +9 -6
- esphome/components/sps30/sps30.cpp +16 -15
- esphome/components/ssd1306_base/ssd1306_base.cpp +1 -1
- esphome/components/ssd1306_i2c/ssd1306_i2c.cpp +11 -8
- esphome/components/ssd1306_spi/ssd1306_spi.cpp +10 -7
- esphome/components/ssd1322_base/ssd1322_base.cpp +1 -1
- esphome/components/ssd1322_spi/ssd1322_spi.cpp +1 -1
- esphome/components/ssd1325_base/ssd1325_base.cpp +1 -1
- esphome/components/ssd1325_spi/ssd1325_spi.cpp +1 -1
- esphome/components/ssd1327_base/ssd1327_base.cpp +1 -1
- esphome/components/ssd1327_i2c/ssd1327_i2c.cpp +2 -2
- esphome/components/ssd1327_spi/ssd1327_spi.cpp +1 -1
- esphome/components/ssd1331_base/ssd1331_base.cpp +1 -1
- esphome/components/ssd1331_spi/ssd1331_spi.cpp +1 -1
- esphome/components/ssd1351_base/ssd1351_base.cpp +1 -1
- esphome/components/ssd1351_spi/ssd1351_spi.cpp +1 -1
- esphome/components/st7567_base/st7567_base.cpp +3 -3
- esphome/components/st7567_i2c/st7567_i2c.cpp +7 -5
- esphome/components/st7567_spi/st7567_spi.cpp +1 -1
- esphome/components/st7701s/st7701s.cpp +4 -2
- esphome/components/st7735/st7735.cpp +3 -3
- esphome/components/st7789v/st7789v.cpp +10 -7
- esphome/components/st7920/st7920.cpp +6 -4
- esphome/components/statsd/statsd.cpp +9 -5
- esphome/components/status_led/light/status_led_light.cpp +1 -1
- esphome/components/status_led/status_led.cpp +1 -1
- esphome/components/stepper/stepper.h +5 -3
- esphome/components/sts3x/sts3x.cpp +2 -2
- esphome/components/switch/__init__.py +1 -0
- esphome/components/switch/switch.cpp +18 -12
- esphome/components/switch/switch.h +1 -1
- esphome/components/sx1509/__init__.py +53 -20
- esphome/components/sx1509/sx1509.cpp +29 -5
- esphome/components/sx1509/sx1509.h +9 -1
- esphome/components/t6615/t6615.cpp +1 -0
- esphome/components/tc74/tc74.cpp +1 -1
- esphome/components/tca9548a/tca9548a.cpp +1 -1
- esphome/components/tca9555/tca9555.cpp +2 -2
- esphome/components/tcs34725/tcs34725.cpp +4 -4
- esphome/components/tee501/tee501.cpp +3 -2
- esphome/components/tem3200/tem3200.cpp +5 -6
- esphome/components/template/alarm_control_panel/__init__.py +6 -0
- esphome/components/template/alarm_control_panel/template_alarm_control_panel.cpp +38 -12
- esphome/components/template/alarm_control_panel/template_alarm_control_panel.h +3 -1
- esphome/components/template/cover/template_cover.cpp +1 -1
- esphome/components/template/select/template_select.cpp +6 -4
- esphome/components/template/text/template_text.cpp +2 -3
- esphome/components/template/valve/template_valve.cpp +5 -3
- esphome/components/text/__init__.py +10 -11
- esphome/components/text_sensor/__init__.py +1 -0
- esphome/components/thermostat/thermostat_climate.cpp +67 -43
- esphome/components/time/__init__.py +1 -2
- esphome/components/time_based/time_based_cover.cpp +4 -2
- esphome/components/tlc59208f/tlc59208f_output.cpp +8 -6
- esphome/components/tm1621/tm1621.cpp +3 -3
- esphome/components/tm1637/tm1637.cpp +9 -7
- esphome/components/tm1638/tm1638.cpp +7 -5
- esphome/components/tm1651/tm1651.cpp +2 -2
- esphome/components/tmp102/tmp102.cpp +1 -3
- esphome/components/tmp102/tmp102.h +0 -3
- esphome/components/tmp1075/tmp1075.cpp +12 -9
- esphome/components/tmp117/tmp117.cpp +2 -2
- esphome/components/tof10120/tof10120_sensor.cpp +2 -2
- esphome/components/tormatic/tormatic_cover.cpp +4 -2
- esphome/components/tsl2561/tsl2561.cpp +7 -5
- esphome/components/tsl2591/tsl2591.cpp +25 -27
- esphome/components/tt21100/touchscreen/tt21100.cpp +1 -1
- esphome/components/ttp229_bsf/ttp229_bsf.cpp +1 -1
- esphome/components/ttp229_lsf/ttp229_lsf.cpp +2 -2
- esphome/components/tuya/select/tuya_select.cpp +5 -3
- esphome/components/tx20/tx20.cpp +3 -3
- esphome/components/uart/__init__.py +4 -5
- esphome/components/uart/button/uart_button.cpp +1 -1
- esphome/components/uart/switch/uart_switch.cpp +2 -2
- esphome/components/uart/uart.cpp +2 -2
- esphome/components/uart/uart_component_esp32_arduino.cpp +8 -6
- esphome/components/uart/uart_component_esp8266.cpp +9 -7
- esphome/components/uart/uart_component_esp_idf.cpp +9 -7
- esphome/components/uart/uart_component_host.cpp +11 -8
- esphome/components/uart/uart_component_libretiny.cpp +8 -6
- esphome/components/uart/uart_component_rp2040.cpp +8 -6
- esphome/components/udp/udp_component.cpp +9 -5
- esphome/components/ufire_ec/ufire_ec.cpp +5 -3
- esphome/components/ufire_ise/ufire_ise.cpp +1 -1
- esphome/components/ultrasonic/ultrasonic_sensor.cpp +5 -3
- esphome/components/update/__init__.py +1 -0
- esphome/components/uponor_smatrix/climate/uponor_smatrix_climate.cpp +1 -1
- esphome/components/uponor_smatrix/sensor/uponor_smatrix_sensor.cpp +4 -2
- esphome/components/uponor_smatrix/uponor_smatrix.cpp +2 -1
- esphome/components/usb_host/__init__.py +64 -0
- esphome/components/usb_host/usb_host.h +116 -0
- esphome/components/usb_host/usb_host_client.cpp +394 -0
- esphome/components/usb_host/usb_host_component.cpp +35 -0
- esphome/components/usb_uart/__init__.py +134 -0
- esphome/components/usb_uart/ch34x.cpp +80 -0
- esphome/components/usb_uart/cp210x.cpp +126 -0
- esphome/components/usb_uart/usb_uart.cpp +328 -0
- esphome/components/usb_uart/usb_uart.h +151 -0
- esphome/components/valve/__init__.py +1 -0
- esphome/components/veml3235/veml3235.cpp +13 -9
- esphome/components/veml7700/veml7700.cpp +10 -6
- esphome/components/voice_assistant/voice_assistant.cpp +7 -7
- esphome/components/wake_on_lan/wake_on_lan.cpp +1 -1
- esphome/components/waveshare_epaper/waveshare_epaper.cpp +1 -1
- esphome/components/web_server/server_index_v2.h +632 -630
- esphome/components/web_server/server_index_v3.h +411 -409
- esphome/components/web_server/web_server.cpp +5 -3
- esphome/components/web_server_base/web_server_base.cpp +1 -1
- esphome/components/web_server_idf/utils.cpp +1 -1
- esphome/components/web_server_idf/web_server_idf.cpp +1 -1
- esphome/components/weikai/__init__.py +2 -0
- esphome/components/weikai/weikai.cpp +23 -21
- esphome/components/weikai_i2c/weikai_i2c.cpp +14 -9
- esphome/components/weikai_spi/weikai_spi.cpp +11 -6
- esphome/components/wiegand/wiegand.cpp +1 -1
- esphome/components/wifi/wifi_component.cpp +50 -37
- esphome/components/wifi/wifi_component.h +7 -4
- esphome/components/wifi/wifi_component_esp32_arduino.cpp +2 -2
- esphome/components/wifi/wifi_component_esp8266.cpp +3 -3
- esphome/components/wifi/wifi_component_libretiny.cpp +4 -4
- esphome/components/wireguard/wireguard.cpp +21 -21
- esphome/components/wl_134/text_sensor.py +1 -2
- esphome/components/wled/wled_light_effect.cpp +1 -1
- esphome/components/x9c/x9c.cpp +5 -3
- esphome/components/xgzp68xx/xgzp68xx.cpp +8 -6
- esphome/components/xiaomi_cgd1/xiaomi_cgd1.cpp +4 -2
- esphome/components/xiaomi_cgdk2/xiaomi_cgdk2.cpp +4 -2
- esphome/components/xiaomi_cgg1/xiaomi_cgg1.cpp +4 -2
- esphome/components/xiaomi_hhccjcy10/xiaomi_hhccjcy10.cpp +1 -1
- esphome/components/xiaomi_lywsd02mmc/xiaomi_lywsd02mmc.cpp +4 -2
- esphome/components/xiaomi_lywsd03mmc/xiaomi_lywsd03mmc.cpp +4 -2
- esphome/components/xiaomi_mhoc401/xiaomi_mhoc401.cpp +4 -2
- esphome/components/xl9535/xl9535.cpp +2 -2
- esphome/components/xpt2046/touchscreen/xpt2046.cpp +12 -11
- esphome/components/xpt2046/touchscreen/xpt2046.h +2 -2
- esphome/config.py +3 -2
- esphome/config_validation.py +46 -17
- esphome/const.py +10 -1
- esphome/core/__init__.py +37 -18
- esphome/core/application.cpp +188 -5
- esphome/core/application.h +110 -0
- esphome/core/component.h +13 -0
- esphome/core/config.py +12 -0
- esphome/core/defines.h +10 -2
- esphome/core/hal.h +5 -0
- esphome/core/helpers.cpp +1 -1
- esphome/core/helpers.h +4 -4
- esphome/core/log.h +2 -0
- esphome/core/log_const_en.h +4 -0
- esphome/core/scheduler.cpp +2 -2
- esphome/coroutine.py +3 -4
- esphome/cpp_generator.py +32 -32
- esphome/dashboard/core.py +2 -2
- esphome/dashboard/web_server.py +2 -2
- esphome/git.py +4 -4
- esphome/helpers.py +5 -6
- esphome/loader.py +8 -7
- esphome/log.py +7 -1
- esphome/platformio_api.py +2 -3
- esphome/storage_json.py +13 -5
- esphome/types.py +12 -13
- esphome/util.py +1 -2
- esphome/writer.py +5 -3
- esphome/yaml_util.py +6 -1
- esphome/zeroconf.py +1 -1
- {esphome-2025.5.1.dist-info → esphome-2025.6.0b1.dist-info}/METADATA +12 -11
- {esphome-2025.5.1.dist-info → esphome-2025.6.0b1.dist-info}/RECORD +720 -667
- {esphome-2025.5.1.dist-info → esphome-2025.6.0b1.dist-info}/WHEEL +1 -1
- {esphome-2025.5.1.dist-info → esphome-2025.6.0b1.dist-info}/entry_points.txt +0 -0
- {esphome-2025.5.1.dist-info → esphome-2025.6.0b1.dist-info}/licenses/LICENSE +0 -0
- {esphome-2025.5.1.dist-info → esphome-2025.6.0b1.dist-info}/top_level.txt +0 -0
esphome/components/api/api_pb2.h
CHANGED
@@ -41,7 +41,8 @@ enum FanDirection : uint32_t {
|
|
41
41
|
enum ColorMode : uint32_t {
|
42
42
|
COLOR_MODE_UNKNOWN = 0,
|
43
43
|
COLOR_MODE_ON_OFF = 1,
|
44
|
-
|
44
|
+
COLOR_MODE_LEGACY_BRIGHTNESS = 2,
|
45
|
+
COLOR_MODE_BRIGHTNESS = 3,
|
45
46
|
COLOR_MODE_WHITE = 7,
|
46
47
|
COLOR_MODE_COLOR_TEMPERATURE = 11,
|
47
48
|
COLOR_MODE_COLD_WARM_WHITE = 19,
|
@@ -254,6 +255,11 @@ enum UpdateCommand : uint32_t {
|
|
254
255
|
|
255
256
|
class HelloRequest : public ProtoMessage {
|
256
257
|
public:
|
258
|
+
static constexpr uint16_t MESSAGE_TYPE = 1;
|
259
|
+
static constexpr uint16_t ESTIMATED_SIZE = 17;
|
260
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
261
|
+
static constexpr const char *message_name() { return "hello_request"; }
|
262
|
+
#endif
|
257
263
|
std::string client_info{};
|
258
264
|
uint32_t api_version_major{0};
|
259
265
|
uint32_t api_version_minor{0};
|
@@ -269,6 +275,11 @@ class HelloRequest : public ProtoMessage {
|
|
269
275
|
};
|
270
276
|
class HelloResponse : public ProtoMessage {
|
271
277
|
public:
|
278
|
+
static constexpr uint16_t MESSAGE_TYPE = 2;
|
279
|
+
static constexpr uint16_t ESTIMATED_SIZE = 26;
|
280
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
281
|
+
static constexpr const char *message_name() { return "hello_response"; }
|
282
|
+
#endif
|
272
283
|
uint32_t api_version_major{0};
|
273
284
|
uint32_t api_version_minor{0};
|
274
285
|
std::string server_info{};
|
@@ -285,6 +296,11 @@ class HelloResponse : public ProtoMessage {
|
|
285
296
|
};
|
286
297
|
class ConnectRequest : public ProtoMessage {
|
287
298
|
public:
|
299
|
+
static constexpr uint16_t MESSAGE_TYPE = 3;
|
300
|
+
static constexpr uint16_t ESTIMATED_SIZE = 9;
|
301
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
302
|
+
static constexpr const char *message_name() { return "connect_request"; }
|
303
|
+
#endif
|
288
304
|
std::string password{};
|
289
305
|
void encode(ProtoWriteBuffer buffer) const override;
|
290
306
|
void calculate_size(uint32_t &total_size) const override;
|
@@ -297,6 +313,11 @@ class ConnectRequest : public ProtoMessage {
|
|
297
313
|
};
|
298
314
|
class ConnectResponse : public ProtoMessage {
|
299
315
|
public:
|
316
|
+
static constexpr uint16_t MESSAGE_TYPE = 4;
|
317
|
+
static constexpr uint16_t ESTIMATED_SIZE = 2;
|
318
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
319
|
+
static constexpr const char *message_name() { return "connect_response"; }
|
320
|
+
#endif
|
300
321
|
bool invalid_password{false};
|
301
322
|
void encode(ProtoWriteBuffer buffer) const override;
|
302
323
|
void calculate_size(uint32_t &total_size) const override;
|
@@ -309,6 +330,11 @@ class ConnectResponse : public ProtoMessage {
|
|
309
330
|
};
|
310
331
|
class DisconnectRequest : public ProtoMessage {
|
311
332
|
public:
|
333
|
+
static constexpr uint16_t MESSAGE_TYPE = 5;
|
334
|
+
static constexpr uint16_t ESTIMATED_SIZE = 0;
|
335
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
336
|
+
static constexpr const char *message_name() { return "disconnect_request"; }
|
337
|
+
#endif
|
312
338
|
void encode(ProtoWriteBuffer buffer) const override;
|
313
339
|
void calculate_size(uint32_t &total_size) const override;
|
314
340
|
#ifdef HAS_PROTO_MESSAGE_DUMP
|
@@ -319,6 +345,11 @@ class DisconnectRequest : public ProtoMessage {
|
|
319
345
|
};
|
320
346
|
class DisconnectResponse : public ProtoMessage {
|
321
347
|
public:
|
348
|
+
static constexpr uint16_t MESSAGE_TYPE = 6;
|
349
|
+
static constexpr uint16_t ESTIMATED_SIZE = 0;
|
350
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
351
|
+
static constexpr const char *message_name() { return "disconnect_response"; }
|
352
|
+
#endif
|
322
353
|
void encode(ProtoWriteBuffer buffer) const override;
|
323
354
|
void calculate_size(uint32_t &total_size) const override;
|
324
355
|
#ifdef HAS_PROTO_MESSAGE_DUMP
|
@@ -329,6 +360,11 @@ class DisconnectResponse : public ProtoMessage {
|
|
329
360
|
};
|
330
361
|
class PingRequest : public ProtoMessage {
|
331
362
|
public:
|
363
|
+
static constexpr uint16_t MESSAGE_TYPE = 7;
|
364
|
+
static constexpr uint16_t ESTIMATED_SIZE = 0;
|
365
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
366
|
+
static constexpr const char *message_name() { return "ping_request"; }
|
367
|
+
#endif
|
332
368
|
void encode(ProtoWriteBuffer buffer) const override;
|
333
369
|
void calculate_size(uint32_t &total_size) const override;
|
334
370
|
#ifdef HAS_PROTO_MESSAGE_DUMP
|
@@ -339,6 +375,11 @@ class PingRequest : public ProtoMessage {
|
|
339
375
|
};
|
340
376
|
class PingResponse : public ProtoMessage {
|
341
377
|
public:
|
378
|
+
static constexpr uint16_t MESSAGE_TYPE = 8;
|
379
|
+
static constexpr uint16_t ESTIMATED_SIZE = 0;
|
380
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
381
|
+
static constexpr const char *message_name() { return "ping_response"; }
|
382
|
+
#endif
|
342
383
|
void encode(ProtoWriteBuffer buffer) const override;
|
343
384
|
void calculate_size(uint32_t &total_size) const override;
|
344
385
|
#ifdef HAS_PROTO_MESSAGE_DUMP
|
@@ -349,6 +390,11 @@ class PingResponse : public ProtoMessage {
|
|
349
390
|
};
|
350
391
|
class DeviceInfoRequest : public ProtoMessage {
|
351
392
|
public:
|
393
|
+
static constexpr uint16_t MESSAGE_TYPE = 9;
|
394
|
+
static constexpr uint16_t ESTIMATED_SIZE = 0;
|
395
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
396
|
+
static constexpr const char *message_name() { return "device_info_request"; }
|
397
|
+
#endif
|
352
398
|
void encode(ProtoWriteBuffer buffer) const override;
|
353
399
|
void calculate_size(uint32_t &total_size) const override;
|
354
400
|
#ifdef HAS_PROTO_MESSAGE_DUMP
|
@@ -359,6 +405,11 @@ class DeviceInfoRequest : public ProtoMessage {
|
|
359
405
|
};
|
360
406
|
class DeviceInfoResponse : public ProtoMessage {
|
361
407
|
public:
|
408
|
+
static constexpr uint16_t MESSAGE_TYPE = 10;
|
409
|
+
static constexpr uint16_t ESTIMATED_SIZE = 129;
|
410
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
411
|
+
static constexpr const char *message_name() { return "device_info_response"; }
|
412
|
+
#endif
|
362
413
|
bool uses_password{false};
|
363
414
|
std::string name{};
|
364
415
|
std::string mac_address{};
|
@@ -390,6 +441,11 @@ class DeviceInfoResponse : public ProtoMessage {
|
|
390
441
|
};
|
391
442
|
class ListEntitiesRequest : public ProtoMessage {
|
392
443
|
public:
|
444
|
+
static constexpr uint16_t MESSAGE_TYPE = 11;
|
445
|
+
static constexpr uint16_t ESTIMATED_SIZE = 0;
|
446
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
447
|
+
static constexpr const char *message_name() { return "list_entities_request"; }
|
448
|
+
#endif
|
393
449
|
void encode(ProtoWriteBuffer buffer) const override;
|
394
450
|
void calculate_size(uint32_t &total_size) const override;
|
395
451
|
#ifdef HAS_PROTO_MESSAGE_DUMP
|
@@ -400,6 +456,11 @@ class ListEntitiesRequest : public ProtoMessage {
|
|
400
456
|
};
|
401
457
|
class ListEntitiesDoneResponse : public ProtoMessage {
|
402
458
|
public:
|
459
|
+
static constexpr uint16_t MESSAGE_TYPE = 19;
|
460
|
+
static constexpr uint16_t ESTIMATED_SIZE = 0;
|
461
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
462
|
+
static constexpr const char *message_name() { return "list_entities_done_response"; }
|
463
|
+
#endif
|
403
464
|
void encode(ProtoWriteBuffer buffer) const override;
|
404
465
|
void calculate_size(uint32_t &total_size) const override;
|
405
466
|
#ifdef HAS_PROTO_MESSAGE_DUMP
|
@@ -410,6 +471,11 @@ class ListEntitiesDoneResponse : public ProtoMessage {
|
|
410
471
|
};
|
411
472
|
class SubscribeStatesRequest : public ProtoMessage {
|
412
473
|
public:
|
474
|
+
static constexpr uint16_t MESSAGE_TYPE = 20;
|
475
|
+
static constexpr uint16_t ESTIMATED_SIZE = 0;
|
476
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
477
|
+
static constexpr const char *message_name() { return "subscribe_states_request"; }
|
478
|
+
#endif
|
413
479
|
void encode(ProtoWriteBuffer buffer) const override;
|
414
480
|
void calculate_size(uint32_t &total_size) const override;
|
415
481
|
#ifdef HAS_PROTO_MESSAGE_DUMP
|
@@ -420,6 +486,11 @@ class SubscribeStatesRequest : public ProtoMessage {
|
|
420
486
|
};
|
421
487
|
class ListEntitiesBinarySensorResponse : public ProtoMessage {
|
422
488
|
public:
|
489
|
+
static constexpr uint16_t MESSAGE_TYPE = 12;
|
490
|
+
static constexpr uint16_t ESTIMATED_SIZE = 56;
|
491
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
492
|
+
static constexpr const char *message_name() { return "list_entities_binary_sensor_response"; }
|
493
|
+
#endif
|
423
494
|
std::string object_id{};
|
424
495
|
uint32_t key{0};
|
425
496
|
std::string name{};
|
@@ -442,6 +513,11 @@ class ListEntitiesBinarySensorResponse : public ProtoMessage {
|
|
442
513
|
};
|
443
514
|
class BinarySensorStateResponse : public ProtoMessage {
|
444
515
|
public:
|
516
|
+
static constexpr uint16_t MESSAGE_TYPE = 21;
|
517
|
+
static constexpr uint16_t ESTIMATED_SIZE = 9;
|
518
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
519
|
+
static constexpr const char *message_name() { return "binary_sensor_state_response"; }
|
520
|
+
#endif
|
445
521
|
uint32_t key{0};
|
446
522
|
bool state{false};
|
447
523
|
bool missing_state{false};
|
@@ -457,6 +533,11 @@ class BinarySensorStateResponse : public ProtoMessage {
|
|
457
533
|
};
|
458
534
|
class ListEntitiesCoverResponse : public ProtoMessage {
|
459
535
|
public:
|
536
|
+
static constexpr uint16_t MESSAGE_TYPE = 13;
|
537
|
+
static constexpr uint16_t ESTIMATED_SIZE = 62;
|
538
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
539
|
+
static constexpr const char *message_name() { return "list_entities_cover_response"; }
|
540
|
+
#endif
|
460
541
|
std::string object_id{};
|
461
542
|
uint32_t key{0};
|
462
543
|
std::string name{};
|
@@ -482,6 +563,11 @@ class ListEntitiesCoverResponse : public ProtoMessage {
|
|
482
563
|
};
|
483
564
|
class CoverStateResponse : public ProtoMessage {
|
484
565
|
public:
|
566
|
+
static constexpr uint16_t MESSAGE_TYPE = 22;
|
567
|
+
static constexpr uint16_t ESTIMATED_SIZE = 19;
|
568
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
569
|
+
static constexpr const char *message_name() { return "cover_state_response"; }
|
570
|
+
#endif
|
485
571
|
uint32_t key{0};
|
486
572
|
enums::LegacyCoverState legacy_state{};
|
487
573
|
float position{0.0f};
|
@@ -499,6 +585,11 @@ class CoverStateResponse : public ProtoMessage {
|
|
499
585
|
};
|
500
586
|
class CoverCommandRequest : public ProtoMessage {
|
501
587
|
public:
|
588
|
+
static constexpr uint16_t MESSAGE_TYPE = 30;
|
589
|
+
static constexpr uint16_t ESTIMATED_SIZE = 25;
|
590
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
591
|
+
static constexpr const char *message_name() { return "cover_command_request"; }
|
592
|
+
#endif
|
502
593
|
uint32_t key{0};
|
503
594
|
bool has_legacy_command{false};
|
504
595
|
enums::LegacyCoverCommand legacy_command{};
|
@@ -519,6 +610,11 @@ class CoverCommandRequest : public ProtoMessage {
|
|
519
610
|
};
|
520
611
|
class ListEntitiesFanResponse : public ProtoMessage {
|
521
612
|
public:
|
613
|
+
static constexpr uint16_t MESSAGE_TYPE = 14;
|
614
|
+
static constexpr uint16_t ESTIMATED_SIZE = 73;
|
615
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
616
|
+
static constexpr const char *message_name() { return "list_entities_fan_response"; }
|
617
|
+
#endif
|
522
618
|
std::string object_id{};
|
523
619
|
uint32_t key{0};
|
524
620
|
std::string name{};
|
@@ -544,6 +640,11 @@ class ListEntitiesFanResponse : public ProtoMessage {
|
|
544
640
|
};
|
545
641
|
class FanStateResponse : public ProtoMessage {
|
546
642
|
public:
|
643
|
+
static constexpr uint16_t MESSAGE_TYPE = 23;
|
644
|
+
static constexpr uint16_t ESTIMATED_SIZE = 26;
|
645
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
646
|
+
static constexpr const char *message_name() { return "fan_state_response"; }
|
647
|
+
#endif
|
547
648
|
uint32_t key{0};
|
548
649
|
bool state{false};
|
549
650
|
bool oscillating{false};
|
@@ -564,6 +665,11 @@ class FanStateResponse : public ProtoMessage {
|
|
564
665
|
};
|
565
666
|
class FanCommandRequest : public ProtoMessage {
|
566
667
|
public:
|
668
|
+
static constexpr uint16_t MESSAGE_TYPE = 31;
|
669
|
+
static constexpr uint16_t ESTIMATED_SIZE = 38;
|
670
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
671
|
+
static constexpr const char *message_name() { return "fan_command_request"; }
|
672
|
+
#endif
|
567
673
|
uint32_t key{0};
|
568
674
|
bool has_state{false};
|
569
675
|
bool state{false};
|
@@ -590,6 +696,11 @@ class FanCommandRequest : public ProtoMessage {
|
|
590
696
|
};
|
591
697
|
class ListEntitiesLightResponse : public ProtoMessage {
|
592
698
|
public:
|
699
|
+
static constexpr uint16_t MESSAGE_TYPE = 15;
|
700
|
+
static constexpr uint16_t ESTIMATED_SIZE = 85;
|
701
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
702
|
+
static constexpr const char *message_name() { return "list_entities_light_response"; }
|
703
|
+
#endif
|
593
704
|
std::string object_id{};
|
594
705
|
uint32_t key{0};
|
595
706
|
std::string name{};
|
@@ -618,6 +729,11 @@ class ListEntitiesLightResponse : public ProtoMessage {
|
|
618
729
|
};
|
619
730
|
class LightStateResponse : public ProtoMessage {
|
620
731
|
public:
|
732
|
+
static constexpr uint16_t MESSAGE_TYPE = 24;
|
733
|
+
static constexpr uint16_t ESTIMATED_SIZE = 63;
|
734
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
735
|
+
static constexpr const char *message_name() { return "light_state_response"; }
|
736
|
+
#endif
|
621
737
|
uint32_t key{0};
|
622
738
|
bool state{false};
|
623
739
|
float brightness{0.0f};
|
@@ -644,6 +760,11 @@ class LightStateResponse : public ProtoMessage {
|
|
644
760
|
};
|
645
761
|
class LightCommandRequest : public ProtoMessage {
|
646
762
|
public:
|
763
|
+
static constexpr uint16_t MESSAGE_TYPE = 32;
|
764
|
+
static constexpr uint16_t ESTIMATED_SIZE = 107;
|
765
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
766
|
+
static constexpr const char *message_name() { return "light_command_request"; }
|
767
|
+
#endif
|
647
768
|
uint32_t key{0};
|
648
769
|
bool has_state{false};
|
649
770
|
bool state{false};
|
@@ -684,6 +805,11 @@ class LightCommandRequest : public ProtoMessage {
|
|
684
805
|
};
|
685
806
|
class ListEntitiesSensorResponse : public ProtoMessage {
|
686
807
|
public:
|
808
|
+
static constexpr uint16_t MESSAGE_TYPE = 16;
|
809
|
+
static constexpr uint16_t ESTIMATED_SIZE = 73;
|
810
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
811
|
+
static constexpr const char *message_name() { return "list_entities_sensor_response"; }
|
812
|
+
#endif
|
687
813
|
std::string object_id{};
|
688
814
|
uint32_t key{0};
|
689
815
|
std::string name{};
|
@@ -710,6 +836,11 @@ class ListEntitiesSensorResponse : public ProtoMessage {
|
|
710
836
|
};
|
711
837
|
class SensorStateResponse : public ProtoMessage {
|
712
838
|
public:
|
839
|
+
static constexpr uint16_t MESSAGE_TYPE = 25;
|
840
|
+
static constexpr uint16_t ESTIMATED_SIZE = 12;
|
841
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
842
|
+
static constexpr const char *message_name() { return "sensor_state_response"; }
|
843
|
+
#endif
|
713
844
|
uint32_t key{0};
|
714
845
|
float state{0.0f};
|
715
846
|
bool missing_state{false};
|
@@ -725,6 +856,11 @@ class SensorStateResponse : public ProtoMessage {
|
|
725
856
|
};
|
726
857
|
class ListEntitiesSwitchResponse : public ProtoMessage {
|
727
858
|
public:
|
859
|
+
static constexpr uint16_t MESSAGE_TYPE = 17;
|
860
|
+
static constexpr uint16_t ESTIMATED_SIZE = 56;
|
861
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
862
|
+
static constexpr const char *message_name() { return "list_entities_switch_response"; }
|
863
|
+
#endif
|
728
864
|
std::string object_id{};
|
729
865
|
uint32_t key{0};
|
730
866
|
std::string name{};
|
@@ -747,6 +883,11 @@ class ListEntitiesSwitchResponse : public ProtoMessage {
|
|
747
883
|
};
|
748
884
|
class SwitchStateResponse : public ProtoMessage {
|
749
885
|
public:
|
886
|
+
static constexpr uint16_t MESSAGE_TYPE = 26;
|
887
|
+
static constexpr uint16_t ESTIMATED_SIZE = 7;
|
888
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
889
|
+
static constexpr const char *message_name() { return "switch_state_response"; }
|
890
|
+
#endif
|
750
891
|
uint32_t key{0};
|
751
892
|
bool state{false};
|
752
893
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -761,6 +902,11 @@ class SwitchStateResponse : public ProtoMessage {
|
|
761
902
|
};
|
762
903
|
class SwitchCommandRequest : public ProtoMessage {
|
763
904
|
public:
|
905
|
+
static constexpr uint16_t MESSAGE_TYPE = 33;
|
906
|
+
static constexpr uint16_t ESTIMATED_SIZE = 7;
|
907
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
908
|
+
static constexpr const char *message_name() { return "switch_command_request"; }
|
909
|
+
#endif
|
764
910
|
uint32_t key{0};
|
765
911
|
bool state{false};
|
766
912
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -775,6 +921,11 @@ class SwitchCommandRequest : public ProtoMessage {
|
|
775
921
|
};
|
776
922
|
class ListEntitiesTextSensorResponse : public ProtoMessage {
|
777
923
|
public:
|
924
|
+
static constexpr uint16_t MESSAGE_TYPE = 18;
|
925
|
+
static constexpr uint16_t ESTIMATED_SIZE = 54;
|
926
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
927
|
+
static constexpr const char *message_name() { return "list_entities_text_sensor_response"; }
|
928
|
+
#endif
|
778
929
|
std::string object_id{};
|
779
930
|
uint32_t key{0};
|
780
931
|
std::string name{};
|
@@ -796,6 +947,11 @@ class ListEntitiesTextSensorResponse : public ProtoMessage {
|
|
796
947
|
};
|
797
948
|
class TextSensorStateResponse : public ProtoMessage {
|
798
949
|
public:
|
950
|
+
static constexpr uint16_t MESSAGE_TYPE = 27;
|
951
|
+
static constexpr uint16_t ESTIMATED_SIZE = 16;
|
952
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
953
|
+
static constexpr const char *message_name() { return "text_sensor_state_response"; }
|
954
|
+
#endif
|
799
955
|
uint32_t key{0};
|
800
956
|
std::string state{};
|
801
957
|
bool missing_state{false};
|
@@ -812,6 +968,11 @@ class TextSensorStateResponse : public ProtoMessage {
|
|
812
968
|
};
|
813
969
|
class SubscribeLogsRequest : public ProtoMessage {
|
814
970
|
public:
|
971
|
+
static constexpr uint16_t MESSAGE_TYPE = 28;
|
972
|
+
static constexpr uint16_t ESTIMATED_SIZE = 4;
|
973
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
974
|
+
static constexpr const char *message_name() { return "subscribe_logs_request"; }
|
975
|
+
#endif
|
815
976
|
enums::LogLevel level{};
|
816
977
|
bool dump_config{false};
|
817
978
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -825,6 +986,11 @@ class SubscribeLogsRequest : public ProtoMessage {
|
|
825
986
|
};
|
826
987
|
class SubscribeLogsResponse : public ProtoMessage {
|
827
988
|
public:
|
989
|
+
static constexpr uint16_t MESSAGE_TYPE = 29;
|
990
|
+
static constexpr uint16_t ESTIMATED_SIZE = 13;
|
991
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
992
|
+
static constexpr const char *message_name() { return "subscribe_logs_response"; }
|
993
|
+
#endif
|
828
994
|
enums::LogLevel level{};
|
829
995
|
std::string message{};
|
830
996
|
bool send_failed{false};
|
@@ -840,6 +1006,11 @@ class SubscribeLogsResponse : public ProtoMessage {
|
|
840
1006
|
};
|
841
1007
|
class NoiseEncryptionSetKeyRequest : public ProtoMessage {
|
842
1008
|
public:
|
1009
|
+
static constexpr uint16_t MESSAGE_TYPE = 124;
|
1010
|
+
static constexpr uint16_t ESTIMATED_SIZE = 9;
|
1011
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1012
|
+
static constexpr const char *message_name() { return "noise_encryption_set_key_request"; }
|
1013
|
+
#endif
|
843
1014
|
std::string key{};
|
844
1015
|
void encode(ProtoWriteBuffer buffer) const override;
|
845
1016
|
void calculate_size(uint32_t &total_size) const override;
|
@@ -852,6 +1023,11 @@ class NoiseEncryptionSetKeyRequest : public ProtoMessage {
|
|
852
1023
|
};
|
853
1024
|
class NoiseEncryptionSetKeyResponse : public ProtoMessage {
|
854
1025
|
public:
|
1026
|
+
static constexpr uint16_t MESSAGE_TYPE = 125;
|
1027
|
+
static constexpr uint16_t ESTIMATED_SIZE = 2;
|
1028
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1029
|
+
static constexpr const char *message_name() { return "noise_encryption_set_key_response"; }
|
1030
|
+
#endif
|
855
1031
|
bool success{false};
|
856
1032
|
void encode(ProtoWriteBuffer buffer) const override;
|
857
1033
|
void calculate_size(uint32_t &total_size) const override;
|
@@ -864,6 +1040,11 @@ class NoiseEncryptionSetKeyResponse : public ProtoMessage {
|
|
864
1040
|
};
|
865
1041
|
class SubscribeHomeassistantServicesRequest : public ProtoMessage {
|
866
1042
|
public:
|
1043
|
+
static constexpr uint16_t MESSAGE_TYPE = 34;
|
1044
|
+
static constexpr uint16_t ESTIMATED_SIZE = 0;
|
1045
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1046
|
+
static constexpr const char *message_name() { return "subscribe_homeassistant_services_request"; }
|
1047
|
+
#endif
|
867
1048
|
void encode(ProtoWriteBuffer buffer) const override;
|
868
1049
|
void calculate_size(uint32_t &total_size) const override;
|
869
1050
|
#ifdef HAS_PROTO_MESSAGE_DUMP
|
@@ -887,6 +1068,11 @@ class HomeassistantServiceMap : public ProtoMessage {
|
|
887
1068
|
};
|
888
1069
|
class HomeassistantServiceResponse : public ProtoMessage {
|
889
1070
|
public:
|
1071
|
+
static constexpr uint16_t MESSAGE_TYPE = 35;
|
1072
|
+
static constexpr uint16_t ESTIMATED_SIZE = 113;
|
1073
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1074
|
+
static constexpr const char *message_name() { return "homeassistant_service_response"; }
|
1075
|
+
#endif
|
890
1076
|
std::string service{};
|
891
1077
|
std::vector<HomeassistantServiceMap> data{};
|
892
1078
|
std::vector<HomeassistantServiceMap> data_template{};
|
@@ -904,6 +1090,11 @@ class HomeassistantServiceResponse : public ProtoMessage {
|
|
904
1090
|
};
|
905
1091
|
class SubscribeHomeAssistantStatesRequest : public ProtoMessage {
|
906
1092
|
public:
|
1093
|
+
static constexpr uint16_t MESSAGE_TYPE = 38;
|
1094
|
+
static constexpr uint16_t ESTIMATED_SIZE = 0;
|
1095
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1096
|
+
static constexpr const char *message_name() { return "subscribe_home_assistant_states_request"; }
|
1097
|
+
#endif
|
907
1098
|
void encode(ProtoWriteBuffer buffer) const override;
|
908
1099
|
void calculate_size(uint32_t &total_size) const override;
|
909
1100
|
#ifdef HAS_PROTO_MESSAGE_DUMP
|
@@ -914,6 +1105,11 @@ class SubscribeHomeAssistantStatesRequest : public ProtoMessage {
|
|
914
1105
|
};
|
915
1106
|
class SubscribeHomeAssistantStateResponse : public ProtoMessage {
|
916
1107
|
public:
|
1108
|
+
static constexpr uint16_t MESSAGE_TYPE = 39;
|
1109
|
+
static constexpr uint16_t ESTIMATED_SIZE = 20;
|
1110
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1111
|
+
static constexpr const char *message_name() { return "subscribe_home_assistant_state_response"; }
|
1112
|
+
#endif
|
917
1113
|
std::string entity_id{};
|
918
1114
|
std::string attribute{};
|
919
1115
|
bool once{false};
|
@@ -929,6 +1125,11 @@ class SubscribeHomeAssistantStateResponse : public ProtoMessage {
|
|
929
1125
|
};
|
930
1126
|
class HomeAssistantStateResponse : public ProtoMessage {
|
931
1127
|
public:
|
1128
|
+
static constexpr uint16_t MESSAGE_TYPE = 40;
|
1129
|
+
static constexpr uint16_t ESTIMATED_SIZE = 27;
|
1130
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1131
|
+
static constexpr const char *message_name() { return "home_assistant_state_response"; }
|
1132
|
+
#endif
|
932
1133
|
std::string entity_id{};
|
933
1134
|
std::string state{};
|
934
1135
|
std::string attribute{};
|
@@ -943,6 +1144,11 @@ class HomeAssistantStateResponse : public ProtoMessage {
|
|
943
1144
|
};
|
944
1145
|
class GetTimeRequest : public ProtoMessage {
|
945
1146
|
public:
|
1147
|
+
static constexpr uint16_t MESSAGE_TYPE = 36;
|
1148
|
+
static constexpr uint16_t ESTIMATED_SIZE = 0;
|
1149
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1150
|
+
static constexpr const char *message_name() { return "get_time_request"; }
|
1151
|
+
#endif
|
946
1152
|
void encode(ProtoWriteBuffer buffer) const override;
|
947
1153
|
void calculate_size(uint32_t &total_size) const override;
|
948
1154
|
#ifdef HAS_PROTO_MESSAGE_DUMP
|
@@ -953,6 +1159,11 @@ class GetTimeRequest : public ProtoMessage {
|
|
953
1159
|
};
|
954
1160
|
class GetTimeResponse : public ProtoMessage {
|
955
1161
|
public:
|
1162
|
+
static constexpr uint16_t MESSAGE_TYPE = 37;
|
1163
|
+
static constexpr uint16_t ESTIMATED_SIZE = 5;
|
1164
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1165
|
+
static constexpr const char *message_name() { return "get_time_response"; }
|
1166
|
+
#endif
|
956
1167
|
uint32_t epoch_seconds{0};
|
957
1168
|
void encode(ProtoWriteBuffer buffer) const override;
|
958
1169
|
void calculate_size(uint32_t &total_size) const override;
|
@@ -979,6 +1190,11 @@ class ListEntitiesServicesArgument : public ProtoMessage {
|
|
979
1190
|
};
|
980
1191
|
class ListEntitiesServicesResponse : public ProtoMessage {
|
981
1192
|
public:
|
1193
|
+
static constexpr uint16_t MESSAGE_TYPE = 41;
|
1194
|
+
static constexpr uint16_t ESTIMATED_SIZE = 48;
|
1195
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1196
|
+
static constexpr const char *message_name() { return "list_entities_services_response"; }
|
1197
|
+
#endif
|
982
1198
|
std::string name{};
|
983
1199
|
uint32_t key{0};
|
984
1200
|
std::vector<ListEntitiesServicesArgument> args{};
|
@@ -1016,6 +1232,11 @@ class ExecuteServiceArgument : public ProtoMessage {
|
|
1016
1232
|
};
|
1017
1233
|
class ExecuteServiceRequest : public ProtoMessage {
|
1018
1234
|
public:
|
1235
|
+
static constexpr uint16_t MESSAGE_TYPE = 42;
|
1236
|
+
static constexpr uint16_t ESTIMATED_SIZE = 39;
|
1237
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1238
|
+
static constexpr const char *message_name() { return "execute_service_request"; }
|
1239
|
+
#endif
|
1019
1240
|
uint32_t key{0};
|
1020
1241
|
std::vector<ExecuteServiceArgument> args{};
|
1021
1242
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -1030,6 +1251,11 @@ class ExecuteServiceRequest : public ProtoMessage {
|
|
1030
1251
|
};
|
1031
1252
|
class ListEntitiesCameraResponse : public ProtoMessage {
|
1032
1253
|
public:
|
1254
|
+
static constexpr uint16_t MESSAGE_TYPE = 43;
|
1255
|
+
static constexpr uint16_t ESTIMATED_SIZE = 45;
|
1256
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1257
|
+
static constexpr const char *message_name() { return "list_entities_camera_response"; }
|
1258
|
+
#endif
|
1033
1259
|
std::string object_id{};
|
1034
1260
|
uint32_t key{0};
|
1035
1261
|
std::string name{};
|
@@ -1050,6 +1276,11 @@ class ListEntitiesCameraResponse : public ProtoMessage {
|
|
1050
1276
|
};
|
1051
1277
|
class CameraImageResponse : public ProtoMessage {
|
1052
1278
|
public:
|
1279
|
+
static constexpr uint16_t MESSAGE_TYPE = 44;
|
1280
|
+
static constexpr uint16_t ESTIMATED_SIZE = 16;
|
1281
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1282
|
+
static constexpr const char *message_name() { return "camera_image_response"; }
|
1283
|
+
#endif
|
1053
1284
|
uint32_t key{0};
|
1054
1285
|
std::string data{};
|
1055
1286
|
bool done{false};
|
@@ -1066,6 +1297,11 @@ class CameraImageResponse : public ProtoMessage {
|
|
1066
1297
|
};
|
1067
1298
|
class CameraImageRequest : public ProtoMessage {
|
1068
1299
|
public:
|
1300
|
+
static constexpr uint16_t MESSAGE_TYPE = 45;
|
1301
|
+
static constexpr uint16_t ESTIMATED_SIZE = 4;
|
1302
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1303
|
+
static constexpr const char *message_name() { return "camera_image_request"; }
|
1304
|
+
#endif
|
1069
1305
|
bool single{false};
|
1070
1306
|
bool stream{false};
|
1071
1307
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -1079,6 +1315,11 @@ class CameraImageRequest : public ProtoMessage {
|
|
1079
1315
|
};
|
1080
1316
|
class ListEntitiesClimateResponse : public ProtoMessage {
|
1081
1317
|
public:
|
1318
|
+
static constexpr uint16_t MESSAGE_TYPE = 46;
|
1319
|
+
static constexpr uint16_t ESTIMATED_SIZE = 151;
|
1320
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1321
|
+
static constexpr const char *message_name() { return "list_entities_climate_response"; }
|
1322
|
+
#endif
|
1082
1323
|
std::string object_id{};
|
1083
1324
|
uint32_t key{0};
|
1084
1325
|
std::string name{};
|
@@ -1117,6 +1358,11 @@ class ListEntitiesClimateResponse : public ProtoMessage {
|
|
1117
1358
|
};
|
1118
1359
|
class ClimateStateResponse : public ProtoMessage {
|
1119
1360
|
public:
|
1361
|
+
static constexpr uint16_t MESSAGE_TYPE = 47;
|
1362
|
+
static constexpr uint16_t ESTIMATED_SIZE = 65;
|
1363
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1364
|
+
static constexpr const char *message_name() { return "climate_state_response"; }
|
1365
|
+
#endif
|
1120
1366
|
uint32_t key{0};
|
1121
1367
|
enums::ClimateMode mode{};
|
1122
1368
|
float current_temperature{0.0f};
|
@@ -1145,6 +1391,11 @@ class ClimateStateResponse : public ProtoMessage {
|
|
1145
1391
|
};
|
1146
1392
|
class ClimateCommandRequest : public ProtoMessage {
|
1147
1393
|
public:
|
1394
|
+
static constexpr uint16_t MESSAGE_TYPE = 48;
|
1395
|
+
static constexpr uint16_t ESTIMATED_SIZE = 83;
|
1396
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1397
|
+
static constexpr const char *message_name() { return "climate_command_request"; }
|
1398
|
+
#endif
|
1148
1399
|
uint32_t key{0};
|
1149
1400
|
bool has_mode{false};
|
1150
1401
|
enums::ClimateMode mode{};
|
@@ -1181,6 +1432,11 @@ class ClimateCommandRequest : public ProtoMessage {
|
|
1181
1432
|
};
|
1182
1433
|
class ListEntitiesNumberResponse : public ProtoMessage {
|
1183
1434
|
public:
|
1435
|
+
static constexpr uint16_t MESSAGE_TYPE = 49;
|
1436
|
+
static constexpr uint16_t ESTIMATED_SIZE = 80;
|
1437
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1438
|
+
static constexpr const char *message_name() { return "list_entities_number_response"; }
|
1439
|
+
#endif
|
1184
1440
|
std::string object_id{};
|
1185
1441
|
uint32_t key{0};
|
1186
1442
|
std::string name{};
|
@@ -1207,6 +1463,11 @@ class ListEntitiesNumberResponse : public ProtoMessage {
|
|
1207
1463
|
};
|
1208
1464
|
class NumberStateResponse : public ProtoMessage {
|
1209
1465
|
public:
|
1466
|
+
static constexpr uint16_t MESSAGE_TYPE = 50;
|
1467
|
+
static constexpr uint16_t ESTIMATED_SIZE = 12;
|
1468
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1469
|
+
static constexpr const char *message_name() { return "number_state_response"; }
|
1470
|
+
#endif
|
1210
1471
|
uint32_t key{0};
|
1211
1472
|
float state{0.0f};
|
1212
1473
|
bool missing_state{false};
|
@@ -1222,6 +1483,11 @@ class NumberStateResponse : public ProtoMessage {
|
|
1222
1483
|
};
|
1223
1484
|
class NumberCommandRequest : public ProtoMessage {
|
1224
1485
|
public:
|
1486
|
+
static constexpr uint16_t MESSAGE_TYPE = 51;
|
1487
|
+
static constexpr uint16_t ESTIMATED_SIZE = 10;
|
1488
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1489
|
+
static constexpr const char *message_name() { return "number_command_request"; }
|
1490
|
+
#endif
|
1225
1491
|
uint32_t key{0};
|
1226
1492
|
float state{0.0f};
|
1227
1493
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -1235,6 +1501,11 @@ class NumberCommandRequest : public ProtoMessage {
|
|
1235
1501
|
};
|
1236
1502
|
class ListEntitiesSelectResponse : public ProtoMessage {
|
1237
1503
|
public:
|
1504
|
+
static constexpr uint16_t MESSAGE_TYPE = 52;
|
1505
|
+
static constexpr uint16_t ESTIMATED_SIZE = 63;
|
1506
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1507
|
+
static constexpr const char *message_name() { return "list_entities_select_response"; }
|
1508
|
+
#endif
|
1238
1509
|
std::string object_id{};
|
1239
1510
|
uint32_t key{0};
|
1240
1511
|
std::string name{};
|
@@ -1256,6 +1527,11 @@ class ListEntitiesSelectResponse : public ProtoMessage {
|
|
1256
1527
|
};
|
1257
1528
|
class SelectStateResponse : public ProtoMessage {
|
1258
1529
|
public:
|
1530
|
+
static constexpr uint16_t MESSAGE_TYPE = 53;
|
1531
|
+
static constexpr uint16_t ESTIMATED_SIZE = 16;
|
1532
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1533
|
+
static constexpr const char *message_name() { return "select_state_response"; }
|
1534
|
+
#endif
|
1259
1535
|
uint32_t key{0};
|
1260
1536
|
std::string state{};
|
1261
1537
|
bool missing_state{false};
|
@@ -1272,6 +1548,11 @@ class SelectStateResponse : public ProtoMessage {
|
|
1272
1548
|
};
|
1273
1549
|
class SelectCommandRequest : public ProtoMessage {
|
1274
1550
|
public:
|
1551
|
+
static constexpr uint16_t MESSAGE_TYPE = 54;
|
1552
|
+
static constexpr uint16_t ESTIMATED_SIZE = 14;
|
1553
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1554
|
+
static constexpr const char *message_name() { return "select_command_request"; }
|
1555
|
+
#endif
|
1275
1556
|
uint32_t key{0};
|
1276
1557
|
std::string state{};
|
1277
1558
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -1286,6 +1567,11 @@ class SelectCommandRequest : public ProtoMessage {
|
|
1286
1567
|
};
|
1287
1568
|
class ListEntitiesSirenResponse : public ProtoMessage {
|
1288
1569
|
public:
|
1570
|
+
static constexpr uint16_t MESSAGE_TYPE = 55;
|
1571
|
+
static constexpr uint16_t ESTIMATED_SIZE = 67;
|
1572
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1573
|
+
static constexpr const char *message_name() { return "list_entities_siren_response"; }
|
1574
|
+
#endif
|
1289
1575
|
std::string object_id{};
|
1290
1576
|
uint32_t key{0};
|
1291
1577
|
std::string name{};
|
@@ -1309,6 +1595,11 @@ class ListEntitiesSirenResponse : public ProtoMessage {
|
|
1309
1595
|
};
|
1310
1596
|
class SirenStateResponse : public ProtoMessage {
|
1311
1597
|
public:
|
1598
|
+
static constexpr uint16_t MESSAGE_TYPE = 56;
|
1599
|
+
static constexpr uint16_t ESTIMATED_SIZE = 7;
|
1600
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1601
|
+
static constexpr const char *message_name() { return "siren_state_response"; }
|
1602
|
+
#endif
|
1312
1603
|
uint32_t key{0};
|
1313
1604
|
bool state{false};
|
1314
1605
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -1323,6 +1614,11 @@ class SirenStateResponse : public ProtoMessage {
|
|
1323
1614
|
};
|
1324
1615
|
class SirenCommandRequest : public ProtoMessage {
|
1325
1616
|
public:
|
1617
|
+
static constexpr uint16_t MESSAGE_TYPE = 57;
|
1618
|
+
static constexpr uint16_t ESTIMATED_SIZE = 33;
|
1619
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1620
|
+
static constexpr const char *message_name() { return "siren_command_request"; }
|
1621
|
+
#endif
|
1326
1622
|
uint32_t key{0};
|
1327
1623
|
bool has_state{false};
|
1328
1624
|
bool state{false};
|
@@ -1345,6 +1641,11 @@ class SirenCommandRequest : public ProtoMessage {
|
|
1345
1641
|
};
|
1346
1642
|
class ListEntitiesLockResponse : public ProtoMessage {
|
1347
1643
|
public:
|
1644
|
+
static constexpr uint16_t MESSAGE_TYPE = 58;
|
1645
|
+
static constexpr uint16_t ESTIMATED_SIZE = 60;
|
1646
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1647
|
+
static constexpr const char *message_name() { return "list_entities_lock_response"; }
|
1648
|
+
#endif
|
1348
1649
|
std::string object_id{};
|
1349
1650
|
uint32_t key{0};
|
1350
1651
|
std::string name{};
|
@@ -1369,6 +1670,11 @@ class ListEntitiesLockResponse : public ProtoMessage {
|
|
1369
1670
|
};
|
1370
1671
|
class LockStateResponse : public ProtoMessage {
|
1371
1672
|
public:
|
1673
|
+
static constexpr uint16_t MESSAGE_TYPE = 59;
|
1674
|
+
static constexpr uint16_t ESTIMATED_SIZE = 7;
|
1675
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1676
|
+
static constexpr const char *message_name() { return "lock_state_response"; }
|
1677
|
+
#endif
|
1372
1678
|
uint32_t key{0};
|
1373
1679
|
enums::LockState state{};
|
1374
1680
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -1383,6 +1689,11 @@ class LockStateResponse : public ProtoMessage {
|
|
1383
1689
|
};
|
1384
1690
|
class LockCommandRequest : public ProtoMessage {
|
1385
1691
|
public:
|
1692
|
+
static constexpr uint16_t MESSAGE_TYPE = 60;
|
1693
|
+
static constexpr uint16_t ESTIMATED_SIZE = 18;
|
1694
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1695
|
+
static constexpr const char *message_name() { return "lock_command_request"; }
|
1696
|
+
#endif
|
1386
1697
|
uint32_t key{0};
|
1387
1698
|
enums::LockCommand command{};
|
1388
1699
|
bool has_code{false};
|
@@ -1400,6 +1711,11 @@ class LockCommandRequest : public ProtoMessage {
|
|
1400
1711
|
};
|
1401
1712
|
class ListEntitiesButtonResponse : public ProtoMessage {
|
1402
1713
|
public:
|
1714
|
+
static constexpr uint16_t MESSAGE_TYPE = 61;
|
1715
|
+
static constexpr uint16_t ESTIMATED_SIZE = 54;
|
1716
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1717
|
+
static constexpr const char *message_name() { return "list_entities_button_response"; }
|
1718
|
+
#endif
|
1403
1719
|
std::string object_id{};
|
1404
1720
|
uint32_t key{0};
|
1405
1721
|
std::string name{};
|
@@ -1421,6 +1737,11 @@ class ListEntitiesButtonResponse : public ProtoMessage {
|
|
1421
1737
|
};
|
1422
1738
|
class ButtonCommandRequest : public ProtoMessage {
|
1423
1739
|
public:
|
1740
|
+
static constexpr uint16_t MESSAGE_TYPE = 62;
|
1741
|
+
static constexpr uint16_t ESTIMATED_SIZE = 5;
|
1742
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1743
|
+
static constexpr const char *message_name() { return "button_command_request"; }
|
1744
|
+
#endif
|
1424
1745
|
uint32_t key{0};
|
1425
1746
|
void encode(ProtoWriteBuffer buffer) const override;
|
1426
1747
|
void calculate_size(uint32_t &total_size) const override;
|
@@ -1450,6 +1771,11 @@ class MediaPlayerSupportedFormat : public ProtoMessage {
|
|
1450
1771
|
};
|
1451
1772
|
class ListEntitiesMediaPlayerResponse : public ProtoMessage {
|
1452
1773
|
public:
|
1774
|
+
static constexpr uint16_t MESSAGE_TYPE = 63;
|
1775
|
+
static constexpr uint16_t ESTIMATED_SIZE = 81;
|
1776
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1777
|
+
static constexpr const char *message_name() { return "list_entities_media_player_response"; }
|
1778
|
+
#endif
|
1453
1779
|
std::string object_id{};
|
1454
1780
|
uint32_t key{0};
|
1455
1781
|
std::string name{};
|
@@ -1472,6 +1798,11 @@ class ListEntitiesMediaPlayerResponse : public ProtoMessage {
|
|
1472
1798
|
};
|
1473
1799
|
class MediaPlayerStateResponse : public ProtoMessage {
|
1474
1800
|
public:
|
1801
|
+
static constexpr uint16_t MESSAGE_TYPE = 64;
|
1802
|
+
static constexpr uint16_t ESTIMATED_SIZE = 14;
|
1803
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1804
|
+
static constexpr const char *message_name() { return "media_player_state_response"; }
|
1805
|
+
#endif
|
1475
1806
|
uint32_t key{0};
|
1476
1807
|
enums::MediaPlayerState state{};
|
1477
1808
|
float volume{0.0f};
|
@@ -1488,6 +1819,11 @@ class MediaPlayerStateResponse : public ProtoMessage {
|
|
1488
1819
|
};
|
1489
1820
|
class MediaPlayerCommandRequest : public ProtoMessage {
|
1490
1821
|
public:
|
1822
|
+
static constexpr uint16_t MESSAGE_TYPE = 65;
|
1823
|
+
static constexpr uint16_t ESTIMATED_SIZE = 31;
|
1824
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1825
|
+
static constexpr const char *message_name() { return "media_player_command_request"; }
|
1826
|
+
#endif
|
1491
1827
|
uint32_t key{0};
|
1492
1828
|
bool has_command{false};
|
1493
1829
|
enums::MediaPlayerCommand command{};
|
@@ -1510,6 +1846,11 @@ class MediaPlayerCommandRequest : public ProtoMessage {
|
|
1510
1846
|
};
|
1511
1847
|
class SubscribeBluetoothLEAdvertisementsRequest : public ProtoMessage {
|
1512
1848
|
public:
|
1849
|
+
static constexpr uint16_t MESSAGE_TYPE = 66;
|
1850
|
+
static constexpr uint16_t ESTIMATED_SIZE = 4;
|
1851
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1852
|
+
static constexpr const char *message_name() { return "subscribe_bluetooth_le_advertisements_request"; }
|
1853
|
+
#endif
|
1513
1854
|
uint32_t flags{0};
|
1514
1855
|
void encode(ProtoWriteBuffer buffer) const override;
|
1515
1856
|
void calculate_size(uint32_t &total_size) const override;
|
@@ -1537,6 +1878,11 @@ class BluetoothServiceData : public ProtoMessage {
|
|
1537
1878
|
};
|
1538
1879
|
class BluetoothLEAdvertisementResponse : public ProtoMessage {
|
1539
1880
|
public:
|
1881
|
+
static constexpr uint16_t MESSAGE_TYPE = 67;
|
1882
|
+
static constexpr uint16_t ESTIMATED_SIZE = 107;
|
1883
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1884
|
+
static constexpr const char *message_name() { return "bluetooth_le_advertisement_response"; }
|
1885
|
+
#endif
|
1540
1886
|
uint64_t address{0};
|
1541
1887
|
std::string name{};
|
1542
1888
|
int32_t rssi{0};
|
@@ -1572,6 +1918,11 @@ class BluetoothLERawAdvertisement : public ProtoMessage {
|
|
1572
1918
|
};
|
1573
1919
|
class BluetoothLERawAdvertisementsResponse : public ProtoMessage {
|
1574
1920
|
public:
|
1921
|
+
static constexpr uint16_t MESSAGE_TYPE = 93;
|
1922
|
+
static constexpr uint16_t ESTIMATED_SIZE = 34;
|
1923
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1924
|
+
static constexpr const char *message_name() { return "bluetooth_le_raw_advertisements_response"; }
|
1925
|
+
#endif
|
1575
1926
|
std::vector<BluetoothLERawAdvertisement> advertisements{};
|
1576
1927
|
void encode(ProtoWriteBuffer buffer) const override;
|
1577
1928
|
void calculate_size(uint32_t &total_size) const override;
|
@@ -1584,6 +1935,11 @@ class BluetoothLERawAdvertisementsResponse : public ProtoMessage {
|
|
1584
1935
|
};
|
1585
1936
|
class BluetoothDeviceRequest : public ProtoMessage {
|
1586
1937
|
public:
|
1938
|
+
static constexpr uint16_t MESSAGE_TYPE = 68;
|
1939
|
+
static constexpr uint16_t ESTIMATED_SIZE = 12;
|
1940
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1941
|
+
static constexpr const char *message_name() { return "bluetooth_device_request"; }
|
1942
|
+
#endif
|
1587
1943
|
uint64_t address{0};
|
1588
1944
|
enums::BluetoothDeviceRequestType request_type{};
|
1589
1945
|
bool has_address_type{false};
|
@@ -1599,6 +1955,11 @@ class BluetoothDeviceRequest : public ProtoMessage {
|
|
1599
1955
|
};
|
1600
1956
|
class BluetoothDeviceConnectionResponse : public ProtoMessage {
|
1601
1957
|
public:
|
1958
|
+
static constexpr uint16_t MESSAGE_TYPE = 69;
|
1959
|
+
static constexpr uint16_t ESTIMATED_SIZE = 14;
|
1960
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1961
|
+
static constexpr const char *message_name() { return "bluetooth_device_connection_response"; }
|
1962
|
+
#endif
|
1602
1963
|
uint64_t address{0};
|
1603
1964
|
bool connected{false};
|
1604
1965
|
uint32_t mtu{0};
|
@@ -1614,6 +1975,11 @@ class BluetoothDeviceConnectionResponse : public ProtoMessage {
|
|
1614
1975
|
};
|
1615
1976
|
class BluetoothGATTGetServicesRequest : public ProtoMessage {
|
1616
1977
|
public:
|
1978
|
+
static constexpr uint16_t MESSAGE_TYPE = 70;
|
1979
|
+
static constexpr uint16_t ESTIMATED_SIZE = 4;
|
1980
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
1981
|
+
static constexpr const char *message_name() { return "bluetooth_gatt_get_services_request"; }
|
1982
|
+
#endif
|
1617
1983
|
uint64_t address{0};
|
1618
1984
|
void encode(ProtoWriteBuffer buffer) const override;
|
1619
1985
|
void calculate_size(uint32_t &total_size) const override;
|
@@ -1670,6 +2036,11 @@ class BluetoothGATTService : public ProtoMessage {
|
|
1670
2036
|
};
|
1671
2037
|
class BluetoothGATTGetServicesResponse : public ProtoMessage {
|
1672
2038
|
public:
|
2039
|
+
static constexpr uint16_t MESSAGE_TYPE = 71;
|
2040
|
+
static constexpr uint16_t ESTIMATED_SIZE = 38;
|
2041
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2042
|
+
static constexpr const char *message_name() { return "bluetooth_gatt_get_services_response"; }
|
2043
|
+
#endif
|
1673
2044
|
uint64_t address{0};
|
1674
2045
|
std::vector<BluetoothGATTService> services{};
|
1675
2046
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -1684,6 +2055,11 @@ class BluetoothGATTGetServicesResponse : public ProtoMessage {
|
|
1684
2055
|
};
|
1685
2056
|
class BluetoothGATTGetServicesDoneResponse : public ProtoMessage {
|
1686
2057
|
public:
|
2058
|
+
static constexpr uint16_t MESSAGE_TYPE = 72;
|
2059
|
+
static constexpr uint16_t ESTIMATED_SIZE = 4;
|
2060
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2061
|
+
static constexpr const char *message_name() { return "bluetooth_gatt_get_services_done_response"; }
|
2062
|
+
#endif
|
1687
2063
|
uint64_t address{0};
|
1688
2064
|
void encode(ProtoWriteBuffer buffer) const override;
|
1689
2065
|
void calculate_size(uint32_t &total_size) const override;
|
@@ -1696,6 +2072,11 @@ class BluetoothGATTGetServicesDoneResponse : public ProtoMessage {
|
|
1696
2072
|
};
|
1697
2073
|
class BluetoothGATTReadRequest : public ProtoMessage {
|
1698
2074
|
public:
|
2075
|
+
static constexpr uint16_t MESSAGE_TYPE = 73;
|
2076
|
+
static constexpr uint16_t ESTIMATED_SIZE = 8;
|
2077
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2078
|
+
static constexpr const char *message_name() { return "bluetooth_gatt_read_request"; }
|
2079
|
+
#endif
|
1699
2080
|
uint64_t address{0};
|
1700
2081
|
uint32_t handle{0};
|
1701
2082
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -1709,6 +2090,11 @@ class BluetoothGATTReadRequest : public ProtoMessage {
|
|
1709
2090
|
};
|
1710
2091
|
class BluetoothGATTReadResponse : public ProtoMessage {
|
1711
2092
|
public:
|
2093
|
+
static constexpr uint16_t MESSAGE_TYPE = 74;
|
2094
|
+
static constexpr uint16_t ESTIMATED_SIZE = 17;
|
2095
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2096
|
+
static constexpr const char *message_name() { return "bluetooth_gatt_read_response"; }
|
2097
|
+
#endif
|
1712
2098
|
uint64_t address{0};
|
1713
2099
|
uint32_t handle{0};
|
1714
2100
|
std::string data{};
|
@@ -1724,6 +2110,11 @@ class BluetoothGATTReadResponse : public ProtoMessage {
|
|
1724
2110
|
};
|
1725
2111
|
class BluetoothGATTWriteRequest : public ProtoMessage {
|
1726
2112
|
public:
|
2113
|
+
static constexpr uint16_t MESSAGE_TYPE = 75;
|
2114
|
+
static constexpr uint16_t ESTIMATED_SIZE = 19;
|
2115
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2116
|
+
static constexpr const char *message_name() { return "bluetooth_gatt_write_request"; }
|
2117
|
+
#endif
|
1727
2118
|
uint64_t address{0};
|
1728
2119
|
uint32_t handle{0};
|
1729
2120
|
bool response{false};
|
@@ -1740,6 +2131,11 @@ class BluetoothGATTWriteRequest : public ProtoMessage {
|
|
1740
2131
|
};
|
1741
2132
|
class BluetoothGATTReadDescriptorRequest : public ProtoMessage {
|
1742
2133
|
public:
|
2134
|
+
static constexpr uint16_t MESSAGE_TYPE = 76;
|
2135
|
+
static constexpr uint16_t ESTIMATED_SIZE = 8;
|
2136
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2137
|
+
static constexpr const char *message_name() { return "bluetooth_gatt_read_descriptor_request"; }
|
2138
|
+
#endif
|
1743
2139
|
uint64_t address{0};
|
1744
2140
|
uint32_t handle{0};
|
1745
2141
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -1753,6 +2149,11 @@ class BluetoothGATTReadDescriptorRequest : public ProtoMessage {
|
|
1753
2149
|
};
|
1754
2150
|
class BluetoothGATTWriteDescriptorRequest : public ProtoMessage {
|
1755
2151
|
public:
|
2152
|
+
static constexpr uint16_t MESSAGE_TYPE = 77;
|
2153
|
+
static constexpr uint16_t ESTIMATED_SIZE = 17;
|
2154
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2155
|
+
static constexpr const char *message_name() { return "bluetooth_gatt_write_descriptor_request"; }
|
2156
|
+
#endif
|
1756
2157
|
uint64_t address{0};
|
1757
2158
|
uint32_t handle{0};
|
1758
2159
|
std::string data{};
|
@@ -1768,6 +2169,11 @@ class BluetoothGATTWriteDescriptorRequest : public ProtoMessage {
|
|
1768
2169
|
};
|
1769
2170
|
class BluetoothGATTNotifyRequest : public ProtoMessage {
|
1770
2171
|
public:
|
2172
|
+
static constexpr uint16_t MESSAGE_TYPE = 78;
|
2173
|
+
static constexpr uint16_t ESTIMATED_SIZE = 10;
|
2174
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2175
|
+
static constexpr const char *message_name() { return "bluetooth_gatt_notify_request"; }
|
2176
|
+
#endif
|
1771
2177
|
uint64_t address{0};
|
1772
2178
|
uint32_t handle{0};
|
1773
2179
|
bool enable{false};
|
@@ -1782,6 +2188,11 @@ class BluetoothGATTNotifyRequest : public ProtoMessage {
|
|
1782
2188
|
};
|
1783
2189
|
class BluetoothGATTNotifyDataResponse : public ProtoMessage {
|
1784
2190
|
public:
|
2191
|
+
static constexpr uint16_t MESSAGE_TYPE = 79;
|
2192
|
+
static constexpr uint16_t ESTIMATED_SIZE = 17;
|
2193
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2194
|
+
static constexpr const char *message_name() { return "bluetooth_gatt_notify_data_response"; }
|
2195
|
+
#endif
|
1785
2196
|
uint64_t address{0};
|
1786
2197
|
uint32_t handle{0};
|
1787
2198
|
std::string data{};
|
@@ -1797,6 +2208,11 @@ class BluetoothGATTNotifyDataResponse : public ProtoMessage {
|
|
1797
2208
|
};
|
1798
2209
|
class SubscribeBluetoothConnectionsFreeRequest : public ProtoMessage {
|
1799
2210
|
public:
|
2211
|
+
static constexpr uint16_t MESSAGE_TYPE = 80;
|
2212
|
+
static constexpr uint16_t ESTIMATED_SIZE = 0;
|
2213
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2214
|
+
static constexpr const char *message_name() { return "subscribe_bluetooth_connections_free_request"; }
|
2215
|
+
#endif
|
1800
2216
|
void encode(ProtoWriteBuffer buffer) const override;
|
1801
2217
|
void calculate_size(uint32_t &total_size) const override;
|
1802
2218
|
#ifdef HAS_PROTO_MESSAGE_DUMP
|
@@ -1807,6 +2223,11 @@ class SubscribeBluetoothConnectionsFreeRequest : public ProtoMessage {
|
|
1807
2223
|
};
|
1808
2224
|
class BluetoothConnectionsFreeResponse : public ProtoMessage {
|
1809
2225
|
public:
|
2226
|
+
static constexpr uint16_t MESSAGE_TYPE = 81;
|
2227
|
+
static constexpr uint16_t ESTIMATED_SIZE = 16;
|
2228
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2229
|
+
static constexpr const char *message_name() { return "bluetooth_connections_free_response"; }
|
2230
|
+
#endif
|
1810
2231
|
uint32_t free{0};
|
1811
2232
|
uint32_t limit{0};
|
1812
2233
|
std::vector<uint64_t> allocated{};
|
@@ -1821,6 +2242,11 @@ class BluetoothConnectionsFreeResponse : public ProtoMessage {
|
|
1821
2242
|
};
|
1822
2243
|
class BluetoothGATTErrorResponse : public ProtoMessage {
|
1823
2244
|
public:
|
2245
|
+
static constexpr uint16_t MESSAGE_TYPE = 82;
|
2246
|
+
static constexpr uint16_t ESTIMATED_SIZE = 12;
|
2247
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2248
|
+
static constexpr const char *message_name() { return "bluetooth_gatt_error_response"; }
|
2249
|
+
#endif
|
1824
2250
|
uint64_t address{0};
|
1825
2251
|
uint32_t handle{0};
|
1826
2252
|
int32_t error{0};
|
@@ -1835,6 +2261,11 @@ class BluetoothGATTErrorResponse : public ProtoMessage {
|
|
1835
2261
|
};
|
1836
2262
|
class BluetoothGATTWriteResponse : public ProtoMessage {
|
1837
2263
|
public:
|
2264
|
+
static constexpr uint16_t MESSAGE_TYPE = 83;
|
2265
|
+
static constexpr uint16_t ESTIMATED_SIZE = 8;
|
2266
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2267
|
+
static constexpr const char *message_name() { return "bluetooth_gatt_write_response"; }
|
2268
|
+
#endif
|
1838
2269
|
uint64_t address{0};
|
1839
2270
|
uint32_t handle{0};
|
1840
2271
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -1848,6 +2279,11 @@ class BluetoothGATTWriteResponse : public ProtoMessage {
|
|
1848
2279
|
};
|
1849
2280
|
class BluetoothGATTNotifyResponse : public ProtoMessage {
|
1850
2281
|
public:
|
2282
|
+
static constexpr uint16_t MESSAGE_TYPE = 84;
|
2283
|
+
static constexpr uint16_t ESTIMATED_SIZE = 8;
|
2284
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2285
|
+
static constexpr const char *message_name() { return "bluetooth_gatt_notify_response"; }
|
2286
|
+
#endif
|
1851
2287
|
uint64_t address{0};
|
1852
2288
|
uint32_t handle{0};
|
1853
2289
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -1861,6 +2297,11 @@ class BluetoothGATTNotifyResponse : public ProtoMessage {
|
|
1861
2297
|
};
|
1862
2298
|
class BluetoothDevicePairingResponse : public ProtoMessage {
|
1863
2299
|
public:
|
2300
|
+
static constexpr uint16_t MESSAGE_TYPE = 85;
|
2301
|
+
static constexpr uint16_t ESTIMATED_SIZE = 10;
|
2302
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2303
|
+
static constexpr const char *message_name() { return "bluetooth_device_pairing_response"; }
|
2304
|
+
#endif
|
1864
2305
|
uint64_t address{0};
|
1865
2306
|
bool paired{false};
|
1866
2307
|
int32_t error{0};
|
@@ -1875,6 +2316,11 @@ class BluetoothDevicePairingResponse : public ProtoMessage {
|
|
1875
2316
|
};
|
1876
2317
|
class BluetoothDeviceUnpairingResponse : public ProtoMessage {
|
1877
2318
|
public:
|
2319
|
+
static constexpr uint16_t MESSAGE_TYPE = 86;
|
2320
|
+
static constexpr uint16_t ESTIMATED_SIZE = 10;
|
2321
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2322
|
+
static constexpr const char *message_name() { return "bluetooth_device_unpairing_response"; }
|
2323
|
+
#endif
|
1878
2324
|
uint64_t address{0};
|
1879
2325
|
bool success{false};
|
1880
2326
|
int32_t error{0};
|
@@ -1889,6 +2335,11 @@ class BluetoothDeviceUnpairingResponse : public ProtoMessage {
|
|
1889
2335
|
};
|
1890
2336
|
class UnsubscribeBluetoothLEAdvertisementsRequest : public ProtoMessage {
|
1891
2337
|
public:
|
2338
|
+
static constexpr uint16_t MESSAGE_TYPE = 87;
|
2339
|
+
static constexpr uint16_t ESTIMATED_SIZE = 0;
|
2340
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2341
|
+
static constexpr const char *message_name() { return "unsubscribe_bluetooth_le_advertisements_request"; }
|
2342
|
+
#endif
|
1892
2343
|
void encode(ProtoWriteBuffer buffer) const override;
|
1893
2344
|
void calculate_size(uint32_t &total_size) const override;
|
1894
2345
|
#ifdef HAS_PROTO_MESSAGE_DUMP
|
@@ -1899,6 +2350,11 @@ class UnsubscribeBluetoothLEAdvertisementsRequest : public ProtoMessage {
|
|
1899
2350
|
};
|
1900
2351
|
class BluetoothDeviceClearCacheResponse : public ProtoMessage {
|
1901
2352
|
public:
|
2353
|
+
static constexpr uint16_t MESSAGE_TYPE = 88;
|
2354
|
+
static constexpr uint16_t ESTIMATED_SIZE = 10;
|
2355
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2356
|
+
static constexpr const char *message_name() { return "bluetooth_device_clear_cache_response"; }
|
2357
|
+
#endif
|
1902
2358
|
uint64_t address{0};
|
1903
2359
|
bool success{false};
|
1904
2360
|
int32_t error{0};
|
@@ -1913,6 +2369,11 @@ class BluetoothDeviceClearCacheResponse : public ProtoMessage {
|
|
1913
2369
|
};
|
1914
2370
|
class BluetoothScannerStateResponse : public ProtoMessage {
|
1915
2371
|
public:
|
2372
|
+
static constexpr uint16_t MESSAGE_TYPE = 126;
|
2373
|
+
static constexpr uint16_t ESTIMATED_SIZE = 4;
|
2374
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2375
|
+
static constexpr const char *message_name() { return "bluetooth_scanner_state_response"; }
|
2376
|
+
#endif
|
1916
2377
|
enums::BluetoothScannerState state{};
|
1917
2378
|
enums::BluetoothScannerMode mode{};
|
1918
2379
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -1926,6 +2387,11 @@ class BluetoothScannerStateResponse : public ProtoMessage {
|
|
1926
2387
|
};
|
1927
2388
|
class BluetoothScannerSetModeRequest : public ProtoMessage {
|
1928
2389
|
public:
|
2390
|
+
static constexpr uint16_t MESSAGE_TYPE = 127;
|
2391
|
+
static constexpr uint16_t ESTIMATED_SIZE = 2;
|
2392
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2393
|
+
static constexpr const char *message_name() { return "bluetooth_scanner_set_mode_request"; }
|
2394
|
+
#endif
|
1929
2395
|
enums::BluetoothScannerMode mode{};
|
1930
2396
|
void encode(ProtoWriteBuffer buffer) const override;
|
1931
2397
|
void calculate_size(uint32_t &total_size) const override;
|
@@ -1938,6 +2404,11 @@ class BluetoothScannerSetModeRequest : public ProtoMessage {
|
|
1938
2404
|
};
|
1939
2405
|
class SubscribeVoiceAssistantRequest : public ProtoMessage {
|
1940
2406
|
public:
|
2407
|
+
static constexpr uint16_t MESSAGE_TYPE = 89;
|
2408
|
+
static constexpr uint16_t ESTIMATED_SIZE = 6;
|
2409
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2410
|
+
static constexpr const char *message_name() { return "subscribe_voice_assistant_request"; }
|
2411
|
+
#endif
|
1941
2412
|
bool subscribe{false};
|
1942
2413
|
uint32_t flags{0};
|
1943
2414
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -1966,6 +2437,11 @@ class VoiceAssistantAudioSettings : public ProtoMessage {
|
|
1966
2437
|
};
|
1967
2438
|
class VoiceAssistantRequest : public ProtoMessage {
|
1968
2439
|
public:
|
2440
|
+
static constexpr uint16_t MESSAGE_TYPE = 90;
|
2441
|
+
static constexpr uint16_t ESTIMATED_SIZE = 41;
|
2442
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2443
|
+
static constexpr const char *message_name() { return "voice_assistant_request"; }
|
2444
|
+
#endif
|
1969
2445
|
bool start{false};
|
1970
2446
|
std::string conversation_id{};
|
1971
2447
|
uint32_t flags{0};
|
@@ -1983,6 +2459,11 @@ class VoiceAssistantRequest : public ProtoMessage {
|
|
1983
2459
|
};
|
1984
2460
|
class VoiceAssistantResponse : public ProtoMessage {
|
1985
2461
|
public:
|
2462
|
+
static constexpr uint16_t MESSAGE_TYPE = 91;
|
2463
|
+
static constexpr uint16_t ESTIMATED_SIZE = 6;
|
2464
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2465
|
+
static constexpr const char *message_name() { return "voice_assistant_response"; }
|
2466
|
+
#endif
|
1986
2467
|
uint32_t port{0};
|
1987
2468
|
bool error{false};
|
1988
2469
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -2009,6 +2490,11 @@ class VoiceAssistantEventData : public ProtoMessage {
|
|
2009
2490
|
};
|
2010
2491
|
class VoiceAssistantEventResponse : public ProtoMessage {
|
2011
2492
|
public:
|
2493
|
+
static constexpr uint16_t MESSAGE_TYPE = 92;
|
2494
|
+
static constexpr uint16_t ESTIMATED_SIZE = 36;
|
2495
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2496
|
+
static constexpr const char *message_name() { return "voice_assistant_event_response"; }
|
2497
|
+
#endif
|
2012
2498
|
enums::VoiceAssistantEvent event_type{};
|
2013
2499
|
std::vector<VoiceAssistantEventData> data{};
|
2014
2500
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -2023,6 +2509,11 @@ class VoiceAssistantEventResponse : public ProtoMessage {
|
|
2023
2509
|
};
|
2024
2510
|
class VoiceAssistantAudio : public ProtoMessage {
|
2025
2511
|
public:
|
2512
|
+
static constexpr uint16_t MESSAGE_TYPE = 106;
|
2513
|
+
static constexpr uint16_t ESTIMATED_SIZE = 11;
|
2514
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2515
|
+
static constexpr const char *message_name() { return "voice_assistant_audio"; }
|
2516
|
+
#endif
|
2026
2517
|
std::string data{};
|
2027
2518
|
bool end{false};
|
2028
2519
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -2037,6 +2528,11 @@ class VoiceAssistantAudio : public ProtoMessage {
|
|
2037
2528
|
};
|
2038
2529
|
class VoiceAssistantTimerEventResponse : public ProtoMessage {
|
2039
2530
|
public:
|
2531
|
+
static constexpr uint16_t MESSAGE_TYPE = 115;
|
2532
|
+
static constexpr uint16_t ESTIMATED_SIZE = 30;
|
2533
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2534
|
+
static constexpr const char *message_name() { return "voice_assistant_timer_event_response"; }
|
2535
|
+
#endif
|
2040
2536
|
enums::VoiceAssistantTimerEvent event_type{};
|
2041
2537
|
std::string timer_id{};
|
2042
2538
|
std::string name{};
|
@@ -2055,6 +2551,11 @@ class VoiceAssistantTimerEventResponse : public ProtoMessage {
|
|
2055
2551
|
};
|
2056
2552
|
class VoiceAssistantAnnounceRequest : public ProtoMessage {
|
2057
2553
|
public:
|
2554
|
+
static constexpr uint16_t MESSAGE_TYPE = 119;
|
2555
|
+
static constexpr uint16_t ESTIMATED_SIZE = 29;
|
2556
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2557
|
+
static constexpr const char *message_name() { return "voice_assistant_announce_request"; }
|
2558
|
+
#endif
|
2058
2559
|
std::string media_id{};
|
2059
2560
|
std::string text{};
|
2060
2561
|
std::string preannounce_media_id{};
|
@@ -2071,6 +2572,11 @@ class VoiceAssistantAnnounceRequest : public ProtoMessage {
|
|
2071
2572
|
};
|
2072
2573
|
class VoiceAssistantAnnounceFinished : public ProtoMessage {
|
2073
2574
|
public:
|
2575
|
+
static constexpr uint16_t MESSAGE_TYPE = 120;
|
2576
|
+
static constexpr uint16_t ESTIMATED_SIZE = 2;
|
2577
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2578
|
+
static constexpr const char *message_name() { return "voice_assistant_announce_finished"; }
|
2579
|
+
#endif
|
2074
2580
|
bool success{false};
|
2075
2581
|
void encode(ProtoWriteBuffer buffer) const override;
|
2076
2582
|
void calculate_size(uint32_t &total_size) const override;
|
@@ -2097,6 +2603,11 @@ class VoiceAssistantWakeWord : public ProtoMessage {
|
|
2097
2603
|
};
|
2098
2604
|
class VoiceAssistantConfigurationRequest : public ProtoMessage {
|
2099
2605
|
public:
|
2606
|
+
static constexpr uint16_t MESSAGE_TYPE = 121;
|
2607
|
+
static constexpr uint16_t ESTIMATED_SIZE = 0;
|
2608
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2609
|
+
static constexpr const char *message_name() { return "voice_assistant_configuration_request"; }
|
2610
|
+
#endif
|
2100
2611
|
void encode(ProtoWriteBuffer buffer) const override;
|
2101
2612
|
void calculate_size(uint32_t &total_size) const override;
|
2102
2613
|
#ifdef HAS_PROTO_MESSAGE_DUMP
|
@@ -2107,6 +2618,11 @@ class VoiceAssistantConfigurationRequest : public ProtoMessage {
|
|
2107
2618
|
};
|
2108
2619
|
class VoiceAssistantConfigurationResponse : public ProtoMessage {
|
2109
2620
|
public:
|
2621
|
+
static constexpr uint16_t MESSAGE_TYPE = 122;
|
2622
|
+
static constexpr uint16_t ESTIMATED_SIZE = 56;
|
2623
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2624
|
+
static constexpr const char *message_name() { return "voice_assistant_configuration_response"; }
|
2625
|
+
#endif
|
2110
2626
|
std::vector<VoiceAssistantWakeWord> available_wake_words{};
|
2111
2627
|
std::vector<std::string> active_wake_words{};
|
2112
2628
|
uint32_t max_active_wake_words{0};
|
@@ -2122,6 +2638,11 @@ class VoiceAssistantConfigurationResponse : public ProtoMessage {
|
|
2122
2638
|
};
|
2123
2639
|
class VoiceAssistantSetConfiguration : public ProtoMessage {
|
2124
2640
|
public:
|
2641
|
+
static constexpr uint16_t MESSAGE_TYPE = 123;
|
2642
|
+
static constexpr uint16_t ESTIMATED_SIZE = 18;
|
2643
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2644
|
+
static constexpr const char *message_name() { return "voice_assistant_set_configuration"; }
|
2645
|
+
#endif
|
2125
2646
|
std::vector<std::string> active_wake_words{};
|
2126
2647
|
void encode(ProtoWriteBuffer buffer) const override;
|
2127
2648
|
void calculate_size(uint32_t &total_size) const override;
|
@@ -2134,6 +2655,11 @@ class VoiceAssistantSetConfiguration : public ProtoMessage {
|
|
2134
2655
|
};
|
2135
2656
|
class ListEntitiesAlarmControlPanelResponse : public ProtoMessage {
|
2136
2657
|
public:
|
2658
|
+
static constexpr uint16_t MESSAGE_TYPE = 94;
|
2659
|
+
static constexpr uint16_t ESTIMATED_SIZE = 53;
|
2660
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2661
|
+
static constexpr const char *message_name() { return "list_entities_alarm_control_panel_response"; }
|
2662
|
+
#endif
|
2137
2663
|
std::string object_id{};
|
2138
2664
|
uint32_t key{0};
|
2139
2665
|
std::string name{};
|
@@ -2157,6 +2683,11 @@ class ListEntitiesAlarmControlPanelResponse : public ProtoMessage {
|
|
2157
2683
|
};
|
2158
2684
|
class AlarmControlPanelStateResponse : public ProtoMessage {
|
2159
2685
|
public:
|
2686
|
+
static constexpr uint16_t MESSAGE_TYPE = 95;
|
2687
|
+
static constexpr uint16_t ESTIMATED_SIZE = 7;
|
2688
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2689
|
+
static constexpr const char *message_name() { return "alarm_control_panel_state_response"; }
|
2690
|
+
#endif
|
2160
2691
|
uint32_t key{0};
|
2161
2692
|
enums::AlarmControlPanelState state{};
|
2162
2693
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -2171,6 +2702,11 @@ class AlarmControlPanelStateResponse : public ProtoMessage {
|
|
2171
2702
|
};
|
2172
2703
|
class AlarmControlPanelCommandRequest : public ProtoMessage {
|
2173
2704
|
public:
|
2705
|
+
static constexpr uint16_t MESSAGE_TYPE = 96;
|
2706
|
+
static constexpr uint16_t ESTIMATED_SIZE = 16;
|
2707
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2708
|
+
static constexpr const char *message_name() { return "alarm_control_panel_command_request"; }
|
2709
|
+
#endif
|
2174
2710
|
uint32_t key{0};
|
2175
2711
|
enums::AlarmControlPanelStateCommand command{};
|
2176
2712
|
std::string code{};
|
@@ -2187,6 +2723,11 @@ class AlarmControlPanelCommandRequest : public ProtoMessage {
|
|
2187
2723
|
};
|
2188
2724
|
class ListEntitiesTextResponse : public ProtoMessage {
|
2189
2725
|
public:
|
2726
|
+
static constexpr uint16_t MESSAGE_TYPE = 97;
|
2727
|
+
static constexpr uint16_t ESTIMATED_SIZE = 64;
|
2728
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2729
|
+
static constexpr const char *message_name() { return "list_entities_text_response"; }
|
2730
|
+
#endif
|
2190
2731
|
std::string object_id{};
|
2191
2732
|
uint32_t key{0};
|
2192
2733
|
std::string name{};
|
@@ -2211,6 +2752,11 @@ class ListEntitiesTextResponse : public ProtoMessage {
|
|
2211
2752
|
};
|
2212
2753
|
class TextStateResponse : public ProtoMessage {
|
2213
2754
|
public:
|
2755
|
+
static constexpr uint16_t MESSAGE_TYPE = 98;
|
2756
|
+
static constexpr uint16_t ESTIMATED_SIZE = 16;
|
2757
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2758
|
+
static constexpr const char *message_name() { return "text_state_response"; }
|
2759
|
+
#endif
|
2214
2760
|
uint32_t key{0};
|
2215
2761
|
std::string state{};
|
2216
2762
|
bool missing_state{false};
|
@@ -2227,6 +2773,11 @@ class TextStateResponse : public ProtoMessage {
|
|
2227
2773
|
};
|
2228
2774
|
class TextCommandRequest : public ProtoMessage {
|
2229
2775
|
public:
|
2776
|
+
static constexpr uint16_t MESSAGE_TYPE = 99;
|
2777
|
+
static constexpr uint16_t ESTIMATED_SIZE = 14;
|
2778
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2779
|
+
static constexpr const char *message_name() { return "text_command_request"; }
|
2780
|
+
#endif
|
2230
2781
|
uint32_t key{0};
|
2231
2782
|
std::string state{};
|
2232
2783
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -2241,6 +2792,11 @@ class TextCommandRequest : public ProtoMessage {
|
|
2241
2792
|
};
|
2242
2793
|
class ListEntitiesDateResponse : public ProtoMessage {
|
2243
2794
|
public:
|
2795
|
+
static constexpr uint16_t MESSAGE_TYPE = 100;
|
2796
|
+
static constexpr uint16_t ESTIMATED_SIZE = 45;
|
2797
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2798
|
+
static constexpr const char *message_name() { return "list_entities_date_response"; }
|
2799
|
+
#endif
|
2244
2800
|
std::string object_id{};
|
2245
2801
|
uint32_t key{0};
|
2246
2802
|
std::string name{};
|
@@ -2261,6 +2817,11 @@ class ListEntitiesDateResponse : public ProtoMessage {
|
|
2261
2817
|
};
|
2262
2818
|
class DateStateResponse : public ProtoMessage {
|
2263
2819
|
public:
|
2820
|
+
static constexpr uint16_t MESSAGE_TYPE = 101;
|
2821
|
+
static constexpr uint16_t ESTIMATED_SIZE = 19;
|
2822
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2823
|
+
static constexpr const char *message_name() { return "date_state_response"; }
|
2824
|
+
#endif
|
2264
2825
|
uint32_t key{0};
|
2265
2826
|
bool missing_state{false};
|
2266
2827
|
uint32_t year{0};
|
@@ -2278,6 +2839,11 @@ class DateStateResponse : public ProtoMessage {
|
|
2278
2839
|
};
|
2279
2840
|
class DateCommandRequest : public ProtoMessage {
|
2280
2841
|
public:
|
2842
|
+
static constexpr uint16_t MESSAGE_TYPE = 102;
|
2843
|
+
static constexpr uint16_t ESTIMATED_SIZE = 17;
|
2844
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2845
|
+
static constexpr const char *message_name() { return "date_command_request"; }
|
2846
|
+
#endif
|
2281
2847
|
uint32_t key{0};
|
2282
2848
|
uint32_t year{0};
|
2283
2849
|
uint32_t month{0};
|
@@ -2294,6 +2860,11 @@ class DateCommandRequest : public ProtoMessage {
|
|
2294
2860
|
};
|
2295
2861
|
class ListEntitiesTimeResponse : public ProtoMessage {
|
2296
2862
|
public:
|
2863
|
+
static constexpr uint16_t MESSAGE_TYPE = 103;
|
2864
|
+
static constexpr uint16_t ESTIMATED_SIZE = 45;
|
2865
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2866
|
+
static constexpr const char *message_name() { return "list_entities_time_response"; }
|
2867
|
+
#endif
|
2297
2868
|
std::string object_id{};
|
2298
2869
|
uint32_t key{0};
|
2299
2870
|
std::string name{};
|
@@ -2314,6 +2885,11 @@ class ListEntitiesTimeResponse : public ProtoMessage {
|
|
2314
2885
|
};
|
2315
2886
|
class TimeStateResponse : public ProtoMessage {
|
2316
2887
|
public:
|
2888
|
+
static constexpr uint16_t MESSAGE_TYPE = 104;
|
2889
|
+
static constexpr uint16_t ESTIMATED_SIZE = 19;
|
2890
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2891
|
+
static constexpr const char *message_name() { return "time_state_response"; }
|
2892
|
+
#endif
|
2317
2893
|
uint32_t key{0};
|
2318
2894
|
bool missing_state{false};
|
2319
2895
|
uint32_t hour{0};
|
@@ -2331,6 +2907,11 @@ class TimeStateResponse : public ProtoMessage {
|
|
2331
2907
|
};
|
2332
2908
|
class TimeCommandRequest : public ProtoMessage {
|
2333
2909
|
public:
|
2910
|
+
static constexpr uint16_t MESSAGE_TYPE = 105;
|
2911
|
+
static constexpr uint16_t ESTIMATED_SIZE = 17;
|
2912
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2913
|
+
static constexpr const char *message_name() { return "time_command_request"; }
|
2914
|
+
#endif
|
2334
2915
|
uint32_t key{0};
|
2335
2916
|
uint32_t hour{0};
|
2336
2917
|
uint32_t minute{0};
|
@@ -2347,6 +2928,11 @@ class TimeCommandRequest : public ProtoMessage {
|
|
2347
2928
|
};
|
2348
2929
|
class ListEntitiesEventResponse : public ProtoMessage {
|
2349
2930
|
public:
|
2931
|
+
static constexpr uint16_t MESSAGE_TYPE = 107;
|
2932
|
+
static constexpr uint16_t ESTIMATED_SIZE = 72;
|
2933
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2934
|
+
static constexpr const char *message_name() { return "list_entities_event_response"; }
|
2935
|
+
#endif
|
2350
2936
|
std::string object_id{};
|
2351
2937
|
uint32_t key{0};
|
2352
2938
|
std::string name{};
|
@@ -2369,6 +2955,11 @@ class ListEntitiesEventResponse : public ProtoMessage {
|
|
2369
2955
|
};
|
2370
2956
|
class EventResponse : public ProtoMessage {
|
2371
2957
|
public:
|
2958
|
+
static constexpr uint16_t MESSAGE_TYPE = 108;
|
2959
|
+
static constexpr uint16_t ESTIMATED_SIZE = 14;
|
2960
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2961
|
+
static constexpr const char *message_name() { return "event_response"; }
|
2962
|
+
#endif
|
2372
2963
|
uint32_t key{0};
|
2373
2964
|
std::string event_type{};
|
2374
2965
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -2383,6 +2974,11 @@ class EventResponse : public ProtoMessage {
|
|
2383
2974
|
};
|
2384
2975
|
class ListEntitiesValveResponse : public ProtoMessage {
|
2385
2976
|
public:
|
2977
|
+
static constexpr uint16_t MESSAGE_TYPE = 109;
|
2978
|
+
static constexpr uint16_t ESTIMATED_SIZE = 60;
|
2979
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
2980
|
+
static constexpr const char *message_name() { return "list_entities_valve_response"; }
|
2981
|
+
#endif
|
2386
2982
|
std::string object_id{};
|
2387
2983
|
uint32_t key{0};
|
2388
2984
|
std::string name{};
|
@@ -2407,6 +3003,11 @@ class ListEntitiesValveResponse : public ProtoMessage {
|
|
2407
3003
|
};
|
2408
3004
|
class ValveStateResponse : public ProtoMessage {
|
2409
3005
|
public:
|
3006
|
+
static constexpr uint16_t MESSAGE_TYPE = 110;
|
3007
|
+
static constexpr uint16_t ESTIMATED_SIZE = 12;
|
3008
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
3009
|
+
static constexpr const char *message_name() { return "valve_state_response"; }
|
3010
|
+
#endif
|
2410
3011
|
uint32_t key{0};
|
2411
3012
|
float position{0.0f};
|
2412
3013
|
enums::ValveOperation current_operation{};
|
@@ -2422,6 +3023,11 @@ class ValveStateResponse : public ProtoMessage {
|
|
2422
3023
|
};
|
2423
3024
|
class ValveCommandRequest : public ProtoMessage {
|
2424
3025
|
public:
|
3026
|
+
static constexpr uint16_t MESSAGE_TYPE = 111;
|
3027
|
+
static constexpr uint16_t ESTIMATED_SIZE = 14;
|
3028
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
3029
|
+
static constexpr const char *message_name() { return "valve_command_request"; }
|
3030
|
+
#endif
|
2425
3031
|
uint32_t key{0};
|
2426
3032
|
bool has_position{false};
|
2427
3033
|
float position{0.0f};
|
@@ -2438,6 +3044,11 @@ class ValveCommandRequest : public ProtoMessage {
|
|
2438
3044
|
};
|
2439
3045
|
class ListEntitiesDateTimeResponse : public ProtoMessage {
|
2440
3046
|
public:
|
3047
|
+
static constexpr uint16_t MESSAGE_TYPE = 112;
|
3048
|
+
static constexpr uint16_t ESTIMATED_SIZE = 45;
|
3049
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
3050
|
+
static constexpr const char *message_name() { return "list_entities_date_time_response"; }
|
3051
|
+
#endif
|
2441
3052
|
std::string object_id{};
|
2442
3053
|
uint32_t key{0};
|
2443
3054
|
std::string name{};
|
@@ -2458,6 +3069,11 @@ class ListEntitiesDateTimeResponse : public ProtoMessage {
|
|
2458
3069
|
};
|
2459
3070
|
class DateTimeStateResponse : public ProtoMessage {
|
2460
3071
|
public:
|
3072
|
+
static constexpr uint16_t MESSAGE_TYPE = 113;
|
3073
|
+
static constexpr uint16_t ESTIMATED_SIZE = 12;
|
3074
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
3075
|
+
static constexpr const char *message_name() { return "date_time_state_response"; }
|
3076
|
+
#endif
|
2461
3077
|
uint32_t key{0};
|
2462
3078
|
bool missing_state{false};
|
2463
3079
|
uint32_t epoch_seconds{0};
|
@@ -2473,6 +3089,11 @@ class DateTimeStateResponse : public ProtoMessage {
|
|
2473
3089
|
};
|
2474
3090
|
class DateTimeCommandRequest : public ProtoMessage {
|
2475
3091
|
public:
|
3092
|
+
static constexpr uint16_t MESSAGE_TYPE = 114;
|
3093
|
+
static constexpr uint16_t ESTIMATED_SIZE = 10;
|
3094
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
3095
|
+
static constexpr const char *message_name() { return "date_time_command_request"; }
|
3096
|
+
#endif
|
2476
3097
|
uint32_t key{0};
|
2477
3098
|
uint32_t epoch_seconds{0};
|
2478
3099
|
void encode(ProtoWriteBuffer buffer) const override;
|
@@ -2486,6 +3107,11 @@ class DateTimeCommandRequest : public ProtoMessage {
|
|
2486
3107
|
};
|
2487
3108
|
class ListEntitiesUpdateResponse : public ProtoMessage {
|
2488
3109
|
public:
|
3110
|
+
static constexpr uint16_t MESSAGE_TYPE = 116;
|
3111
|
+
static constexpr uint16_t ESTIMATED_SIZE = 54;
|
3112
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
3113
|
+
static constexpr const char *message_name() { return "list_entities_update_response"; }
|
3114
|
+
#endif
|
2489
3115
|
std::string object_id{};
|
2490
3116
|
uint32_t key{0};
|
2491
3117
|
std::string name{};
|
@@ -2507,6 +3133,11 @@ class ListEntitiesUpdateResponse : public ProtoMessage {
|
|
2507
3133
|
};
|
2508
3134
|
class UpdateStateResponse : public ProtoMessage {
|
2509
3135
|
public:
|
3136
|
+
static constexpr uint16_t MESSAGE_TYPE = 117;
|
3137
|
+
static constexpr uint16_t ESTIMATED_SIZE = 61;
|
3138
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
3139
|
+
static constexpr const char *message_name() { return "update_state_response"; }
|
3140
|
+
#endif
|
2510
3141
|
uint32_t key{0};
|
2511
3142
|
bool missing_state{false};
|
2512
3143
|
bool in_progress{false};
|
@@ -2530,6 +3161,11 @@ class UpdateStateResponse : public ProtoMessage {
|
|
2530
3161
|
};
|
2531
3162
|
class UpdateCommandRequest : public ProtoMessage {
|
2532
3163
|
public:
|
3164
|
+
static constexpr uint16_t MESSAGE_TYPE = 118;
|
3165
|
+
static constexpr uint16_t ESTIMATED_SIZE = 7;
|
3166
|
+
#ifdef HAS_PROTO_MESSAGE_DUMP
|
3167
|
+
static constexpr const char *message_name() { return "update_command_request"; }
|
3168
|
+
#endif
|
2533
3169
|
uint32_t key{0};
|
2534
3170
|
enums::UpdateCommand command{};
|
2535
3171
|
void encode(ProtoWriteBuffer buffer) const override;
|