Skip to content

Commit 08126c3

Browse files
ci(pre-commit): Apply automatic fixes
1 parent 6a36d24 commit 08126c3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

libraries/Zigbee/examples/Zigbee_Power_Outlet/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ Before creating a new issue, be sure to try Troubleshooting and check if the sam
5858
* Arduino-ESP32 Official Repository: [espressif/arduino-esp32](https://github.com/espressif/arduino-esp32)
5959
* ESP32-C6 Datasheet: [Link to datasheet](https://www.espressif.com/sites/default/files/documentation/esp32-c6_datasheet_en.pdf)
6060
* ESP32-H2 Datasheet: [Link to datasheet](https://www.espressif.com/sites/default/files/documentation/esp32-h2_datasheet_en.pdf)
61-
* Official ESP-IDF documentation: [ESP-IDF](https://idf.espressif.com)
61+
* Official ESP-IDF documentation: [ESP-IDF](https://idf.espressif.com)

libraries/Zigbee/src/ep/ZigbeePowerOutlet.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ ZigbeePowerOutlet::ZigbeePowerOutlet(uint8_t endpoint) : ZigbeeEP(endpoint) {
66

77
esp_zb_mains_power_outlet_cfg_t outlet_cfg = ESP_ZB_DEFAULT_MAINS_POWER_OUTLET_CONFIG();
88
_cluster_list = esp_zb_mains_power_outlet_clusters_create(&outlet_cfg);
9-
_ep_config = {.endpoint = endpoint, .app_profile_id = ESP_ZB_AF_HA_PROFILE_ID, .app_device_id = ESP_ZB_HA_MAINS_POWER_OUTLET_DEVICE_ID, .app_device_version = 0};
9+
_ep_config = {
10+
.endpoint = endpoint, .app_profile_id = ESP_ZB_AF_HA_PROFILE_ID, .app_device_id = ESP_ZB_HA_MAINS_POWER_OUTLET_DEVICE_ID, .app_device_version = 0
11+
};
1012
log_v("Outlet endpoint created %d", _endpoint);
1113
}
1214

0 commit comments

Comments
 (0)