Skip to content

platform: epaper_spi / model: JD79660 - compiling error #884

@Officer-on-duty

Description

@Officer-on-duty

Version

2026.3.0

What type of installation are you using?

Home Assistant Add-on

Browser

Firefox

What happened?

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
... sys.exit(main())
... return POST_CONFIG_ACTIONS[args.command](args, config)
... exit_code = write_cpp(config, native_idf=native_idf)
... init_sequence = flatten_sequence(init_sequence)
... for x in sequence

TypeError: 'NoneType' object is not iterable

How to reproduce

1.) Minimal Yaml:
esphome:
name: test

esp32:
board: esp32-s3-devkitc-1
framework:
type: arduino

spi:
id: spi_bus
clk_pin: GPIO5
mosi_pin: GPIO4

display:

  • platform: epaper_spi
    model: JD79660
    dimensions:
    width: 800
    height: 480
    cs_pin: GPIO10
    dc_pin: GPIO09
    reset_pin: GPIO01
    busy_pin:
    number: GPIO03
    inverted: True
    update_interval: never

2.) Valid but compiling error
3.) Debugging with copilot, Gemini and ChatGPT, (GPIOS, framework, display settings, borads...., syntax) - no success
4.) Testet with standallone 2025.12 - no success

Expected behavior

compailing without errors

Relevant log output

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
...     sys.exit(main())
...    return POST_CONFIG_ACTIONS[args.command](args, config)
...     exit_code = write_cpp(config, native_idf=native_idf)
...    init_sequence = flatten_sequence(init_sequence)
...    for x in sequence

TypeError: 'NoneType' object is not iterable

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions