epenet
|
6ab0b2751d
|
Adjust issue_registry imports (#88878)
* Add issue_registry to RUFF extend aliases
* Adjust code accordingly
* Revert "Add issue_registry to RUFF extend aliases"
This reverts commit 4e73dd567b .
* Revert changes to common.py
|
2023-02-28 21:55:44 -05:00 |
|
HarvsG
|
9d351a3c10
|
Improve typing and code quality in beyesian (#79603)
* strict typing
* Detail implication
* adds newline
* don't change indenting
* really dont change indenting
* Update homeassistant/components/bayesian/binary_sensor.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* typing in async_setup_platform() + remove arg
* less ambiguity
* mypy thinks Literal[False] otherwise
* clearer log
* don't use `and` assignments
* observations not values
* clarify can be None
* observation can't be none
* assert we have at least one
* make it clearer where we're using UUIDs
* remove unnecessary bool
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Unnecessary None handling
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Better type setting
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Reccomended changes.
* remove if statement not needed
* Not strict until _TrackTemplateResultInfo fixed
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
|
2022-10-07 22:23:25 +02:00 |
|
HarvsG
|
dd1463da28
|
Refactor bayesian observations using dataclass (#79590)
* refactor
* remove some changes
* remove typehint
* improve codestyle
* move docstring to comment
* < 88 chars
* avoid short var names
* more readable
* fix rename
* Update homeassistant/components/bayesian/helpers.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/bayesian/binary_sensor.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update homeassistant/components/bayesian/binary_sensor.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* no intermediate
* comment why set before list
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
|
2022-10-04 17:16:39 +02:00 |
|
HarvsG
|
f645965172
|
Add repair for missing Bayesian prob_given_false (#79303)
|
2022-09-29 13:24:06 -04:00 |
|
HarvsG
|
768b83139f
|
Add to issue registry if user has mirrored entries for breaking in #67631 (#79208)
Co-authored-by: Diogo Gomes <diogogomes@gmail.com>
|
2022-09-28 21:39:15 -04:00 |
|