Commit Graph
71 Commits
Author SHA1 Message Date
frigussolutionsandGitHub 262f281e70 Retry NMBS setup when the iRail station list is unavailable (#176983) 2026-07-26 22:31:24 +02:00
epenetandGitHub 98ee516fde Use EntityStateAttribute enum in NMBS (#176402) 2026-07-13 17:28:41 +02:00
3cea3f6575 Flag hass.data.setdefault/get(DOMAIN) in runtime_data pylint checker (#176084)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-10 07:39:15 +02:00
Abílio CostaandGitHub 91e70bcc1a Add override decorator to components N to O (#174479) 2026-06-22 20:20:21 +02:00
cdd063083d Add entity-unique-id-redundant-domain pylint check (#173434)
Co-authored-by: Ariel Ebersberger <ariel@ebersberger.io>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-22 12:33:38 +02:00
Max MichelsandGitHub 4aa7323af2 Replace duplicate constants in nmbs with homeassistant.const imports (#171951) 2026-05-23 16:57:07 +02:00
6fa5fc77aa Add pylint checker for duplicate homeassistant.const definitions (#170848)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-19 15:10:13 +02:00
Franck NijhofGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>frenck
0ed8d24b54 Fix line length violations in components n-o (#170711)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
2026-05-14 16:48:36 -04:00
b3eb97adad Enable ruff RUF046 rule and remove unnecessary int() casts (#170514)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-13 23:50:44 +02:00
Franck NijhofandGitHub 1e8a9ded70 Refactor pylint plugins into pylint_home_assistant package (#170521) 2026-05-13 17:12:19 -04:00
epenetGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>frenck
d766aae436 Remove import annotations from components (#169536)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
2026-04-30 21:14:48 +02:00
Franck NijhofandGitHub fab59d7a13 Add pylint plugin to enforce entry.runtime_data over hass.data[DOMAIN] (#168760) 2026-04-22 15:31:58 +02:00
Norbert RittelandGitHub 406598dbfa Fix agreement mismatch and spelling of "cannot" in nmbs (#167137) 2026-04-02 14:47:42 +02:00
Joost LekkerkerkerandGitHub 0c9d97c89f Unmark integrations with a config flow as legacy (#160861) 2026-01-13 19:59:39 +01:00
Joost LekkerkerkerandGitHub 60ba1b0288 Add integration_type service to nmbs (#159844) 2025-12-28 14:59:49 +01:00
Robert ReschandGitHub 96f84b2b99 Sort homeassistant json files (#155285) 2025-10-28 10:33:10 +01:00
Simon LamonandGitHub 93b8cc38d8 Small nmbs sensor attributes refactoring (#145956)
Attributes refactoring
2025-06-02 15:13:23 +02:00
Joost LekkerkerkerandGitHub 434179ab3f Remove NMBS YAML import (#145733)
* Remove NMBS YAML import

* Remove NMBS YAML import
2025-06-02 15:10:46 +02:00
Simon LamonandGitHub 9f5d94046d Fix typing error in NMBS (#141589)
Fix typing error
2025-03-27 19:39:33 +02:00
Norbert RittelandGitHub e0cff8de84 Fix typo "an problem" in nmbs integration (#140151) 2025-03-08 22:21:24 +02:00
40099547ef Add typing/async to NMBS (#139002)
* Add typing/async to NMBS

* Fix tests

* Boolean fields

* Update homeassistant/components/nmbs/sensor.py

Co-authored-by: Jorim Tielemans <tielemans.jorim@gmail.com>

---------

Co-authored-by: Shay Levy <levyshay1@gmail.com>
Co-authored-by: Jorim Tielemans <tielemans.jorim@gmail.com>
2025-03-02 17:36:37 +01:00
Erik MontnemeryandGitHub f83c8de8d3 Update signature of platforms' async_setup_entry (#138201) 2025-02-10 21:08:03 +01:00
Simon LamonandGitHub d9deba3916 Take exclude vias in unique ids for nmbs (#136590) 2025-01-29 14:25:28 +01:00
epenetandGitHub ebda2f9994 Standardize homeassistant imports in component (n-p) (#136830) 2025-01-29 12:23:49 +01:00
Joost LekkerkerkerandGitHub 8db63adc11 Bump ruff to 0.9.1 (#135197) 2025-01-14 11:46:12 +01:00
Erik MontnemeryandGitHub d333fa320f Fix nmbs sensor unique_id (#135576) 2025-01-14 10:24:48 +01:00
Simon LamonandGitHub 8e2b284a7f Add more typings to nmbs sensor (#135359) 2025-01-11 13:04:37 +01:00
Simon LamonandGitHub fd169affd7 Remove code owner for nmbs (#135357) 2025-01-11 12:49:10 +01:00
b9259b6f77 Add config flow to NMBS (#121548)
Co-authored-by: Joostlek <joostlek@outlook.com>
2025-01-11 10:31:47 +01:00
Joost LekkerkerkerandGitHub 11f00895f7 Add legacy to integrations that have not moved to the UI (#131171) 2024-11-22 19:33:50 +01:00
Simon LamonandGitHub be68255ca4 Fix routes with transfer in nmbs integration (#120808) 2024-06-30 15:16:41 +02:00
epenetandGitHub c49fce5541 Force alias when importing sensor PLATFORM_SCHEMA (#120536) 2024-06-26 12:14:13 +02:00
Marc MuellerandGitHub 988c71ecc5 Add empty line after module docstring [n-q] (#112702) 2024-03-08 15:04:07 +01:00
PatrickGlesnerandGitHub 06e36bcff5 Fix NMBS AttributeError (#90525)
* Fix NMBS AttributeError (Issue #90505)

* Set and use API_FAILURE

* Configure the logger to track API failures

* Remove broad exceptions and rewite logging
2023-04-07 12:13:39 +02:00
PatrickGlesnerandGitHub f72bf73b03 Fix NMBS IndexError (#90365) 2023-03-28 13:19:52 +02:00
PatrickGlesnerandGitHub 56293ad876 Revert "Fix NMBS IndexError" (#90346) 2023-03-27 11:00:52 +02:00
PatrickGlesnerandGitHub cb74b934dc Fix NMBS IndexError (#89698) 2023-03-15 18:09:39 +01:00
Erik MontnemeryandGitHub 1450b44c63 Sort manifests 7 (#87028) 2023-02-08 20:32:43 +01:00
94755a5773 String formatting and max line length - Part 4 (#84445)
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2022-12-23 13:27:27 +01:00
epenetandGitHub 55a5e17cf2 Use UnitOfTime in integrations (h-s) (#84289) 2022-12-20 13:21:14 +01:00
Michaël ArnautsandGitHub 7142b4ecac Fixes some grammar mistakes (#84283) 2022-12-20 11:10:31 +01:00
epenetandGitHub 6b256bab22 Move attribution to standalone attribute [m-q] (#80518) 2022-10-18 12:49:59 +02:00
epenetandGitHub 420733a064 Improve entity type hints [n] (#77824) 2022-09-05 07:53:55 -05:00
33784446f6 Add nmbs canceled attribute (#57113)
* nmbs: Add canceled attribute

If a train is canceled, change the state to canceled and also add an attribute that can be matched.
Personnaly I look for the attribute and add a "line-through" CSS style to show my train was canceled.

I discovered this was not displayed the hard way :)

Signed-off-by: Tom Barbette <t.barbette@gmail.com>

* Update homeassistant/components/nmbs/sensor.py

canceled must be compared as an int, as suggested by @MartinHjelmare

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-26 18:04:22 +02:00
J. Nick KostonandGitHub 5b755b74fb Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
a2de95197d Add setup type hints [n] (#63462)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 16:38:37 +01:00
Erik MontnemeryandGitHub 103e21c278 Move temperature conversions to sensor base class (5/8) (#54475) 2021-08-12 13:26:17 +02:00
258b388f41 Collection of changing entity properties to class attributes (#51248)
* Collection of changing entity properties to class attributes

* Apply suggestions from code review

Co-authored-by: Erik Montnemery <erik@montnemery.com>

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-05-31 10:50:11 +02:00
MariusandGitHub 13dee0f028 Mitigate NMBS key errors (#50026)
on Liveboard and connections as documented in issue #48824
2021-05-03 17:06:46 +02:00
Franck NijhofandGitHub 055cdc64c0 Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00