You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set explicit dpt numbers for all DPT transcoder definitions and eliminate the need for DPTBase.has_distinct_dpt_numbers() (and possibly has_distinct_value_type())
DPTs to refactor to achieve this:
DPT 3 (all)
10 - Date
11 - Time
19 - DateTime
Further set up a unittest to avoid new DPT definitions to break this behaviour - eg. don't have explicit dpt_sub_number set (dpt_main_number may be inherited) and to not have base classes in the lookup tree.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please make sure to update to the latest version of xknx (or Home Assistant) and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Set explicit dpt numbers for all DPT transcoder definitions and eliminate the need for
DPTBase.has_distinct_dpt_numbers()
(and possiblyhas_distinct_value_type()
)DPTs to refactor to achieve this:
Further set up a unittest to avoid new DPT definitions to break this behaviour - eg. don't have explicit
dpt_sub_number
set (dpt_main_number
may be inherited) and to not have base classes in the lookup tree.The text was updated successfully, but these errors were encountered: