Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for EXP35U538CW #1313

Open
wants to merge 252 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
252 commits
Select commit Hold shift + click to select a range
56f275c
Merge branch 'smartHomeHub:master' into master
litinoveweedle May 14, 2024
741e7bb
fixed fan_only attributes (fan_mode, swing_mode, temperature) to be s…
litinoveweedle May 17, 2024
9360314
Merge pull request #2 from litinoveweedle/fix_fan_only_on_code
litinoveweedle May 17, 2024
7a7b94c
fix deprecation of the async_track_state_change in HA 2024.5
litinoveweedle May 17, 2024
50340ba
Merge pull request #3 from litinoveweedle/fix_async_track_state_chang…
litinoveweedle May 17, 2024
3042eb3
Update README.md
litinoveweedle May 17, 2024
eaa3634
Create release.yaml
litinoveweedle May 17, 2024
57c7069
Update manifest.json
litinoveweedle May 17, 2024
7f4d8f6
Delete .github/FUNDING.yml
litinoveweedle May 17, 2024
d089d30
Create validate.yaml
litinoveweedle May 17, 2024
e9c133a
Update codeql.yml
litinoveweedle May 17, 2024
e5c84af
added hvac_action climate attribute to report state of the device
litinoveweedle May 17, 2024
2f88412
Update hacs.json
litinoveweedle May 17, 2024
f0477e9
Merge pull request #4 from litinoveweedle/add_hvac_action
litinoveweedle May 17, 2024
1e3ebc7
fixed state property
litinoveweedle May 17, 2024
ff3b664
python code reformat
litinoveweedle May 17, 2024
8bb7b14
fixed hacs.json
litinoveweedle May 17, 2024
d83922c
fixed unused hvac_mode in set_temperature
litinoveweedle May 17, 2024
cb1771c
fixed manifest.json
litinoveweedle May 17, 2024
f8ecaf8
Merge pull request #5 from litinoveweedle/add_hvac_action
litinoveweedle May 17, 2024
59e1efc
fixed improper value of the on mode set the power switch
litinoveweedle May 17, 2024
8ad0bdf
Update release.yaml
litinoveweedle May 17, 2024
203968e
Update validate.yaml
litinoveweedle May 17, 2024
d2480bc
Update codeql.yml
litinoveweedle May 17, 2024
811187e
Update release.yaml
litinoveweedle May 17, 2024
d3cef58
Update manifest.json
litinoveweedle May 19, 2024
b469f4d
Update hacs.json
litinoveweedle May 19, 2024
677c26f
removed integration own auto updates implementation - lets use HACS i…
litinoveweedle May 19, 2024
f7c124d
reformatted
litinoveweedle May 19, 2024
f28b3ce
updated README
litinoveweedle May 19, 2024
6aef53f
reformatted all MD files
litinoveweedle May 19, 2024
c5762b3
Merge pull request #6 from litinoveweedle/remove_updater
litinoveweedle May 20, 2024
7ab711a
fixed async_track_state_change deprecation for fan entity
litinoveweedle May 20, 2024
1d969df
Merge pull request #7 from litinoveweedle/fix_async_track_state_chang…
litinoveweedle May 20, 2024
be52234
added json files validation for all entity types
litinoveweedle May 20, 2024
55dc522
docs updates
litinoveweedle May 20, 2024
ca69b91
Merge pull request #8 from litinoveweedle/fix_async_track_state_chang…
litinoveweedle May 20, 2024
30f276d
move common device json data handling into common class
litinoveweedle May 20, 2024
d47bf25
fix CQ explicit return
litinoveweedle May 20, 2024
0cc1ee0
Merge pull request #9 from litinoveweedle/fix_async_track_state_chang…
litinoveweedle May 20, 2024
15098ca
fixes for CQ checks
litinoveweedle May 22, 2024
04d7775
fix unused import for CQ checks
litinoveweedle May 22, 2024
8a92888
updates documentation
litinoveweedle May 22, 2024
4d38532
implement climate support for Fahrenheit
litinoveweedle Jun 1, 2024
7d863d6
Add support for ZHA zigbee IR remotes as controller
litinoveweedle Jun 1, 2024
c2fcf7d
use always strings for keys in data device file commands
litinoveweedle Jun 1, 2024
05d1fd5
Merge pull request #15 from litinoveweedle/support_zha_controller
litinoveweedle Jun 1, 2024
cafa970
add support for ZS06/UFO-R11 MQTT IR remote controller
litinoveweedle Jun 1, 2024
c77d38b
Update README.md
litinoveweedle Jun 1, 2024
cf681f3
fix ufor11 to be derived from MQTT controller
litinoveweedle Jun 1, 2024
da2c160
fix temperature support for fan_only hvac mode
litinoveweedle Jun 2, 2024
3e8f29c
Merge pull request #18 from litinoveweedle/fan_only_temperatures_compat
litinoveweedle Jun 2, 2024
289dfc5
updated docs
litinoveweedle Jun 2, 2024
0376a75
Merge pull request #19 from litinoveweedle/support_ufo-r11_controller
litinoveweedle Jun 2, 2024
0028acc
Merge branch 'master' into climate_fahrenheit_support
litinoveweedle Jun 2, 2024
4ac3fa1
decrease temperatureUnit missing warning to info
litinoveweedle Jun 2, 2024
9195077
changed temperatureUnit warnings
litinoveweedle Jun 3, 2024
2cc3c79
added temperatureUnit to all device files
litinoveweedle Jun 3, 2024
8a81e6c
changed fan_only single code format to the same as for "off" mode
litinoveweedle Jun 3, 2024
5d00254
Merge pull request #21 from litinoveweedle/fan_only_temperatures_compat
litinoveweedle Jun 3, 2024
46e3eb1
set entity to poll
litinoveweedle Jun 3, 2024
1ba856e
fix formatting
litinoveweedle Jun 3, 2024
e3dc83b
fix hacs info readme
litinoveweedle Jun 3, 2024
039baa1
fix md format typo
litinoveweedle Jun 3, 2024
0cb158d
Merge pull request #20 from litinoveweedle/climate_fahrenheit_support
litinoveweedle Jun 3, 2024
ca9437e
reformatted all and fixed some device code json files
litinoveweedle Jun 3, 2024
86a8f7c
Merge pull request #22 from litinoveweedle/climate_fahrenheit_support
litinoveweedle Jun 3, 2024
ded6cbb
docs update
litinoveweedle Jun 3, 2024
24b5f1a
fix power on from remote results in HA error
litinoveweedle Jun 4, 2024
435025f
fix formatting
litinoveweedle Jun 4, 2024
c9ca0a5
fix warning Replace blocking file open call with async method
rafiw Jun 6, 2024
8f3ad48
Update fan.py
gurglingtonic Jun 7, 2024
00a3365
fix format
rafiw Jun 8, 2024
a409ed8
replace old constant names by the new enum FanEntityFeature in the wh…
gurglingtonic Jun 9, 2024
78bf972
Merge pull request #25 from rafiw/fix_warning
litinoveweedle Jun 9, 2024
9c57403
Merge pull request #26 from gurglingtonic/patch-1
litinoveweedle Jun 9, 2024
9aae6e2
fix power_sensor behavior in push mode
litinoveweedle Jun 9, 2024
af3f1a9
fix deprecation of the media_player constants in HA 2024.6.0
litinoveweedle Jun 9, 2024
3546afd
fixed and refactored power sensor checks
litinoveweedle Jun 10, 2024
951faa8
fixed documentation for new power sensor configuration
litinoveweedle Jun 10, 2024
34dca07
Minor correction on fan.py
gurglingtonic Jun 10, 2024
85153db
Minor correction on climate.py
gurglingtonic Jun 10, 2024
cddcb64
Update climate.py
gurglingtonic Jun 10, 2024
df34526
Minor correction on media_player.py
gurglingtonic Jun 10, 2024
f0d16b5
Merge pull request #30 from gurglingtonic/patch-3
litinoveweedle Jun 10, 2024
b509d24
Merge pull request #29 from gurglingtonic/patch-2
litinoveweedle Jun 10, 2024
d30562f
Merge pull request #31 from gurglingtonic/patch-4
litinoveweedle Jun 10, 2024
675ae81
fix power sensors state comparison
litinoveweedle Jun 10, 2024
1664e57
rename send_command to _send_command (no functionality change)
litinoveweedle Jun 10, 2024
2133632
fix media_player _send_comand
litinoveweedle Jun 11, 2024
cd0446d
fix _send_command commands pass format
litinoveweedle Jun 11, 2024
0940b6b
change pass of empty send_command argument
litinoveweedle Jun 11, 2024
b9ebda5
initial preset mode support
litinoveweedle Jun 11, 2024
0329481
fix power sensor behavior when the state doesn't exists yet
litinoveweedle Jun 13, 2024
ea4df6a
Update 1289.json
tracedebrake Jun 14, 2024
6a97686
* Added swing modes for high/low/left-swing/right-swing/both-swing. I…
harrytheeskimo Jun 16, 2024
58b8de2
Updated combo of horizontal and vertical swing to 'both'
harrytheeskimo Jun 16, 2024
e70ca6a
fixed #35 to handle hvac action for hvac mode auto
litinoveweedle Jun 21, 2024
b083582
fix switching between modes which are not defined in every data file …
litinoveweedle Jun 22, 2024
1db7e88
merged with latest master
litinoveweedle Jun 23, 2024
8bbb917
Update issue templates
litinoveweedle Jun 23, 2024
0e3a723
Update issue templates
litinoveweedle Jun 23, 2024
55e1026
Delete .github/issue_template.md
litinoveweedle Jun 23, 2024
ba95c89
Delete .github/request_template.md
litinoveweedle Jun 23, 2024
1d9501f
add-MSZ-HR35VF
vxav Jun 26, 2024
f96d889
docs: add hacs link
tanishqmanuja Jul 1, 2024
13998bd
- add temperature command selection debug
litinoveweedle Jul 3, 2024
0e0eda7
add strict device JSON files checks
litinoveweedle Jul 4, 2024
2839f05
refactored device code checks
litinoveweedle Jul 5, 2024
d4b8338
add autogenerate device codes tables
litinoveweedle Jul 5, 2024
8d18d7e
Merge pull request #53 from litinoveweedle/code_checking
litinoveweedle Jul 5, 2024
b640700
fix formatting
litinoveweedle Jul 5, 2024
af5aa25
Merge pull request #54 from litinoveweedle/code_checking
litinoveweedle Jul 5, 2024
0ed6942
fix test path
litinoveweedle Jul 5, 2024
7c9f2a2
Merge pull request #55 from litinoveweedle/code_checking
litinoveweedle Jul 5, 2024
1bb5b2a
remove numpy dependency
litinoveweedle Jul 5, 2024
e9d70ad
Merge pull request #57 from litinoveweedle/code_checking
litinoveweedle Jul 5, 2024
4d76374
remove unnecessary test messages
litinoveweedle Jul 5, 2024
c83a50f
add PR CodeQL action
litinoveweedle Jul 5, 2024
d23018d
Merge pull request #58 from litinoveweedle/code_checking
litinoveweedle Jul 5, 2024
cb27e88
add support for temperature precision 2.0
litinoveweedle Jul 6, 2024
d515012
Merge pull request #59 from litinoveweedle/code_checking
litinoveweedle Jul 6, 2024
9a5de02
fix autodocs json path
litinoveweedle Jul 6, 2024
45953b7
:art: Reformated Python, JSON, YAML and MD files
litinoveweedle Jul 6, 2024
651bee7
Merge pull request #60 from litinoveweedle/code_checking
litinoveweedle Jul 6, 2024
c02319c
fix permissions to update docs
litinoveweedle Jul 6, 2024
e7edd00
fix invalid device files
litinoveweedle Jul 6, 2024
e23a479
Merge branch 'code_checking' of https://github.com/litinoveweedle/Sma…
litinoveweedle Jul 6, 2024
e822447
move invalid device codes
litinoveweedle Jul 6, 2024
a2085af
fix test device data when no changed files
litinoveweedle Jul 6, 2024
cf37b4d
Merge pull request #61 from litinoveweedle/code_checking
litinoveweedle Jul 6, 2024
af8bc79
renamed invalid device code files
litinoveweedle Jul 6, 2024
8871005
Merge pull request #62 from litinoveweedle/code_checking
litinoveweedle Jul 6, 2024
be39d5a
fix remove invalid codes from checks
litinoveweedle Jul 6, 2024
581654a
move device codes into dedicated auto generated docs pages
litinoveweedle Jul 6, 2024
1e8d10d
add autogenerated codes pages into gitignore
litinoveweedle Jul 6, 2024
cce1195
Merge pull request #63 from litinoveweedle/code_checking
litinoveweedle Jul 6, 2024
e938f62
fix codes json catalog path
litinoveweedle Jul 6, 2024
c8fc839
Merge pull request #64 from litinoveweedle/code_checking
litinoveweedle Jul 6, 2024
bc59c3b
Update docs - include valid device files
actions-user Jul 6, 2024
5d2f7e5
move precision_round to DeviceData
litinoveweedle Jul 6, 2024
2877ae7
Merge pull request #65 from litinoveweedle/code_checking
litinoveweedle Jul 6, 2024
deae1f7
Merge branch 'master' into preset_modes_support
litinoveweedle Jul 6, 2024
60a67da
fix temperature units conversion
litinoveweedle Jul 7, 2024
f29ca70
changed precision rounding
litinoveweedle Jul 7, 2024
cb5ca33
Merge pull request #66 from litinoveweedle/code_checking
litinoveweedle Jul 8, 2024
7b2e6e1
improved send_command logging
litinoveweedle Jul 8, 2024
4e4c0d7
minor logging improvement
litinoveweedle Jul 8, 2024
a94dd41
Merge pull request #67 from litinoveweedle/code_checking
litinoveweedle Jul 8, 2024
da7c96f
fixed some of the code files to pass new checks, other marked as invalid
litinoveweedle Jul 8, 2024
fe88aa0
fix for CQ
litinoveweedle Jul 8, 2024
15a7ba1
fixed hvac action for dry mode
litinoveweedle Jul 8, 2024
cb3985f
Merge pull request #68 from litinoveweedle/preset_modes_support
litinoveweedle Jul 8, 2024
2e529c1
Merge pull request #50 from tanishqmanuja/docs/add-hacs-link
litinoveweedle Jul 8, 2024
4cb3291
Merge pull request #37 from harrytheeskimo/MHI-DXK12ZMA-S-swing
litinoveweedle Jul 8, 2024
a3b5738
:art: Reformated Python, JSON, YAML and MD files
litinoveweedle Jul 8, 2024
604e31a
Merge pull request #69 from litinoveweedle/code_checking
litinoveweedle Jul 8, 2024
677641f
Update docs - include valid device files
actions-user Jul 8, 2024
4933637
adding 18 and 19 degree codes to 1118
omstrumpf May 11, 2024
aeb7798
Merge branch 'master' into add-MSZ-HR35VF
vxav Jul 9, 2024
e868ac1
didn't mean to delete that
vxav Jul 9, 2024
18e6e6a
add remote codes
vxav Jul 9, 2024
e0d3dfe
Merge pull request #46 from vxav/add-MSZ-HR35VF
litinoveweedle Jul 9, 2024
06ddf9f
Update docs - include valid device files
actions-user Jul 9, 2024
dc9ada9
Update codeql.yml
litinoveweedle Jul 9, 2024
12ce642
add check to detect multiple usage of the same command
litinoveweedle Jul 10, 2024
8594a85
moved 8800 invalid file
litinoveweedle Jul 10, 2024
921d6c8
Merge branch 'code_checking' of https://github.com/litinoveweedle/Sma…
litinoveweedle Jul 10, 2024
a129a94
Merge pull request #71 from litinoveweedle/code_checking
litinoveweedle Jul 10, 2024
6f6064a
Merge branch 'master' into patch-1
litinoveweedle Jul 13, 2024
d7b0585
Merge pull request #33 from tracedebrake/patch-1
litinoveweedle Jul 13, 2024
36695ea
fix 1289.json missing temperature unit
litinoveweedle Jul 13, 2024
517279e
add manual reformat action
litinoveweedle Jul 13, 2024
f4fbb79
add python to manual reformat action
litinoveweedle Jul 13, 2024
aa37ad6
add manual reformat commit to action
litinoveweedle Jul 13, 2024
1313528
update manual reformat action
litinoveweedle Jul 13, 2024
4e752c6
:art: Reformated Python, JSON and MD files
litinoveweedle Jul 13, 2024
48e25a7
Merge branch 'master' into master
litinoveweedle Jul 13, 2024
70d6469
modified github action
litinoveweedle Jul 13, 2024
b805236
exclude github templates from checks
litinoveweedle Jul 13, 2024
fd8d4a2
corect typo in the codeQL action
litinoveweedle Jul 13, 2024
db46925
correct typo in the docs path
litinoveweedle Jul 13, 2024
7ed9c19
Update docs - include valid device files
actions-user Jul 13, 2024
9d1ba34
modify PR chekout action
litinoveweedle Jul 13, 2024
aebf316
redesigned workflows
litinoveweedle Jul 13, 2024
00c221e
action workflows chnages
litinoveweedle Jul 13, 2024
5a6c0a4
Merge pull request #73 from omstrumpf/master
litinoveweedle Jul 13, 2024
f261c42
fixed reformat action
litinoveweedle Jul 13, 2024
231ca2f
:art: Reformated Python, JSON and MD files
litinoveweedle Jul 13, 2024
c006ca8
initial support for passing controller params
litinoveweedle Jul 13, 2024
7c772f2
feat: add json for atomberg fan
tanishqmanuja Jul 14, 2024
ca37259
Add files via upload
bogdanmatara Jul 16, 2024
e6360a8
added documentation
litinoveweedle Jul 16, 2024
7fe69c2
fix fan and media_player controller_params passing
litinoveweedle Jul 16, 2024
836c639
Merge pull request #78 from litinoveweedle/pass_remote_params
litinoveweedle Jul 16, 2024
0c5dddf
:art: Reformated Python, JSON and MD files
litinoveweedle Jul 16, 2024
7d8ae9a
fixed license path
litinoveweedle Jul 16, 2024
c12c703
initial commit to prevent accidentally switch device if 'on' and 'off…
litinoveweedle Jul 19, 2024
b7ffdd7
initial docs for codes syntax
litinoveweedle Jul 21, 2024
eca53d7
Merge pull request #84 from litinoveweedle/preset_modes_support
litinoveweedle Jul 21, 2024
4c24484
:art: Reformated Python, JSON and MD files
litinoveweedle Jul 21, 2024
4f89199
Added Broadlink RF codes for Kendal Titus
hplato Jul 21, 2024
1de15a7
Merge pull request #87 from litinoveweedle/dont_resend_on_off_if_same
litinoveweedle Jul 22, 2024
ab2c6fa
fix codeQL issues
litinoveweedle Jul 22, 2024
11d0695
Update lint.yml
litinoveweedle Jul 24, 2024
7a65ec5
Add support for Carrier 42P250HX
ericpignet Jul 18, 2024
4d16eae
add configuration validation schema for all controller types
litinoveweedle Jul 29, 2024
dc1607a
Merge pull request #89 from litinoveweedle/controllers_unification
litinoveweedle Jul 29, 2024
60c2e44
fix LOOKin controller url formatting
litinoveweedle Jul 29, 2024
f8e9c2d
Merge pull request #90 from litinoveweedle/controllers_unification
litinoveweedle Jul 29, 2024
310be39
:art: Reformated Python, JSON and MD files
litinoveweedle Jul 29, 2024
12b6bf4
improved climate codes documentation
litinoveweedle Aug 1, 2024
4c78785
Merge branch 'master' into preset_modes_support
litinoveweedle Aug 1, 2024
b2bf865
Merge pull request #95 from litinoveweedle/preset_modes_support
litinoveweedle Aug 1, 2024
004114c
:art: Reformated Python, JSON and MD files
litinoveweedle Aug 1, 2024
4c02235
force delay after sending any IR command
litinoveweedle Aug 2, 2024
8634105
Merge pull request #96 from litinoveweedle/delay_between_commands
litinoveweedle Aug 2, 2024
3062be6
add documentation for new controllers configuration schema
litinoveweedle Aug 2, 2024
462fa2e
Merge pull request #97 from litinoveweedle/controllers_unification
litinoveweedle Aug 2, 2024
72a6925
:art: Reformated Python, JSON and MD files
litinoveweedle Aug 2, 2024
1009cbc
fix mqtt_topic configuration option for UFOR11 controller
litinoveweedle Aug 4, 2024
b8bdc18
Merge pull request #100 from litinoveweedle/controllers_unification
litinoveweedle Aug 4, 2024
d9a0e8e
Add codes for Daikin FWT-GT on ESPHome
ripa1993 Aug 8, 2024
ef5a6f4
Add missing temperatureUnit
ripa1993 Aug 8, 2024
4b01029
fix
ripa1993 Aug 9, 2024
a2cd384
Add BroadLink codes for Insignia NS-AC06/07/08PWH1
Nathangorr Aug 11, 2024
f8b44c1
Update FanEntityFeature.TURN_OFF / TURN_ON
gurglingtonic Aug 11, 2024
f5a6383
Updated feature flags with backwards compatibility
gurglingtonic Aug 13, 2024
3610d23
Merge pull request #104 from gurglingtonic/patch-5
litinoveweedle Aug 13, 2024
b4ddad9
Merge pull request #74 from tanishqmanuja/atomberg
litinoveweedle Aug 13, 2024
f0c0577
Merge pull request #77 from bogdanmatara/master
litinoveweedle Aug 13, 2024
da3af58
:art: Reformated Python, JSON and MD files
litinoveweedle Aug 13, 2024
cfd64ce
Merge pull request #85 from hplato/Kendal_Titus
litinoveweedle Aug 13, 2024
07080e2
Merge pull request #88 from ericpignet/fork_carrier
litinoveweedle Aug 13, 2024
ad7f1e7
Merge pull request #101 from ripa1993/fork
litinoveweedle Aug 13, 2024
5abc4d2
Merge pull request #103 from Nathangorr/master
litinoveweedle Aug 13, 2024
09e432a
:art: Reformated Python, JSON and MD files
litinoveweedle Aug 13, 2024
a2966eb
Update docs - include valid device files
actions-user Aug 13, 2024
2921c00
Ensure AUTO mode matches HVAC capabilities
Nathangorr Aug 15, 2024
803ef27
Merge pull request #107 from Nathangorr/master
litinoveweedle Aug 15, 2024
0ac4500
Update CODES_SYNTAX.md
jpbaril Aug 22, 2024
0e10f2c
Merge pull request #114 from jpbaril/patch-1
litinoveweedle Aug 22, 2024
a073dcf
include custom_codes for codes testing
litinoveweedle Sep 3, 2024
425bab5
update media_player device_class documentation
litinoveweedle Sep 3, 2024
778e269
:art: Reformated Python, JSON and MD files
litinoveweedle Sep 3, 2024
3532acc
Add files via upload
BeardElk Sep 6, 2024
6464b53
Rename 1705.json to 1706.json
BeardElk Sep 7, 2024
42e7b23
Update 1706.json
BeardElk Sep 11, 2024
e048a3f
Update 1706.json
BeardElk Sep 11, 2024
b9599a7
Update 1706.json
BeardElk Sep 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

