esphome / esphome/feature-requests

Templatable can_id

Open
#2,867 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem you have/What new integration you would like**

the `can_id` field in CANBUS integration can not be tamplete for lambda or edited in runtime*
please make it templatable or some other way to be able to change it in runtime.

*except when you call `id(your_canbus_id).set_can_id(id(binary_sensor_map_sensor).state)` somewhere in lambda and change it that way
... or just document this "function" for future use as it compiles and works without errors.

**Please describe your use case for this integration and alternatives you've tried:**

one firmware for almost 50 standalone devices, all on same CANBUS, ID of the device is setup via DIP switches and binary sensor map integration. They communicate with IDs next to itself to make chain reactions.

**Additional context**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.