Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/home-assistant/core.git. Pull mirroring updated .
  1. Apr 12, 2023
    • G Johansson's avatar
      Add config flow to Brottsplatskartan (#70233) · 00847ee4
      G Johansson authored
      * Brottsplatskartan Config Flow
      
      * Fix import
      
      * Modify sensor
      
      * Mod version
      
      * Mod version 2
      
      * has_entity_name
      
      * Fix api constructor
      
      * Switch to issue for depr.
      
      * Fix docstrings
      
      * Minor cleaning
      
      * Fix argument for bpk constructor
      
      * remove translations
      
      * Fix tests
      
      * reset config
      
      * uuid to conftest
      
      * hassfest
      
      * depr version
      
      * unique id
      
      * reset not linked changes
      
      * review comments
      
      * fix area none
      
      * relevant changes
      
      * depr version
      
      * slim test
      
      * unique_id
      
      * create_entry
      
      * review comments and tests
      
      * fix init test
      
      * review comments
      00847ee4
    • Dmitry Vlasov's avatar
      a409da94
    • Matthias Alphart's avatar
      Run `socket.gethostbyname` in executor in Obihai and Sonos (#91190) · 0ba339e5
      Matthias Alphart authored
      * Run  in executor in Obihai and Sonos
      
      * fix Sonos test
      
      * fix sonos test differently (review)
      0ba339e5
    • Jan Bouwhuis's avatar
      Rename MQTT entry mock and cleanup (#91223) · bb159239
      Jan Bouwhuis authored
      Rename to mqtt_mock_entry and cleanup
      bb159239
    • G Johansson's avatar
      Use RestoreSensor in derivative (#91071) · b7cc42d1
      G Johansson authored
      RestoreSensor
      b7cc42d1
    • epenet's avatar
      Use tmp_path in tests (#91203) · e277bbb5
      epenet authored
      * Use tmp_path in tests
      
      * Use joinpath
      
      * Prefer / operator
      
      * Cleanup
      e277bbb5
    • epenet's avatar
      4e78bcb2
    • J. Nick Koston's avatar
    • Michael's avatar
      Catch ssl errors in rest (#91074) · 0916701a
      Michael authored
      * catch ssl.SSLError
      
      * add test
      
      * fail setup on ssl error
      
      * adjust tests
      0916701a
    • Erik Montnemery's avatar
      Allow UI configuration of entities exposed to voice_assistant (#91233) · 2c9e9d0f
      Erik Montnemery authored
      * Allow UI configuration of entities exposed to voice_assistant
      
      * Invalidate cache when settings change
      
      * Add tests
      
      * Expose entities to conversation by default
      
      * Update tests
      2c9e9d0f
    • J. Nick Koston's avatar
      Call sqlite pragma optimize during periodic cleanup task (#91245) · e40a373c
      J. Nick Koston authored
      https://www.sqlite.org/pragma.html#pragma_optimize
      
      > To achieve the best long-term query performance without the need to do a detailed engineering analysis of the application schema and SQL, it is recommended that applications run "PRAGMA optimize" (with no arguments) just before closing each database connection. Long-running applications might also benefit from setting a timer to run "PRAGMA optimize" every few hours.
      
      > This pragma is usually a no-op or nearly so and is very fast.
      
      Since we keep the recorder connection open for the entire time HA
      is running we fall into the long-running application bucket
      e40a373c
    • J. Nick Koston's avatar
      Avoid multiple round trips to the database for history API calls (#91193) · 4e6937d2
      J. Nick Koston authored
      * delete more code
      
      * tweak
      
      * tweak
      
      * wrappers
      
      * restore lost performance
      
      * restore lost performance
      
      * restore lost performance
      
      * compact
      
      * reduce
      
      * fix refactor
      
      * DRY
      
      * tweak
      
      * delete the start time state injector
      
      * move away the legacy code
      
      * tweak
      
      * adjust
      
      * adjust
      
      * tweak
      
      * ignore impossible
      
      * fix a bug where the first start was changed to the start time when there was no previous history recorded before
      
      * avoid the empty scan most cases
      
      * postgresql
      
      * fixes
      
      * workaround for mariadb < 10.4
      
      * remove unused
      
      * remove unused
      
      * adjust
      
      * bail early
      
      * tweak
      
      * tweak
      
      * fix more tests
      
      * fix recorderrun being init in the future in the test
      
      * run history tests on schema 30 as well
      
      * Revert "run history tests on schema 30 as well"
      
      This reverts commit d798b100ac45c7f8c4cee5d284d94beed5e3d454.
      
      * reduce
      
      * cleanup
      
      * tweak
      
      * reduce
      
      * prune
      
      * adjust
      
      * adjust
      
      * adjust
      
      * reverse later is faster because the index is in forward order and the data size we are reversing is much smaller even if we are in python code
      
      * Revert "reverse later is faster because the index is in forward order and the data size we are reversing is much smaller even if we are in python code"
      
      This reverts commit bf974e103e651a1334493a9594e08d19e51e392b.
      
      * fix test
      
      * Revert "Revert "reverse later is faster because the index is in forward order and the data size we are reversing is much smaller even if we are in python code""
      
      This reverts commit 119354499ecf7c1025ec40350e97e73d62d3fd4b.
      
      * more coverage
      
      * adjust
      
      * fix for table order
      
      * impossible for it to be missing
      
      * remove some more legacy from the all states
      4e6937d2
    • epenet's avatar
    • epenet's avatar
      524832ce
    • Michael Hansen's avatar
      Voip integration (#90945) · 78fec33b
      Michael Hansen authored
      * Media playback working
      
      * Working on OPUS audio
      
      * Before rollback
      
      * Fix is_end
      
      * First working pipeline
      
      * Clean up
      
      * Remove asserts
      
      * Send HA version in SDP
      
      * Use async_pipeline_from_audio_stream
      
      * Use config flow with allowed IP
      
      * Satisfy ruff
      
      * Remove use of regex for SIP IP
      
      * Use voip-utils
      
      * Fix imports
      
      * Add Pipeline to __all__
      
      * Fix voice assistant tests
      
      * Basic VoIP test
      
      * Run hassfest
      
      * Generate requirements
      
      * Bump voip utils (missing requirement)
      
      * Allow tts_options to be passed in to pipeline run
      
      * Add config flow tests
      
      * Update test snapshots
      
      * More tests
      
      * Remove get_extra_info
      
      * Appeasing the codebot
      78fec33b
  2. Apr 11, 2023
  3. Apr 10, 2023
Loading