mirror of
https://github.com/home-assistant/core.git
synced 2025-11-16 06:20:07 +00:00
* 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>
2.2 KiB
2.2 KiB