mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Add support for Tuya MCU 0x1C (obtain local time) (#1344)
* Fix some Tuya devices not handling commands sent without delay * Also do not report WiFi status if MCU does not support it * Support Tuya MCU 0x1c command (obtain local time) * Use #ifdef USE_TIME to handle optional dependency on RTC * Rename Tuya clock config variable to time to be consistent with the codebase * Add tuya time configuration to test4
This commit is contained in:
@@ -49,7 +49,12 @@ web_server:
|
||||
username: admin
|
||||
password: admin
|
||||
|
||||
time:
|
||||
- platform: sntp
|
||||
id: sntp_time
|
||||
|
||||
tuya:
|
||||
time_id: sntp_time
|
||||
|
||||
sensor:
|
||||
- platform: homeassistant
|
||||
|
Reference in New Issue
Block a user