55 changes: 55 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: potential bug
assignees: litinoveweedle

---

**Disclaimer**
- Issues without a detailed, clear unambiguous description will be closed.
- Issues obviously related to not reading or not following documentation will be closed.
- Issues without debug logging will be closed.
- Issues without configuration will be closed.
- This is FOSS project, help yourself by helping others. The more invalid bugs will be opened the less time will be for the project maintenance.

**Search all existing issues**
Before you open a new issue, search through the existing issues to see if others have had the same problem. This includes not only open issues but issues already closed. If you think you issue is only related, but not same please refer to the given issue number. Confirm that you tried to search the issues including already closed ones.

**Home Assistant version**

**SmartIR version**

**SmartIR configuration**

```yaml

Add SmartIR relevant part of HA configuration.yaml formatted as a code here

```

**Describe the bug**
A clear and concise description of what the bug is. This has to be as detailed as possible.

**Expected behavior**
A clear and concise description of what you expected to happen.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. See error

**Debug log**
Enable integration debug logging, reproduce the bug and attached log. Insert log formatted as a code to keep it readable. To enable debug logging, put into your HA configuration.yaml following lines and restart HA.

```yaml
logger:
default: warning
logs:
custom_components.smartir.climate: debug
```

**Additional context**
Add any other context about the problem here.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
labels: enhancement
assignees: litinoveweedle

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
A clear and concise description of what the problem is.

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
Expand Down
48 changes: 0 additions & 48 deletions .github/issue_template.md

