Skip to content

Rework device_info circuit#168

Merged
kratochvil01 merged 1 commit into
mainfrom
dev-dev_info-circuit
Jun 24, 2024
Merged

Rework device_info circuit#168
kratochvil01 merged 1 commit into
mainfrom
dev-dev_info-circuit

Conversation

@kratochvil01
Copy link
Copy Markdown
Contributor

Device info circuit is linked to family, model and serial number. However, these are also device parameters and some are optional. For this reason it is not appropriate to use them for the circuit.

@kratochvil01 kratochvil01 requested a review from martytriska June 21, 2024 08:57
@kratochvil01 kratochvil01 self-assigned this Jun 21, 2024
@kratochvil01
Copy link
Copy Markdown
Contributor Author

I solved the problem so that if it is a grouped device, the circuit is created from model_name.
If it is a standalone device (where usually there is no device_info section defined in the configuration), the circuit is created from <device_name>.

It is probably not good that how the circuit is generated is determined by a condition, but at least it does not contain optional parameters.

@kratochvil01 kratochvil01 merged commit a677de6 into main Jun 24, 2024
@kratochvil01 kratochvil01 deleted the dev-dev_info-circuit branch June 24, 2024 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants