8000
Skip to content

Try fix canbus config validation - #3173

Merged
jesserockz merged 3 commits into
devfrom
jesserockz-2022-068
Feb 8, 2022
Merged

Try fix canbus config validation#3173
jesserockz merged 3 commits into
devfrom
jesserockz-2022-068

Conversation

@jesserockz
Copy link
Copy Markdown
Member

What does this implement/fix?

After seeing esphome/issues#3025 I took a quick look at the canbus code and it looked very broken with duplicate config code and validations in codegen functions.

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Other

Related issue or feature (if applicable): fixes esphome/issues#3025

Pull request in esphome-docs with documentation (if applicable): esphome/esphome-docs#

Test Environment

  • ESP32
  • ESP32 IDF
  • ESP8266

Example entry for config.yaml:

# Example config.yaml

Checklist:

  • The code change is tested and works locally.
  • Tests have been added to verify that the new code works (under tests/ folder).

If user exposed functionality or configuration variables are added/changed:

@probot-esphome
probot-esphome Bot commented Feb 8, 2022
Copy link
Copy Markdown

Hey there @danielschramm, @mvturnho, mind taking a look at this pull request as it has been labeled with an integration (canbus) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)

@jesserockz
jesserockz merged commit f43e04e into dev Feb 8, 2022
@jesserockz
jesserockz deleted the jesserockz-2022-068 branch February 8, 2022 22:42
jesserockz added a commit that referenced this pull request Feb 8, 2022
@jesserockz jesserockz mentioned this pull request Feb 8, 2022
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CAN Bus Component doesn't work with ESP32

1 participant

0