This file was deleted.

12 changes: 6 additions & 6 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: "CodeQL"

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
push:
branches: [ "master" ]
schedule:
- cron: "18 4 * * 6"

Expand All @@ -24,18 +24,18 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: +security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"
60 changes: 60 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: "Lint"

on:
pull_request:
branches: [ "master" ]

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
actions: read
contents: read

steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0

- name: Get changed files
id: changed-files
uses: tj-actions/[email protected]
with:
fetch_depth: "100"
files_yaml: |
codes:
- 'codes/*/*.json'
auto:
- 'docs/*_CODES.md'

- name: Prevent changes to the auto generated docs
if: steps.changed-files.outputs.auto_any_changed == 'true'
env:
ALL_CHANGED_AUTO_FILES: ${{ steps.changed-files.outputs.auto_all_changed_files }}
run: |
FILES=""
for file in ${ALL_CHANGED_AUTO_FILES}; do
echo "File "$FILE" is auto generated and should not be modified!""
done
exit 1

- name: Set up Python
if: steps.changed-files.outputs.codes_any_changed == 'true'
uses: actions/setup-python@v5
with:
python-version: "3.X"

- name: Validate device code files
if: steps.changed-files.outputs.codes_any_changed == 'true'
env:
ALL_CHANGED_DEVICE_FILES: ${{ steps.changed-files.outputs.codes_all_changed_files }}
run: |
FILES=""
for file in ${ALL_CHANGED_DEVICE_FILES}; do
FILES="$FILES $file"
done
python3 test_device_data.py $FILES
45 changes: 45 additions & 0 deletions .github/workflows/reformat.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: "Reformat"

