Skip to content

Comments

Smartir class#190

Merged
litinoveweedle merged 3 commits intomasterfrom
smartir_class
Jan 17, 2025
Merged

Smartir class#190
litinoveweedle merged 3 commits intomasterfrom
smartir_class

Conversation

@litinoveweedle
Copy link
Owner

This is long overdue code refactoring. It reflects native HA integrations components structure, providing new SmartIR class and helpers and entity functions in the corresponding files. This allowed to limit code duplication, which shall simplify future code maintenance.

Comment on lines +8 to +14
from homeassistant.const import (
CONF_NAME,
STATE_ON,
STATE_OFF,
STATE_UNKNOWN,
STATE_UNAVAILABLE,
)

Check notice

Code scanning / CodeQL

Unused import Note

Import of 'STATE_UNKNOWN' is not used.
Import of 'STATE_UNAVAILABLE' is not used.
@litinoveweedle litinoveweedle merged commit 8db57fd into master Jan 17, 2025
5 checks passed
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.

1 participant