core icon indicating copy to clipboard operation
core copied to clipboard

ISS - Warning

Open philipp-frank opened this issue 1 year ago • 5 comments

The problem

In 2024.4.0b8 the ISS-Integration gives the following warnings during startup:

Logger: py.warnings
Quelle: components/iss/__init__.py:9
Erstmals aufgetreten: 16:07:25 (4 Vorkommnisse)
Zuletzt protokolliert: 16:07:25

/usr/local/lib/python3.12/site-packages/pyiss/__init__.py:28: SyntaxWarning: "is" with 'int' literal. Did you mean "=="? if data.status_code is 200:
/usr/local/lib/python3.12/site-packages/pyiss/__init__.py:42: SyntaxWarning: "is" with 'int' literal. Did you mean "=="? if data.status_code is 200:
/usr/local/lib/python3.12/site-packages/pyiss/__init__.py:90: SyntaxWarning: "is" with 'int' literal. Did you mean "=="? if data.status_code is 200:
/usr/local/lib/python3.12/site-packages/pyiss/__init__.py:143: SyntaxWarning: "is" with 'int' literal. Did you mean "=="? return len(test) is 1

What version of Home Assistant Core has the issue?

core-2024.4.0b8

What was the last working version of Home Assistant Core?

core-2024.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ISS

Link to integration documentation on our website

https://www.home-assistant.io/integrations/iss/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

philipp-frank avatar Apr 03 '24 14:04 philipp-frank

Hey there @durgnomis-drol, mind taking a look at this issue as it has been labeled with an integration (iss) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of iss can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign iss Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


iss documentation iss source (message by IssueLinks)

home-assistant[bot] avatar Apr 03 '24 14:04 home-assistant[bot]

this has already been reported to the upstream lib https://github.com/HydrelioxGitHub/pyiss/issues/6 a year ago

mib1185 avatar Apr 03 '24 16:04 mib1185

this has already been reported to the upstream lib HydrelioxGitHub/pyiss#6 a year ago

It does not seem to have had any activity since Dec. 19, 2016 and likely won't see any more

Sythsaz avatar May 26 '24 07:05 Sythsaz

It looks like there is an open PR that could address this.

mwaterbu avatar Jul 10 '24 17:07 mwaterbu

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version 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.