on:
push:
branches: [ "master" ]
workflow_dispatch:

jobs:
reformat:
name: Reformat
runs-on: ubuntu-latest
permissions:
actions: read
contents: write

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Reformat Python files
uses: psf/black@stable
with:
options: ""

- name: Reformat JSON and MD files
uses: creyD/[email protected]
with:
prettier_options: --write codes/*/*.json docs/!(*_CODES).md
commit_message: ":art: Reformated Python, JSON and MD files"
commit_description: ""

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.X"

- name: Catalog device code files
run: |
python3 test_device_data.py --docs codes/*/*.json

- name: Markdown autodocs
uses: dineshsonachalam/[email protected]
with:
output_file_paths: '[./docs/CLIMATE_CODES.md, ./docs/FAN_CODES.md, ./docs/MEDIA_PLAYER_CODES.md]'
commit_message: Update docs - include valid device files
37 changes: 37 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "Publish"

on:
release:
types: [published]

defaults:
run:
working-directory: custom_components/smartir

jobs:
publish:
name: "Publish"
runs-on: ubuntu-latest
steps:
- name: "Checkout the repository"
uses: actions/checkout@v3

- name: "Update version"
run: |
current="$(jq --raw-output .version manifest.json | sed 's/\./\\./g')"
sed -i s/$current/${{ github.event.release.tag_name }}/ manifest.json

- name: "Copy codes"
working-directory: ./
run: |
mv codes custom_components/smartir/codes

- name: "Zip component"
run: |
zip smartir.zip -r ./

- name: "Upload assets"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload ${{ github.event.release.tag_name }} smartir.zip
36 changes: 36 additions & 0 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: "Validate"

on:
push:
branches:
- "main"
- "feat**"
tags-ignore:
- "**"
pull_request:
schedule:
- cron: "0 0 * * *"

jobs:
validate-hassfest:
runs-on: ubuntu-latest
name: "Hassfest"
steps:
- name: "Checkout the repository"
uses: actions/checkout@v3

- name: "Validate Hassfest"
uses: home-assistant/actions/hassfest@master

validate-hacs:
runs-on: ubuntu-latest
name: "HACS"
steps:
- name: "Checkout the repository"
uses: actions/checkout@v3

- name: "Validate HACS"
uses: hacs/action@main
with:
category: integration
ignore: brands
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
docs/*_codes.json
docs/*_CODES.md
__pycache__

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Vassilis Panos
Copyright (c) 2019 Vassilis Panos, 2024 Li Tin O've Weedle

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading