mirror of
https://github.com/esphome/esphome.git
synced 2025-01-07 13:21:44 +01:00
Merge branch 'radon_eye_rd200-v2-add' of https://github.com/Dotsch2005/esphome into radon_eye_rd200-v2-add
This commit is contained in:
commit
8358235ac5
4 changed files with 22 additions and 14 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -141,7 +141,7 @@ jobs:
|
||||||
echo name=$(cat /tmp/platform) >> $GITHUB_OUTPUT
|
echo name=$(cat /tmp/platform) >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Upload digests
|
- name: Upload digests
|
||||||
uses: actions/upload-artifact@v4.4.2
|
uses: actions/upload-artifact@v4.4.3
|
||||||
with:
|
with:
|
||||||
name: digests-${{ steps.sanitize.outputs.name }}
|
name: digests-${{ steps.sanitize.outputs.name }}
|
||||||
path: /tmp/digests
|
path: /tmp/digests
|
||||||
|
|
|
@ -36,7 +36,8 @@ std::string DebugComponent::get_reset_reason_() {
|
||||||
break;
|
break;
|
||||||
#if defined(USE_ESP32_VARIANT_ESP32)
|
#if defined(USE_ESP32_VARIANT_ESP32)
|
||||||
case SW_RESET:
|
case SW_RESET:
|
||||||
#elif defined(USE_ESP32_VARIANT_ESP32C3) || defined(USE_ESP32_VARIANT_ESP32S2) || defined(USE_ESP32_VARIANT_ESP32S3)
|
#elif defined(USE_ESP32_VARIANT_ESP32C3) || defined(USE_ESP32_VARIANT_ESP32S2) || \
|
||||||
|
defined(USE_ESP32_VARIANT_ESP32S3) || defined(USE_ESP32_VARIANT_ESP32C6)
|
||||||
case RTC_SW_SYS_RESET:
|
case RTC_SW_SYS_RESET:
|
||||||
#endif
|
#endif
|
||||||
reset_reason = "Software Reset Digital Core";
|
reset_reason = "Software Reset Digital Core";
|
||||||
|
@ -72,14 +73,16 @@ std::string DebugComponent::get_reset_reason_() {
|
||||||
case TGWDT_CPU_RESET:
|
case TGWDT_CPU_RESET:
|
||||||
reset_reason = "Timer Group Reset CPU";
|
reset_reason = "Timer Group Reset CPU";
|
||||||
break;
|
break;
|
||||||
#elif defined(USE_ESP32_VARIANT_ESP32C3) || defined(USE_ESP32_VARIANT_ESP32S2) || defined(USE_ESP32_VARIANT_ESP32S3)
|
#elif defined(USE_ESP32_VARIANT_ESP32C3) || defined(USE_ESP32_VARIANT_ESP32S2) || \
|
||||||
|
defined(USE_ESP32_VARIANT_ESP32S3) || defined(USE_ESP32_VARIANT_ESP32C6)
|
||||||
case TG0WDT_CPU_RESET:
|
case TG0WDT_CPU_RESET:
|
||||||
reset_reason = "Timer Group 0 Reset CPU";
|
reset_reason = "Timer Group 0 Reset CPU";
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#if defined(USE_ESP32_VARIANT_ESP32)
|
#if defined(USE_ESP32_VARIANT_ESP32)
|
||||||
case SW_CPU_RESET:
|
case SW_CPU_RESET:
|
||||||
#elif defined(USE_ESP32_VARIANT_ESP32C3) || defined(USE_ESP32_VARIANT_ESP32S2) || defined(USE_ESP32_VARIANT_ESP32S3)
|
#elif defined(USE_ESP32_VARIANT_ESP32C3) || defined(USE_ESP32_VARIANT_ESP32S2) || \
|
||||||
|
defined(USE_ESP32_VARIANT_ESP32S3) || defined(USE_ESP32_VARIANT_ESP32C6)
|
||||||
case RTC_SW_CPU_RESET:
|
case RTC_SW_CPU_RESET:
|
||||||
#endif
|
#endif
|
||||||
reset_reason = "Software Reset CPU";
|
reset_reason = "Software Reset CPU";
|
||||||
|
@ -98,27 +101,32 @@ std::string DebugComponent::get_reset_reason_() {
|
||||||
case RTCWDT_RTC_RESET:
|
case RTCWDT_RTC_RESET:
|
||||||
reset_reason = "RTC Watch Dog Reset Digital Core And RTC Module";
|
reset_reason = "RTC Watch Dog Reset Digital Core And RTC Module";
|
||||||
break;
|
break;
|
||||||
#if defined(USE_ESP32_VARIANT_ESP32C3) || defined(USE_ESP32_VARIANT_ESP32S2) || defined(USE_ESP32_VARIANT_ESP32S3)
|
#if defined(USE_ESP32_VARIANT_ESP32C3) || defined(USE_ESP32_VARIANT_ESP32S2) || defined(USE_ESP32_VARIANT_ESP32S3) || \
|
||||||
|
defined(USE_ESP32_VARIANT_ESP32C6)
|
||||||
case TG1WDT_CPU_RESET:
|
case TG1WDT_CPU_RESET:
|
||||||
reset_reason = "Timer Group 1 Reset CPU";
|
reset_reason = "Timer Group 1 Reset CPU";
|
||||||
break;
|
break;
|
||||||
case SUPER_WDT_RESET:
|
case SUPER_WDT_RESET:
|
||||||
reset_reason = "Super Watchdog Reset Digital Core And RTC Module";
|
reset_reason = "Super Watchdog Reset Digital Core And RTC Module";
|
||||||
break;
|
break;
|
||||||
case GLITCH_RTC_RESET:
|
|
||||||
reset_reason = "Glitch Reset Digital Core And RTC Module";
|
|
||||||
break;
|
|
||||||
case EFUSE_RESET:
|
case EFUSE_RESET:
|
||||||
reset_reason = "eFuse Reset Digital Core";
|
reset_reason = "eFuse Reset Digital Core";
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#if defined(USE_ESP32_VARIANT_ESP32C3) || defined(USE_ESP32_VARIANT_ESP32S3)
|
#if defined(USE_ESP32_VARIANT_ESP32C3) || defined(USE_ESP32_VARIANT_ESP32S2) || defined(USE_ESP32_VARIANT_ESP32S3)
|
||||||
|
case GLITCH_RTC_RESET:
|
||||||
|
reset_reason = "Glitch Reset Digital Core And RTC Module";
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
|
#if defined(USE_ESP32_VARIANT_ESP32C3) || defined(USE_ESP32_VARIANT_ESP32S3) || defined(USE_ESP32_VARIANT_ESP32C6)
|
||||||
case USB_UART_CHIP_RESET:
|
case USB_UART_CHIP_RESET:
|
||||||
reset_reason = "USB UART Reset Digital Core";
|
reset_reason = "USB UART Reset Digital Core";
|
||||||
break;
|
break;
|
||||||
case USB_JTAG_CHIP_RESET:
|
case USB_JTAG_CHIP_RESET:
|
||||||
reset_reason = "USB JTAG Reset Digital Core";
|
reset_reason = "USB JTAG Reset Digital Core";
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
|
#if defined(USE_ESP32_VARIANT_ESP32C3) || defined(USE_ESP32_VARIANT_ESP32S3)
|
||||||
case POWER_GLITCH_RESET:
|
case POWER_GLITCH_RESET:
|
||||||
reset_reason = "Power Glitch Reset Digital Core And RTC Module";
|
reset_reason = "Power Glitch Reset Digital Core And RTC Module";
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -98,13 +98,13 @@ def validate_pillow_installed(value):
|
||||||
except ImportError as err:
|
except ImportError as err:
|
||||||
raise cv.Invalid(
|
raise cv.Invalid(
|
||||||
"Please install the pillow python package to use this feature. "
|
"Please install the pillow python package to use this feature. "
|
||||||
'(pip install "pillow==10.2.0")'
|
'(pip install "pillow==10.4.0")'
|
||||||
) from err
|
) from err
|
||||||
|
|
||||||
if version.parse(PIL.__version__) != version.parse("10.2.0"):
|
if version.parse(PIL.__version__) != version.parse("10.4.0"):
|
||||||
raise cv.Invalid(
|
raise cv.Invalid(
|
||||||
"Please update your pillow installation to 10.2.0. "
|
"Please update your pillow installation to 10.4.0. "
|
||||||
'(pip install "pillow==10.2.0")'
|
'(pip install "pillow==10.4.0")'
|
||||||
)
|
)
|
||||||
|
|
||||||
return value
|
return value
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
pillow==10.2.0
|
pillow==10.4.0
|
||||||
cairosvg==2.7.1
|
cairosvg==2.7.1
|
||||||
|
|
Loading…
Reference in a new issue