Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
dfec438
Agrego nuevo widget para control de climatizacion, tomé de referencia…
patoGarces Jun 26, 2026
681da29
Creo Dao, entity y actualizo la versión de Room a v53
patoGarces Jun 26, 2026
7187945
Refresh funcionando
patoGarces Jun 27, 2026
e82188d
Actions de climate funcionando!
patoGarces Jun 27, 2026
6326432
Agrego nuevos objetos a la entity de room para tener en todo momento …
patoGarces Jun 28, 2026
5d92103
Agrego el objeto fan_modes dentro de la persistencia de room
patoGarces Jun 29, 2026
51779d5
Agrego seleccion de hvac modes
patoGarces Jun 29, 2026
53b70d2
Agrego iconos para poder seleccionar el hvac mode
patoGarces Jun 29, 2026
7c696e9
Agrego enum para los hvac modes
patoGarces Jul 3, 2026
1c110f7
Actualizo la preview del widget
patoGarces Jul 3, 2026
5397689
Hago más resiliente el tipo de datos que se reciben del climate, pued…
patoGarces Aug 6, 2026
fa20f72
Merge branch 'main' into ft/climate_widget_compose_rebase_main
patoGarces Aug 12, 2026
78a654a
Fix fetch from main
patoGarces Aug 12, 2026
29a7ff7
Actualizo el flow de update del ClimateEntity con los cambios de remoto
patoGarces Aug 16, 2026
7ba0e80
Arreglo test
patoGarces Aug 16, 2026
05002a7
Fix issues found by Copilot review
patoGarces Aug 18, 2026
7333792
Merge branch 'main' into ft/climate_widget_compose
patoGarces Aug 18, 2026
bf624b1
Fix ktlint issues
patoGarces Aug 18, 2026
288ef0f
Merge branch 'main' into ft/climate_widget_compose
patoGarces Aug 20, 2026
ac33c27
Fix ktlint issues WIP
patoGarces Aug 20, 2026
64fe353
Fix duplicate ColorProvider import
patoGarces Aug 20, 2026
37b58f7
Delete @RequiresApi(Build.VERSION_CODES.O)
patoGarces Aug 20, 2026
87ed8b3
Fix database schema formatting
patoGarces Aug 20, 2026
a2142cc
Move widget example PNG to nodpi folder
patoGarces Aug 20, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,17 @@
android:resource="@xml/todo_widget_info" />
</receiver>

<receiver android:name=".widgets.climate.ClimateWidget" android:label="@string/widget_climate_label"
android:exported="false">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>

<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/climate_widget_info" />
</receiver>

<receiver android:name=".widgets.mediaplayer.MediaPlayerControlsWidget" android:label="@string/widget_media_player_description"
android:exported="false">
<intent-filter>
Expand Down Expand Up @@ -305,6 +316,13 @@
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
</activity>
<activity android:name=".widgets.climate.ClimateWidgetConfigureActivity"
android:configChanges="orientation|screenSize"
android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
</activity>
<activity android:name=".widgets.mediaplayer.MediaPlayerControlsWidgetConfigureActivity"
android:configChanges="orientation|screenSize"
android:exported="true">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import io.homeassistant.companion.android.util.threadPolicyIgnoredViolationRules
import io.homeassistant.companion.android.util.vmPolicyIgnoredViolationRules
import io.homeassistant.companion.android.websocket.WebsocketBroadcastReceiver
import io.homeassistant.companion.android.widgets.button.ButtonWidget
import io.homeassistant.companion.android.widgets.climate.ClimateWidget
import io.homeassistant.companion.android.widgets.entity.EntityWidget
import io.homeassistant.companion.android.widgets.mediaplayer.MediaPlayerControlsWidget
import io.homeassistant.companion.android.widgets.template.TemplateWidget
Expand Down Expand Up @@ -355,6 +356,8 @@ open class HomeAssistantApplication : Application() {
val templateWidget = TemplateWidget()
TodoWidget().registerReceiver(this)

ClimateWidget().registerReceiver(this)

val screenIntentFilter = IntentFilter()
screenIntentFilter.addAction(Intent.ACTION_SCREEN_ON)
screenIntentFilter.addAction(Intent.ACTION_SCREEN_OFF)
Expand Down
Loading
Loading